Some whitespace cleanup.
This commit is contained in:
parent
a161d61e18
commit
a7dc1c1b01
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: elink3var.h,v 1.28 2001/03/22 16:54:46 jdolecek Exp $ */
|
||||
/* $NetBSD: elink3var.h,v 1.29 2001/07/23 17:08:18 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Herb Peyerl <hpeyerl@beer.org>
|
||||
@ -61,44 +61,44 @@ struct ep_softc {
|
||||
/* w/o underrun */
|
||||
|
||||
u_int ep_flags; /* capabilities flag (from EELINKROM) */
|
||||
#define ELINK_FLAGS_PNP 0x00001
|
||||
#define ELINK_FLAGS_FULLDUPLEX 0x00002
|
||||
#define ELINK_FLAGS_LARGELINKKT 0x00004 /* 4k packet support */
|
||||
#define ELINK_FLAGS_SLAVEDMA 0x00008
|
||||
#define ELINK_FLAGS_SECONDDMA 0x00010
|
||||
#define ELINK_FLAGS_FULLDMA 0x00020
|
||||
#define ELINK_FLAGS_FRAGMENTDMA 0x00040
|
||||
#define ELINK_FLAGS_CRC_PASSTHRU 0x00080
|
||||
#define ELINK_FLAGS_TXDONE 0x00100
|
||||
#define ELINK_FLAGS_NO_TXLENGTH 0x00200
|
||||
#define ELINK_FLAGS_RXRELINKEAT 0x00400
|
||||
#define ELINK_FLAGS_SNOOPING 0x00800
|
||||
#define ELINK_FLAGS_100MBIT 0x01000
|
||||
#define ELINK_FLAGS_POWERMGMT 0x02000
|
||||
#define ELINK_FLAGS_PNP 0x00001
|
||||
#define ELINK_FLAGS_FULLDUPLEX 0x00002
|
||||
#define ELINK_FLAGS_LARGELINKKT 0x00004 /* 4k packet support */
|
||||
#define ELINK_FLAGS_SLAVEDMA 0x00008
|
||||
#define ELINK_FLAGS_SECONDDMA 0x00010
|
||||
#define ELINK_FLAGS_FULLDMA 0x00020
|
||||
#define ELINK_FLAGS_FRAGMENTDMA 0x00040
|
||||
#define ELINK_FLAGS_CRC_PASSTHRU 0x00080
|
||||
#define ELINK_FLAGS_TXDONE 0x00100
|
||||
#define ELINK_FLAGS_NO_TXLENGTH 0x00200
|
||||
#define ELINK_FLAGS_RXRELINKEAT 0x00400
|
||||
#define ELINK_FLAGS_SNOOPING 0x00800
|
||||
#define ELINK_FLAGS_100MBIT 0x01000
|
||||
#define ELINK_FLAGS_POWERMGMT 0x02000
|
||||
#define ELINK_FLAGS_MII 0x04000
|
||||
#define ELINK_FLAGS_USEFIFOBUFFER 0x08000 /* RoadRunner only */
|
||||
#define ELINK_FLAGS_USESHAREDMEM 0x10000 /* RoadRunner only */
|
||||
#define ELINK_FLAGS_USEFIFOBUFFER 0x08000 /* RoadRunner only */
|
||||
#define ELINK_FLAGS_USESHAREDMEM 0x10000 /* RoadRunner only */
|
||||
#define ELINK_FLAGS_FORCENOWAIT 0x20000 /* RoadRunner only */
|
||||
#define ELINK_FLAGS_ATTACHED 0x40000 /* attach has succeeded */
|
||||
#define ELINK_FLAGS_ATTACHED 0x40000 /* attach has succeeded */
|
||||
|
||||
u_short ep_chipset; /* Chipset family on this board */
|
||||
#define ELINK_CHIPSET_3C509 0x00 /* PIO: 3c509, 3c589 */
|
||||
#define ELINK_CHIPSET_VORTEX 0x01 /* 100mbit, single-pkt dma */
|
||||
#define ELINK_CHIPSET_BOOMERANG 0x02 /* Saner dma plus PIO */
|
||||
#define ELINK_CHIPSET_ROADRUNNER 0x03 /* like Boomerang, but for
|
||||
#define ELINK_CHIPSET_3C509 0x00 /* PIO: 3c509, 3c589 */
|
||||
#define ELINK_CHIPSET_VORTEX 0x01 /* 100mbit, single-pkt dma */
|
||||
#define ELINK_CHIPSET_BOOMERANG 0x02 /* Saner dma plus PIO */
|
||||
#define ELINK_CHIPSET_ROADRUNNER 0x03 /* like Boomerang, but for
|
||||
PCMCIA; has shared memory
|
||||
plus FIFO buffer */
|
||||
#define ELINK_CHIPSET_CORKSCREW 0x04 /* like Boomerang, but DMA
|
||||
hacked to work w/ ISA */
|
||||
|
||||
u_char bustype; /* parent bus type */
|
||||
#define ELINK_BUS_ISA 0x0
|
||||
#define ELINK_BUS_PCMCIA 0x1
|
||||
#define ELINK_BUS_ISA 0x0
|
||||
#define ELINK_BUS_PCMCIA 0x1
|
||||
#define ELINK_BUS_EISA 0x2
|
||||
#define ELINK_BUS_PCI 0x3
|
||||
#define ELINK_BUS_MCA 0x6
|
||||
#define ELINK_BUS_PCI 0x3
|
||||
#define ELINK_BUS_MCA 0x6
|
||||
|
||||
#define ELINK_IS_BUS_32(a) ((a) & 0x2)
|
||||
#define ELINK_IS_BUS_32(a) ((a) & 0x2)
|
||||
int ep_pktlenshift; /* scale factor for pkt lengths */
|
||||
|
||||
#if NRND > 0
|
||||
|
Loading…
Reference in New Issue
Block a user