Commit | Line | Data |
---|---|---|
af5295ff KM |
1 | /* |
2 | * Copyright (c) 1992 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * Sony Corp. and Kazumasa Utashiro of Software Research Associates, Inc. | |
7 | * | |
8 | * %sccs.include.redist.c% | |
9 | * | |
10 | * from: $Hdr: if_enreg.h,v 4.300 91/06/09 06:25:57 root Rel41 $ SONY | |
11 | * | |
12 | * @(#)if_enreg.h 7.1 (Berkeley) %G% | |
13 | */ | |
14 | ||
15 | /* | |
16 | * if_enreg.h for news800, news900 | |
17 | */ | |
18 | ||
19 | #ifndef __IF_ENREG__ | |
20 | #define __IF_ENREG__ 1 | |
21 | ||
22 | /* command definitions */ | |
23 | #define ENC_ADDR 0x00 /* Get Ethernet address */ | |
24 | #define ENC_DIAG 0x01 /* Run On-board Diagnostics */ | |
25 | #define ENC_START 0x02 /* Go Online */ | |
26 | #define ENC_RESET 0x03 /* Reset */ | |
27 | #define ENC_STAT 0x04 /* Report and Reset Statistics */ | |
28 | #define ENC_XMIT 0x05 /* Load Transmit Data and Send */ | |
29 | #define ENC_RECV 0x06 /* Receive Data */ | |
30 | #define ENC_PROM 0x07 /* Set prom mode */ | |
31 | #define ENC_SADDR 0x08 /* Set Ethernet address */ | |
32 | #define ENC_NEWIF 0x09 /* Switch driver interface */ | |
33 | ||
34 | #endif /* !__IF_ENREG__ */ |