From owner-freebsd-current Fri Apr 13 11:37:10 2001 Delivered-To: freebsd-current@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 04FAD37B446 for ; Fri, 13 Apr 2001 11:37:06 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id OAA19802; Fri, 13 Apr 2001 14:37:05 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f3DIaZD28010; Fri, 13 Apr 2001 14:36:35 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15063.18227.260693.786852@grasshopper.cs.duke.edu> Date: Fri, 13 Apr 2001 14:36:35 -0400 (EDT) To: Darren Henderson Cc: current@FreeBSD.ORG, jlemon@flugsvamp.com Subject: Re: miibus/fxp intel etherexpress broken In-Reply-To: References: <200104131416.KAA58869@khavrinen.lcs.mit.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Darren Henderson writes: > > I had a functional install of -current which was created back on Jan 11th of > this year. > > I cvsup'd yesterday (4/12. I had also tried this on 4/4) fixxed what I > needed too from UPDATING and RELNOTES, built and installed world and a new > kernel. > > fxp now fails. > > ata1: at 0x170 irq 15 on atapci0 <...> > fxp0: port 0x5400-0x541f mem 0x60000000-0x600fffff,0x60100000-0x60100fff irq 15 at device 11.0 on pci0 > fxp0: could not map interrupt > device_probe_and_attach: fxp0 attach returned 6 > isa0: unexpected small tag 14 This has nothing to do with fxp. The problem is that irq15 is shared between ata1 and fxp0 & the ata driver doesn't want to share interrupts because some older boards will somehow barf when sharing irqs between ata and other devices. Try this patch (I haven't tested it myself) Index: dev/ata/ata-pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.c,v retrieving revision 1.3 diff -u -r1.3 ata-pci.c --- dev/ata/ata-pci.c 2001/03/19 13:31:58 1.3 +++ dev/ata/ata-pci.c 2001/04/13 18:32:21 @@ -508,7 +508,7 @@ return BUS_ALLOC_RESOURCE(device_get_parent(dev), child, SYS_RES_IRQ, rid, - irq, irq, 1, flags & ~RF_SHAREABLE); + irq, irq, 1, flags); #endif } else { Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message