Return correct value in the lock routine.

This commit is contained in:
Peter Grehan 2005-01-07 01:08:39 +00:00
parent 125f6d40bd
commit dac7b54d87

View File

@ -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