From owner-cvs-all Sat Jan 16 21:46:26 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA06891 for cvs-all-outgoing; Sat, 16 Jan 1999 21:46:26 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA06886; Sat, 16 Jan 1999 21:46:25 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA00430; Sat, 16 Jan 1999 21:46:25 -0800 (PST) Date: Sat, 16 Jan 1999 21:46:25 -0800 (PST) Message-Id: <199901170546.VAA00430@freefall.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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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