summaryrefslogtreecommitdiff
path: root/sys/dev/pci/hifn7751reg.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-12-12 21:30:35 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-12-12 21:30:35 +0000
commit5aa6478608891171e7dfecd3250a0da6526f5be3 (patch)
tree23cf6cb7ceeb07cd71a8d3bad2093b9746d871b9 /sys/dev/pci/hifn7751reg.h
parent2a0a75a3da47990732a801c1b2892d24e6def976 (diff)
remove some dead stuff and correct spelling in comment
Diffstat (limited to 'sys/dev/pci/hifn7751reg.h')
-rw-r--r--sys/dev/pci/hifn7751reg.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/pci/hifn7751reg.h b/sys/dev/pci/hifn7751reg.h
index 2ba58c9e124..b58d37e58b0 100644
--- a/sys/dev/pci/hifn7751reg.h
+++ b/sys/dev/pci/hifn7751reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751reg.h,v 1.16 2000/10/26 00:41:26 jason Exp $ */
+/* $OpenBSD: hifn7751reg.h,v 1.17 2000/12/12 21:30:34 jason Exp $ */
/*
* Invertex AEON / Hi/fn 7751 driver
@@ -89,13 +89,6 @@ typedef struct hifn_desc {
#define HIFN_D_VALID 0x80000000 /* valid bit */
/*
- * hifn_callback_t
- *
- * Type for callback function when dest data is ready.
- */
-typedef void (*hifn_callback_t)(hifn_command_t *);
-
-/*
* Data structure to hold all 4 rings and any other ring related data.
*/
struct hifn_dma {
@@ -247,7 +240,7 @@ struct hifn_softc {
*/
#define HIFN_1_DMA_CRAR 0x0c /* DMA Command Ring Address */
#define HIFN_1_DMA_SRAR 0x1c /* DMA Source Ring Address */
-#define HIFN_1_DMA_RRAR 0x2c /* DMA Resultt Ring Address */
+#define HIFN_1_DMA_RRAR 0x2c /* DMA Result Ring Address */
#define HIFN_1_DMA_DRAR 0x3c /* DMA Destination Ring Address */
#define HIFN_1_DMA_CSR 0x40 /* DMA Status and Control */
#define HIFN_1_DMA_IER 0x44 /* DMA Interrupt Enable */