Date: Sun, 21 Sep 2003 20:53:31 +1000 From: Peter Jeremy <PeterJeremy@optushome.com.au> To: freebsd-stable@freebsd.org, sos@freebsd.org, luoqi@freebsd.org Subject: Kernel compile failure without pci. Message-ID: <20030921105331.GA242@cirb503493.alcatel.com.au>
next in thread | raw e-mail | index | archive | help
A kernel including ata but no pci fails during build with an
conflicting declaration of ata_dmastart() in ata-isa.c. The
fix is below. Could someone please include this in 4.9 as is
or do I need to file a PR.
============================
RCS file: /usr/ncvs/src/sys/dev/ata/ata-isa.c,v
retrieving revision 1.4.2.2
diff -u -r1.4.2.2 ata-isa.c
--- ata-isa.c 5 Sep 2003 07:29:10 -0000 1.4.2.2
+++ ata-isa.c 21 Sep 2003 09:03:37 -0000
@@ -134,9 +134,10 @@
return -1;
}
-void
+int
ata_dmastart(struct ata_device *atadev, caddr_t data, int32_t count, int dir)
{
+ return -1;
}
int
============================
Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030921105331.GA242>
