Date: Sat, 16 Jan 1999 21:46:25 -0800 (PST) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/isa wd.c wdreg.h src/sys/pci ide_pci.c Message-ID: <199901170546.VAA00430@freefall.freebsd.org>
index | next in thread | raw e-mail
bde 1999/01/16 21:46:25 PST
Modified files:
sys/i386/isa wd.c wdreg.h
sys/pci ide_pci.c
Log:
Pass the unit number to the DMA cookie lookup routine and use it
to look up cookies properly, at least for standard controllers.
Cookies are used so that we don't have to pass around lots of args.
All of the dmainit functions use the unit number so it is essential
that we pass them a cookie with the correct unit number.
This may break working configurations if there are bugs in the
dmainit functions like the ones I just fixed for VIA chipsets.
Broken in: rev 1.4 of ide_pci.c and rev.1.139 of wd.c.
Revision Changes Path
1.186 +5 -3 src/sys/i386/isa/wd.c
1.25 +2 -2 src/sys/i386/isa/wdreg.h
1.28 +6 -5 src/sys/pci/ide_pci.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901170546.VAA00430>
