summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac
diff options
context:
space:
mode:
authorssouhlal <ssouhlal@FreeBSD.org>2004-11-02 09:29:31 +0000
committerssouhlal <ssouhlal@FreeBSD.org>2004-11-02 09:29:31 +0000
commitb5e198694f670fae49cfe9399a6be0dfbc906f69 (patch)
tree795c999c81837cf24a1107f4b01c0419dbd10969 /sys/powerpc/powermac
parent4b56362acc909da9be095c54bc682671a2de55fa (diff)
downloadFreeBSD-src-b5e198694f670fae49cfe9399a6be0dfbc906f69.zip
FreeBSD-src-b5e198694f670fae49cfe9399a6be0dfbc906f69.tar.gz
Stay up to date with the latest ATA developments, where
ata_channel.locking now returns an int. Approved by: grehan (mentor)
Diffstat (limited to 'sys/powerpc/powermac')
-rw-r--r--sys/powerpc/powermac/ata_kauai.c3
-rw-r--r--sys/powerpc/powermac/ata_macio.c3
2 files changed, 4 insertions, 2 deletions
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
OpenPOWER on IntegriCloud