[BACK]Return to am79c950reg.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / macppc / dev

File: [cvs.NetBSD.org] / src / sys / arch / macppc / dev / am79c950reg.h (download)

Revision 1.1, Fri May 15 10:15:47 1998 UTC (25 years, 10 months ago) by tsubai
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-lazymbuf, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej_scsipi, thorpej-vnode-attr-base, thorpej-vnode-attr, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pre-chs-ubcperf, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, post-chs-ubcperf, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, peter-altq-base, peter-altq, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, newlock-base, newlock, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, nathanw_sa_end, nathanw_sa_before_merge, nathanw_sa_base, nathanw_sa, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, minoura-xpg4dl-base, minoura-xpg4dl, matt-premerge-20091211, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, localcount-20160914, ktrace-lwp-base, ktrace-lwp, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, khorben-n900, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, kenh-if-detach-base, kenh-if-detach, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-pm-base, jmcneill-pm, jmcneill-base, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ifpoll-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, gdamore-uart-base, gdamore-uart, fvdl_fs64_base, fvdl-softdep-base, fvdl-softdep, elad-kernelauth-base, elad-kernelauth, eeh-paddr_t-base, eeh-paddr_t, eeh-devprop-base, eeh-devprop, cube-autoconf-base, cube-autoconf, comdex-fall-1999-base, comdex-fall-1999, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc, cherry-xenmp-base, cherry-xenmp, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, bouyer-sunxi-drm-base, bouyer-sunxi-drm, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-socklock-base1, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4

Initial import of macppc port.

/*	$NetBSD: am79c950reg.h,v 1.1 1998/05/15 10:15:47 tsubai Exp $	*/

/*-
 * Copyright (c) 1997 David Huang <khym@bga.com>
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. The name of the author may not be used to endorse or promote products
 *    derived from this software without specific prior written permission
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */

/*
 * AMD MACE (Am79C940) register definitions
 */
#define	MACE_RCVFIFO	0   /* Receive FIFO [15-00] (read only) */
#define	MACE_XMTFIFO	1   /* Transmit FIFO [15-00] (write only) */
#define	MACE_XMTFC	2   /* Transmit Frame Control (read/write) */
#define	MACE_XMTFS	3   /* Transmit Frame Status (read only) */
#define	MACE_XMTRC	4   /* Transmit Retry Count (read only) */
#define	MACE_RCVFC	5   /* Receive Frame Control (read/write) */
#define	MACE_RCVFS	6   /* Receive Frame Status (4 bytes) (read only) */
#define	MACE_FIFOFC	7   /* FIFO Frame Count (read only) */
#define	MACE_IR		8   /* Interrupt Register (read only) */
#define	MACE_IMR	9   /* Interrupt Mask Register (read/write) */
#define	MACE_PR		10  /* Poll Register (read only) */
#define	MACE_BIUCC	11  /* BIU Configuration Control (read/write) */
#define	MACE_FIFOCC	12  /* FIFO Configuration Control (read/write) */
#define	MACE_MACCC	13  /* MAC Configuration Control (read/write) */
#define	MACE_PLSCC	14  /* PLS Configuration Control (read/write) */
#define	MACE_PHYCC	15  /* PHY Confiuration Control (read/write) */
#define	MACE_CHIPIDL	16  /* Chip ID Register [07-00] (read only) */
#define	MACE_CHIPIDH	17  /* Chip ID Register [15-08] (read only) */
#define	MACE_IAC	18  /* Internal Address Configuration (read/write) */
/*	RESERVED	19     Reserved (read/write as 0) */
#define	MACE_LADRF	20  /* Logical Address Filter (8 bytes) (read/write) */
#define	MACE_PADR	21  /* Physical Address (6 bytes) (read/write) */
/*	RESERVED	22     Reserved (read/write as 0) */
/*	RESERVED	23     Reserved (read/write as 0) */
#define	MACE_MPC	24  /* Missed Packet Count (read only) */
/*	RESERVED	25     Reserved (read/write as 0) */
#define	MACE_RNTPC	26  /* Runt Packet Count (read only) */
#define	MACE_RCVCC	27  /* Receive Collision Count (read only) */
/*	RESERVED	28     Reserved (read/write as 0) */
#define	MACE_UTR	29  /* User Test Register (read/write) */
#define	MACE_RTR1	30  /* Reserved Test Register 1 (read/write as 0) */
#define	MACE_RTR2	31  /* Reserved Test Register 2 (read/write as 0) */

