From 99dba32767fc68184e4f58297d97205e06633870 Mon Sep 17 00:00:00 2001 From: grehan Date: Fri, 7 Jan 2005 01:08:39 +0000 Subject: Return correct value in the lock routine. --- sys/powerpc/powermac/ata_macio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/powerpc/powermac/ata_macio.c') diff --git a/sys/powerpc/powermac/ata_macio.c b/sys/powerpc/powermac/ata_macio.c index 992c254..2e68fee 100644 --- a/sys/powerpc/powermac/ata_macio.c +++ b/sys/powerpc/powermac/ata_macio.c @@ -83,8 +83,8 @@ DRIVER_MODULE(ata, macio, ata_macio_driver, ata_devclass, 0, 0); static int ata_macio_locknoop(struct ata_channel *ch, int type) { - /* XXX SMP ? */ - return (0); + + return (ch->unit); } static void -- cgit v1.1