From b5e198694f670fae49cfe9399a6be0dfbc906f69 Mon Sep 17 00:00:00 2001 From: ssouhlal Date: Tue, 2 Nov 2004 09:29:31 +0000 Subject: Stay up to date with the latest ATA developments, where ata_channel.locking now returns an int. Approved by: grehan (mentor) --- sys/powerpc/powermac/ata_kauai.c | 3 ++- sys/powerpc/powermac/ata_macio.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/powerpc/powermac') diff --git a/sys/powerpc/powermac/ata_kauai.c b/sys/powerpc/powermac/ata_kauai.c index 6558095..b906d4e 100644 --- a/sys/powerpc/powermac/ata_kauai.c +++ b/sys/powerpc/powermac/ata_kauai.c @@ -90,10 +90,11 @@ static driver_t ata_kauai_driver = { DRIVER_MODULE(ata, pci, ata_kauai_driver, ata_devclass, 0, 0); -static void +static int ata_kauai_locknoop(struct ata_channel *ch, int type) { /* XXX SMP ? */ + return (0); } static void diff --git a/sys/powerpc/powermac/ata_macio.c b/sys/powerpc/powermac/ata_macio.c index 5fb2865..992c254 100644 --- a/sys/powerpc/powermac/ata_macio.c +++ b/sys/powerpc/powermac/ata_macio.c @@ -80,10 +80,11 @@ static driver_t ata_macio_driver = { DRIVER_MODULE(ata, macio, ata_macio_driver, ata_devclass, 0, 0); -static void +static int ata_macio_locknoop(struct ata_channel *ch, int type) { /* XXX SMP ? */ + return (0); } static void -- cgit v1.1