aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/psim
diff options
context:
space:
mode:
authorPeter Grehan <grehan@FreeBSD.org>2005-03-15 11:41:05 +0000
committerPeter Grehan <grehan@FreeBSD.org>2005-03-15 11:41:05 +0000
commitc10763d40cbb320a931bb6ca50e2b9b2d29505a7 (patch)
treeed3325002a5dee30acc88de94c9ce5f43d9460c4 /sys/powerpc/psim
parent0a2e49f1f8dbe9f47d1db600fd5f282a6e062ad0 (diff)
downloadsrc-c10763d40cbb320a931bb6ca50e2b9b2d29505a7.tar.gz
src-c10763d40cbb320a931bb6ca50e2b9b2d29505a7.zip
Long overdue sync-up with ATA code
Notes
Notes: svn path=/head/; revision=143632
Diffstat (limited to 'sys/powerpc/psim')
-rw-r--r--sys/powerpc/psim/ata_iobus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/powerpc/psim/ata_iobus.c b/sys/powerpc/psim/ata_iobus.c
index df46cb7f14de..c71e48eb612b 100644
--- a/sys/powerpc/psim/ata_iobus.c
+++ b/sys/powerpc/psim/ata_iobus.c
@@ -230,9 +230,11 @@ static driver_t ata_iobus_sub_driver = {
DRIVER_MODULE(ata, ataiobus, ata_iobus_sub_driver, ata_devclass, 0, 0);
-static void
+static int
ata_iobus_locknoop(struct ata_channel *ch, int type)
{
+
+ return (ch->unit);
}
static void