#define	MACE_NREGS	32

/* 2: Transmit Frame Control (XMTFC) */
#define	DRTRY		0x80	/* Disable Retry */
#define	DXMTFCS		0x08	/* Disable Transmit FCS */
#define	APADXMT		0x01	/* Auto Pad Transmit */

/* 3: Transmit Frame Status (XMTFS) */
#define	XMTSV		0x80	/* Transmit Status Valid */
#define	UFLO		0x40	/* Underflow */
#define	LCOL		0x20	/* Late Collision */
#define	MORE		0x10	/* More than one retry needed */
#define	ONE		0x08	/* Exactly one retry needed */
#define	DEFER		0x04	/* Transmission deferred */
#define	LCAR		0x02	/* Loss of Carrier */
#define	RTRY		0x01	/* Retry Error */

/* 4: Transmit Retry Count (XMTRC) */
#define	EXDEF		0x80	/* Excessive Defer */
#define	XMTRC		0x0f	/* Transmit Retry Count */

/* 5: Receive Frame Control (RCVFC) */
#define	LLRCV		0x08	/* Low Latency Receive */
#define	MR		0x04	/* Match/Reject */
#define	ASTRPRCV	0x01	/* Auto Strip Receive */

/* 6: Receive Frame Status (RCVFS) */
/* 4 byte register; read 4 times to get all of the bytes */
/* Read 1: RFS0 - Receive Message Byte Count [7-0] (RCVCNT) */

/* Read 2: RFS1 - Receive Status (RCVSTS) */
#define	OFLO		0x80	/* Overflow flag */
#define	CLSN		0x40	/* Collision flag */
#define	FRAM		0x20	/* Framing Error flag */
#define	FCS		0x10	/* FCS Error flag */
#define	RCVCNT		0x0f	/* Receive Message Byte Count [11-8] */

/* Read 3: RFS2 - Runt Packet Count (RNTPC) [7-0] */

/* Read 4: RFS3 - Receive Collision Count (RCVCC) [7-0] */

/* 7: FIFO Frame Count (FIFOFC) */
#define	RCVFC		0xf0	/* Receive Frame Count */
#define	XMTFC		0x0f	/* Transmit Frame Count */

/* 8: Interrupt Register (IR) */
#define	JAB		0x80	/* Jabber Error */
#define	BABL		0x40	/* Babble Error */
#define	CERR		0x20	/* Collision Error */
#define	RCVCCO		0x10	/* Receive Collision Count Overflow */
#define	RNTPCO		0x08	/* Runt Packet Count Overflow */
#define	MPCO		0x04	/* Missed Packet Count Overflow */
#define	RCVINT		0x02	/* Receive Interrupt */
#define	XMTINT		0x01	/* Transmit Interrupt */

/* 9: Interrut Mask Register (IMR) */
#define	JABM		0x80	/* Jabber Error Mask */
#define	BABLM		0x40	/* Babble Error Mask */
#define	CERRM		0x20	/* Collision Error Mask */
#define	RCVCCOM		0x10	/* Receive Collision Count Overflow Mask */
#define	RNTPCOM		0x08	/* Runt Packet Count Overflow Mask */
#define	MPCOM		0x04	/* Missed Packet Count Overflow Mask */
#define	RCVINTM		0x02	/* Receive Interrupt Mask */
#define	XMTINTM		0x01	/* Transmit Interrupt Mask */

/* 10: Poll Register (PR) */
#define	XMTSV		0x80	/* Transmit Status Valid */
#define	TDTREQ		0x40	/* Transmit Data Transfer Request */
#define	RDTREQ		0x20	/* Receive Data Transfer Request */

