Date: Fri, 13 Apr 2001 14:36:35 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Darren Henderson <darren@bmv.state.me.us> Cc: current@FreeBSD.ORG, jlemon@flugsvamp.com Subject: Re: miibus/fxp intel etherexpress broken Message-ID: <15063.18227.260693.786852@grasshopper.cs.duke.edu> In-Reply-To: <Pine.A41.4.21.0104131124590.33344-100000@katahdin.bmv.state.me.us> References: <200104131416.KAA58869@khavrinen.lcs.mit.edu> <Pine.A41.4.21.0104131124590.33344-100000@katahdin.bmv.state.me.us>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Intel Pro 10/100B/100+ Ethernet> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15063.18227.260693.786852>