Date: Mon, 21 Dec 1998 03:47:31 -0500 (EST) From: Lee Cremeans <lcremean@tidalwave.net> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/9153: Bad unit handling in ide_pci.c Message-ID: <199812210847.DAA01164@st-lcremean.tidalwave.net>
next in thread | raw e-mail | index | archive | help
>Number: 9153 >Category: kern >Synopsis: Bad unit handling in ide_pci.c >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 21 00:50:00 PST 1998 >Last-Modified: >Originator: Lee Cremeans >Organization: My room? Are you crazy? :) >Release: FreeBSD 3.0-CURRENT i386 >Environment: 3.0-CURRENT CVSup'd tonight.. >Description: The IDE PCI code returns the wrong cookie for a given drive. >How-To-Repeat: N/A >Fix: *** ide_pci.c Mon Dec 14 00:49:04 1998 --- ide_pci.c.new Mon Dec 21 03:42:10 1998 *************** *** 1195,1201 **** cp = softc.cookies.lh_first; while(cp) { ! if (cp->ctlr == unit && ((iobase_wd == 0) || (cp->iobase_wd == iobase_wd))) break; cp = cp->le.le_next; --- 1253,1259 ---- cp = softc.cookies.lh_first; while(cp) { ! if (cp->unit == unit && ((iobase_wd == 0) || (cp->iobase_wd == iobase_wd))) break; cp = cp->le.le_next; >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812210847.DAA01164>