/* 11: BIU Configuration Control (BIUCC) */
#define	BSWP		0x40	/* Byte Swap */
#define	XMTSP		0x30	/* Transmit Start Point */
#define	XMTSP_4		0x00	/* 4 bytes */
#define	XMTSP_16	0x10	/* 16 bytes */
#define	XMTSP_64	0x20	/* 64 bytes */
#define	XMTSP_112	0x30	/* 112 bytes */
#define	SWRST		0x01	/* Software Reset */

/* 12: FIFO Configuration Control (FIFOCC) */
#define	XMTFW		0xc0	/* Transmit FIFO Watermark */
#define	XMTFW_8		0x00	/* 8 write cycles */
#define	XMTFW_16	0x40	/* 16 write cycles */
#define	XMTFW_32	0x80	/* 32 write cycles */
#define	RCVFW		0x30	/* Receive FIFO Watermark */
#define	RCVFW_16	0x00	/* 16 bytes */
#define	RCVFW_32	0x10	/* 32 bytes */
#define	RCVFW_64	0x20	/* 64 bytes */
#define	XMTFWU		0x08	/* Transmit FIFO Watermark Update */
#define	RCVFWU		0x04	/* Receive FIFO Watermark Update */
#define	XMTBRST		0x02	/* Transmit Burst */
#define	RCVBRST		0x01	/* Receive Burst */

/* 13: MAC Configuration (MACCC) */
#define	PROM		0x80	/* Promiscuous */
#define	DXMT2PD		0x40	/* Disable Transmit Two Part Deferral */
#define	EMBA		0x20	/* Enable Modified Back-off Algorithm */
#define	DRCVPA		0x08	/* Disable Receive Physical Address */
#define	DRCVBC		0x04	/* Disable Receive Broadcast */
#define	ENXMT		0x02	/* Enable Transmit */
#define	ENRCV		0x01	/* Enable Receive */

/* 14: PLS Configuration Control (PLSCC) */
#define	XMTSEL		0x08	/* Transmit Mode Select */
#define	PORTSEL		0x06	/* Port Select */
#define	PORTSEL_AUI	0x00	/* Select AUI */
#define	PORTSEL_10BT	0x02	/* Select 10BASE-T */
#define	PORTSEL_DAI	0x04	/* Select DAI port */
#define	PORTSEL_GPSI	0x06	/* Select GPSI */
#define	ENPLSIO		0x01	/* Enable PLS I/O */

/* 15: PHY Configuration (PHYCC) */
#define	LNKFL		0x80	/* Link Fail */
#define	DLNKTST		0x40	/* Disable Link Test */
#define	REVPOL		0x20	/* Reversed Polarity */
#define	DAPC		0x10	/* Disable Auto Polarity Correction */
#define	LRT		0x08	/* Low Receive Threshold */
#define	ASEL		0x04	/* Auto Select */
#define	RWAKE		0x02	/* Remote Wake */
#define	AWAKE		0x01	/* Auto Wake */

/* 18: Internal Address Configuration (IAC) */
#define	ADDRCHG		0x80	/* Address Change */
#define	PHYADDR		0x04	/* Physical Address Reset */
#define	LOGADDR		0x02	/* Logical Address Reset */

/* 28: User Test Register (UTR) */
#define	RTRE		0x80	/* Reserved Test Register Enable */
#define	RTRD		0x40	/* Reserved Test Register Disable */
#define	RPA		0x20	/* Run Packet Accept */
#define	FCOLL		0x10	/* Force Collision */
#define	RCVFCSE		0x08	/* Receive FCS Enable */
#define	LOOP		0x06	/* Loopback Control */
#define	LOOP_NONE	0x00	/* No Loopback */
#define	LOOP_EXT	0x02	/* External Loopback */
#define	LOOP_INT	0x04	/* Internal Loopback, excludes MENDEC */
#define	LOOP_INT_MENDEC	0x06	/* Internal Loopback, includes MENDEC */