From owner-freebsd-current Tue Jan 25 8: 2: 6 2000 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 191A5151BA for ; Tue, 25 Jan 2000 08:01:55 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id RAA82141; Tue, 25 Jan 2000 17:01:25 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200001251601.RAA82141@freebsd.dk> Subject: Re: 4.0 CODE FREEZE WILL BEGIN IN FIVE (5) DAYS In-Reply-To: <4.2.0.58.20000125092146.00961dc0@pop.uky.edu> from Greg Childers at "Jan 25, 2000 09:32:03 am" To: gchil0@pop.uky.edu (Greg Childers) Date: Tue, 25 Jan 2000 17:01:25 +0100 (CET) Cc: current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Greg Childers wrote: > Hope this helps! It may be helping you, but everyone having more than the ATA chip on the motherboard is going to be bitten severely by this as the interrupt for the primary channel on all controllers are now hardwired to irq 14. What does the Detected irq: say on your machine ?? We might do something intelligent if it is clearly out of range... > --- ata-all.c.orig Sun Jan 16 17:08:59 2000 > +++ ata-all.c Sun Jan 16 17:09:30 2000 > @@ -291,6 +291,11 @@ > iobase_1 = pci_read_config(dev, 0x10, 4) & IOMASK; > altiobase_1 = pci_read_config(dev, 0x14, 4) & IOMASK; > irq1 = pci_read_config(dev, PCI_INTERRUPT_REG, 4) & 0xff; > + if (irq1 != 14) { > + printf("Detected irq: %d ", irq1); > + printf("Changing to 14!!\n"); > + irq1 = 14; > + } > } > > if (pci_get_progif(dev) & PCIP_STORAGE_IDE_MASTERDEV) { -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message