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);
        else {

Andrew Gallatin, Sr Systems Programmer  http://www.cs.duke.edu/~gallatin
Duke University                         Email: [EMAIL PROTECTED]
Department of Computer Science          Phone: (919) 660-6590

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to