xref: /csrg-svn/sys/news3400/if/if_enreg.h (revision 63305)
153897Smckusick /*
2*63305Sbostic  * Copyright (c) 1992, 1993
3*63305Sbostic  *	The Regents of the University of California.  All rights reserved.
453897Smckusick  *
553897Smckusick  * This code is derived from software contributed to Berkeley by
653897Smckusick  * Sony Corp. and Kazumasa Utashiro of Software Research Associates, Inc.
753897Smckusick  *
853897Smckusick  * %sccs.include.redist.c%
953897Smckusick  *
1053897Smckusick  * from: $Hdr: if_enreg.h,v 4.300 91/06/09 06:25:57 root Rel41 $ SONY
1153897Smckusick  *
12*63305Sbostic  *	@(#)if_enreg.h	8.1 (Berkeley) 06/11/93
1353897Smckusick  */
1453897Smckusick 
1553897Smckusick /*
1653897Smckusick  * if_enreg.h for news800, news900
1753897Smckusick  */
1853897Smckusick 
1953897Smckusick #ifndef __IF_ENREG__
2053897Smckusick #define __IF_ENREG__ 1
2153897Smckusick 
2253897Smckusick /* command definitions */
2353897Smckusick #define	ENC_ADDR	0x00		/* Get Ethernet address */
2453897Smckusick #define	ENC_DIAG	0x01		/* Run On-board Diagnostics */
2553897Smckusick #define	ENC_START	0x02		/* Go Online */
2653897Smckusick #define	ENC_RESET	0x03		/* Reset */
2753897Smckusick #define	ENC_STAT	0x04		/* Report and Reset Statistics */
2853897Smckusick #define	ENC_XMIT	0x05		/* Load Transmit Data and Send */
2953897Smckusick #define	ENC_RECV	0x06		/* Receive Data */
3053897Smckusick #define	ENC_PROM	0x07		/* Set prom mode */
3153897Smckusick #define	ENC_SADDR	0x08		/* Set Ethernet address */
3253897Smckusick #define	ENC_NEWIF	0x09		/* Switch driver interface */
3353897Smckusick 
3453897Smckusick #endif /* !__IF_ENREG__ */
35