summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-10-28 11:43:11 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-10-28 11:43:11 +0000
commit2ab5928ff6df9eacd048bb5f7df227bb1a2550b9 (patch)
tree368262133bd5877ebe048bb2709afee8640f4393 /sys/dev/pci
parente27ab02b2873e73ca2d57563d1efafd2268ec61b (diff)
Major overhaul of bio.
Fix set hotspare that didn't always work. Fix several very subtle bugs because of firmware lies Fix disk size that sometimes was incorrect Only poke drives if something changed so it makes bio way faster on subsequent calls Tested by several folks, thanks Ok dlg
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ami_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/ami_pci.c b/sys/dev/pci/ami_pci.c
index 42200717b80..95570b0ad20 100644
--- a/sys/dev/pci/ami_pci.c
+++ b/sys/dev/pci/ami_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami_pci.c,v 1.42 2007/01/27 05:09:51 dlg Exp $ */
+/* $OpenBSD: ami_pci.c,v 1.43 2008/10/28 11:43:10 marco Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -42,6 +42,7 @@
#include <scsi/scsi_disk.h>
#include <scsi/scsiconf.h>
+#include <dev/biovar.h>
#include <dev/ic/amireg.h>
#include <dev/ic/amivar.h>