diff options
author | grehan <grehan@FreeBSD.org> | 2005-01-07 01:08:39 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2005-01-07 01:08:39 +0000 |
commit | 99dba32767fc68184e4f58297d97205e06633870 (patch) | |
tree | a3961e9b10b9687e2bbeffbda5ba3ce5014c23af /sys/powerpc/powermac | |
parent | 2062b2d532af80faf61b282b835dcb3bf06f001c (diff) | |
download | FreeBSD-src-99dba32767fc68184e4f58297d97205e06633870.zip FreeBSD-src-99dba32767fc68184e4f58297d97205e06633870.tar.gz |
Return correct value in the lock routine.
Diffstat (limited to 'sys/powerpc/powermac')
-rw-r--r-- | sys/powerpc/powermac/ata_macio.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |