summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-pci.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2008-04-12 17:21:22 +0000
committersos <sos@FreeBSD.org>2008-04-12 17:21:22 +0000
commitc7e894e8b0e9bdaf380328d6ca4d813f4443304c (patch)
tree0979bf3c14a6661460395ea98d30df8760b94a31 /sys/dev/ata/ata-pci.c
parentcd9fb4aea0a817d2863b3261200fa4556edd221c (diff)
downloadFreeBSD-src-c7e894e8b0e9bdaf380328d6ca4d813f4443304c.zip
FreeBSD-src-c7e894e8b0e9bdaf380328d6ca4d813f4443304c.tar.gz
Dont call hw.status recursively.
Spotted by: Marcel Moolenaar
Diffstat (limited to 'sys/dev/ata/ata-pci.c')
-rw-r--r--sys/dev/ata/ata-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c
index daee8e5..ab5342b 100644
--- a/sys/dev/ata/ata-pci.c
+++ b/sys/dev/ata/ata-pci.c
@@ -422,7 +422,7 @@ ata_pci_allocate(device_t dev)
return 0;
}
-static int
+int
ata_pci_status(device_t dev)
{
struct ata_channel *ch = device_get_softc(dev);
OpenPOWER on IntegriCloud