summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/mac/if_gmreg.h
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>2000-07-07 13:32:47 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>2000-07-07 13:32:47 +0000
commit6af51839652bec4f7ffdfd024898f468aca0d413 (patch)
tree45d607be8da36a99a1e5e0be9bbd98bf40dd4d89 /sys/arch/powerpc/mac/if_gmreg.h
parent1ce081cf8a770c9444e16eea79a50c07a845d6d7 (diff)
Updates from a newer version of the NetBSD driver.
Use the interrupt line as configured by pci, now that the bridge will walk the openfirmware device tree and properly initialize that field.
Diffstat (limited to 'sys/arch/powerpc/mac/if_gmreg.h')
-rw-r--r--sys/arch/powerpc/mac/if_gmreg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/powerpc/mac/if_gmreg.h b/sys/arch/powerpc/mac/if_gmreg.h
index bc5e9f63f08..44c14ec0bf0 100644
--- a/sys/arch/powerpc/mac/if_gmreg.h
+++ b/sys/arch/powerpc/mac/if_gmreg.h
@@ -37,8 +37,9 @@ struct gmac_dma {
#define GMAC_SOP 0x40000000 /* start of packet? */
#define GMAC_LEN_MASK 0x00003fff
-#define GMAC_INT_TXDONE 0x04
-#define GMAC_INT_RXDONE 0x10
+#define GMAC_INT_TXEMPTY 0x02 /* TX ring empty */
+#define GMAC_INT_TXDONE 0x04
+#define GMAC_INT_RXDONE 0x10
#define GMAC_RXMAC_PR 0x08