| Commit | Line | Data |
|---|---|---|
| 984263bc MD |
1 | /* |
| 2 | * $FreeBSD: src/sys/dev/ie/if_iereg.h,v 1.4 1999/08/28 00:44:47 peter Exp $ | |
| 1de703da | 3 | * $DragonFly: src/sys/dev/netif/ie/if_iereg.h,v 1.2 2003/06/17 04:28:27 dillon Exp $ |
| 984263bc MD |
4 | * definitions for AT&T StarLAN 10 etc... |
| 5 | */ | |
| 6 | ||
| 7 | #define IEATT_RESET 0 /* any write here resets the 586 */ | |
| 8 | #define IEATT_ATTN 1 /* any write here sends a Chan attn */ | |
| 9 | #define IEATT_REVISION 6 /* read here to figure out this board */ | |
| 10 | #define IEATT_ATTRIB 7 /* more information about this board */ | |
| 11 | ||
| 12 | #define SL_BOARD(x) ((x) & 0x0f) | |
| 13 | #define SL_REV(x) ((x) >> 4) | |
| 14 | ||
| 15 | #define SL1_BOARD 0 | |
| 16 | #define SL10_BOARD 1 | |
| 17 | #define EN100_BOARD 2 | |
| 18 | #define SLFIBER_BOARD 3 | |
| 19 | ||
| 20 | #define SL_ATTR_WIDTH 0x04 /* bus width: clear -> 8-bit */ | |
| 21 | #define SL_ATTR_SPEED 0x08 /* medium speed: clear -> 10 Mbps */ | |
| 22 | #define SL_ATTR_CODING 0x10 /* encoding: clear -> Manchester */ | |
| 23 | #define SL_ATTR_HBW 0x20 /* host bus width: clear -> 16-bit */ | |
| 24 | #define SL_ATTR_TYPE 0x40 /* medium type: clear -> Ethernet */ | |
| 25 | #define SL_ATTR_BOOTROM 0x80 /* set -> boot ROM present */ |