1250386Sadrian/*-
2250386Sadrian * Copyright (c) 2013 Luiz Otavio O Souza.
3250386Sadrian * Copyright (c) 2011-2012 Stefan Bethke.
4250386Sadrian * Copyright (c) 2012 Adrian Chadd.
5250386Sadrian * Copyright (C) 2008 Patrick Horn.
6250386Sadrian * Copyright (C) 2008, 2010 Martin Mares.
7250386Sadrian * All rights reserved.
8250386Sadrian *
9250386Sadrian * Redistribution and use in source and binary forms, with or without
10250386Sadrian * modification, are permitted provided that the following conditions
11250386Sadrian * are met:
12250386Sadrian * 1. Redistributions of source code must retain the above copyright
13250386Sadrian *    notice, this list of conditions and the following disclaimer.
14250386Sadrian * 2. Redistributions in binary form must reproduce the above copyright
15250386Sadrian *    notice, this list of conditions and the following disclaimer in the
16250386Sadrian *    documentation and/or other materials provided with the distribution.
17250386Sadrian *
18250386Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
19250386Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20250386Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21250386Sadrian * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
22250386Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23250386Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24250386Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25250386Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26250386Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27250386Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28250386Sadrian * SUCH DAMAGE.
29250386Sadrian *
30250386Sadrian * $FreeBSD$
31250386Sadrian */
32250386Sadrian
33250386Sadrian#ifndef	__IP175D_H__
34250386Sadrian#define	__IP175D_H__
35250386Sadrian
36250386Sadrian#define	IP175D_ID_PHY		20
37250386Sadrian#define	IP175D_ID_REG		0
38250386Sadrian#define	IP175D_RESET_PHY	20
39250386Sadrian#define	IP175D_RESET_REG	2
40250386Sadrian
41250386Sadrianvoid ip175d_attach(struct ip17x_softc *sc);
42250386Sadrian
43250386Sadrian#endif	/* __IP175D_H__ */
44