diff options
author | semenu <semenu@FreeBSD.org> | 1999-10-29 09:56:52 +0000 |
---|---|---|
committer | semenu <semenu@FreeBSD.org> | 1999-10-29 09:56:52 +0000 |
commit | 4f03976b42abc77076eb39f572546f53efd220e9 (patch) | |
tree | 0fdd3e45b69603621e9701e818ff48e8f74bcf52 /sys/pci/if_txvar.h | |
parent | 40c138736e018245f8cd75041abb0745032a86f5 (diff) | |
download | FreeBSD-src-4f03976b42abc77076eb39f572546f53efd220e9.zip FreeBSD-src-4f03976b42abc77076eb39f572546f53efd220e9.tar.gz |
Added code to enable BusMaster operations.
Kurt D. Starsinic <kstar@chapin.edu> had reported
this patch fixing strange behaviour (like timeouts
and RX/TX DMAs stopping errors).
Diffstat (limited to 'sys/pci/if_txvar.h')
-rw-r--r-- | sys/pci/if_txvar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/if_txvar.h b/sys/pci/if_txvar.h index 5efe056..49a3941 100644 --- a/sys/pci/if_txvar.h +++ b/sys/pci/if_txvar.h @@ -67,6 +67,10 @@ #define PCI_CFIT 0x3c /* Configuration Interrupt */ #define PCI_CFDA 0x40 /* Configuration Driver Area */ +#define PCI_CFCS_IOEN 0x0001 /* IO Sapce Enable */ +#define PCI_CFCS_MAEN 0x0002 /* Memory Space Enable */ +#define PCI_CFCS_BMEN 0x0004 /* Bus Master Enable */ + #define PCI_CONF_WRITE(r, v) pci_conf_write(config_id, (r), (v)) #define PCI_CONF_READ(r) pci_conf_read(config_id, (r)) |