diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2008-10-28 11:43:11 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2008-10-28 11:43:11 +0000 |
commit | 2ab5928ff6df9eacd048bb5f7df227bb1a2550b9 (patch) | |
tree | 368262133bd5877ebe048bb2709afee8640f4393 /sys/dev/pci | |
parent | e27ab02b2873e73ca2d57563d1efafd2268ec61b (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.c | 3 |
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> |