From owner-freebsd-bugs Mon Dec 21 00:50:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA23815 for freebsd-bugs-outgoing; Mon, 21 Dec 1998 00:50:01 -0800 (PST) (envelope-from owner-freebsd-bugs@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 AAA23772 for ; Mon, 21 Dec 1998 00:49:59 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA29434; Mon, 21 Dec 1998 00:50:00 -0800 (PST) Received: from st-lcremean.tidalwave.net (st-lcremean.tidalwave.net [208.213.203.186]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA23616 for ; Mon, 21 Dec 1998 00:47:36 -0800 (PST) (envelope-from lee@st-lcremean.tidalwave.net) Received: (from root@localhost) by st-lcremean.tidalwave.net (8.9.1/8.8.8) id DAA01164; Mon, 21 Dec 1998 03:47:31 -0500 (EST) (envelope-from lee) Message-Id: <199812210847.DAA01164@st-lcremean.tidalwave.net> Date: Mon, 21 Dec 1998 03:47:31 -0500 (EST) From: Lee Cremeans To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/9153: Bad unit handling in ide_pci.c Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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