Deleted Added
full compact
if_stgereg.h (169158) if_stgereg.h (175315)
1/* $NetBSD: if_stgereg.h,v 1.3 2003/02/10 21:10:07 christos Exp $ */
2
3/*-
4 * Copyright (c) 2001 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jason R. Thorpe.

--- 22 unchanged lines hidden (view full) ---

31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 * POSSIBILITY OF SUCH DAMAGE.
37 */
38
1/* $NetBSD: if_stgereg.h,v 1.3 2003/02/10 21:10:07 christos Exp $ */
2
3/*-
4 * Copyright (c) 2001 The NetBSD Foundation, Inc.
5 * All rights reserved.
6 *
7 * This code is derived from software contributed to The NetBSD Foundation
8 * by Jason R. Thorpe.

--- 22 unchanged lines hidden (view full) ---

31 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 * POSSIBILITY OF SUCH DAMAGE.
37 */
38
39/* $FreeBSD: head/sys/dev/stge/if_stgereg.h 169158 2007-05-01 03:35:48Z yongari $ */
39/* $FreeBSD: head/sys/dev/stge/if_stgereg.h 175315 2008-01-14 07:16:48Z yongari $ */
40
41/*
42 * Sundance Technology PCI vendor ID
43 */
44#define VENDOR_SUNDANCETI 0x13f0
45
46/*
47 * Tamarack Microelectronics PCI vendor ID

--- 261 unchanged lines hidden (view full) ---

309#define EC_OP_ER 3
310#define EC_EepromBusy (1U << 15)
311
312#define STGE_ExpRomAddr 0x4c
313
314#define STGE_ExpRomData 0x50 /* 8-bit */
315
316#define STGE_WakeEvent 0x51 /* 8-bit */
40
41/*
42 * Sundance Technology PCI vendor ID
43 */
44#define VENDOR_SUNDANCETI 0x13f0
45
46/*
47 * Tamarack Microelectronics PCI vendor ID

--- 261 unchanged lines hidden (view full) ---

309#define EC_OP_ER 3
310#define EC_EepromBusy (1U << 15)
311
312#define STGE_ExpRomAddr 0x4c
313
314#define STGE_ExpRomData 0x50 /* 8-bit */
315
316#define STGE_WakeEvent 0x51 /* 8-bit */
317#define WE_WakePktEnable (1U << 0)
318#define WE_MagicPktEnable (1U << 1)
319#define WE_LinkEventEnable (1U << 2)
320#define WE_WakePolarity (1U << 3)
321#define WE_WakePktEvent (1U << 4)
322#define WE_MagicPktEvent (1U << 5)
323#define WE_LinkEvent (1U << 6)
324#define WE_WakeOnLanEnable (1U << 7)
317
318#define STGE_Countdown 0x54
319#define CD_Count(x) ((x) & 0xffff)
320#define CD_CountdownSpeed (1U << 24)
321#define CD_CountdownMode (1U << 25)
322#define CD_CountdownIntEnabled (1U << 26)
323
324#define STGE_IntStatusAck 0x5a /* 16-bit */

--- 375 unchanged lines hidden ---
325
326#define STGE_Countdown 0x54
327#define CD_Count(x) ((x) & 0xffff)
328#define CD_CountdownSpeed (1U << 24)
329#define CD_CountdownMode (1U << 25)
330#define CD_CountdownIntEnabled (1U << 26)
331
332#define STGE_IntStatusAck 0x5a /* 16-bit */

--- 375 unchanged lines hidden ---