summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/atapi-tape.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1999-12-14 10:25:28 +0000
committersos <sos@FreeBSD.org>1999-12-14 10:25:28 +0000
commit358ef546e609097f0c8b22e8b948b8c24f8aad20 (patch)
tree1e73717c6d53fd8743637f44b22a4ba9e5d4eb2b /sys/dev/ata/atapi-tape.c
parentf4c90f500152b9b554ae0edd6f880931b7dab5bf (diff)
downloadFreeBSD-src-358ef546e609097f0c8b22e8b948b8c24f8aad20.zip
FreeBSD-src-358ef546e609097f0c8b22e8b948b8c24f8aad20.tar.gz
Have another go at the VIA support, this time use the PCI ID form the
main component in the southbridge chip to determine which VIA chip we are dealing with. Try to enable DMA on generic controllers that say they has the capability, instead of relying on the BIOS to have set it up.
Diffstat (limited to 'sys/dev/ata/atapi-tape.c')
-rw-r--r--sys/dev/ata/atapi-tape.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c
index 9e4d8ea..5574da3 100644
--- a/sys/dev/ata/atapi-tape.c
+++ b/sys/dev/ata/atapi-tape.c
@@ -35,6 +35,7 @@
#include <sys/conf.h>
#include <sys/malloc.h>
#include <sys/buf.h>
+#include <sys/bus.h>
#include <sys/mtio.h>
#include <sys/disklabel.h>
#include <sys/devicestat.h>
OpenPOWER on IntegriCloud