sos> Well, sortof, the ata driver doesn't allow for sharing irq14&15 
sos> since lots of boards doesn't work that way. However if you need
sos> it you can try to add the shared flag in the driver and see if 
sos> it works on yours.

I've changed src/sys/dev/ata/ata-pci.c with:

--- ata-pci.c.dist      Sat Jun 23 02:19:58 2001
+++ ata-pci.c   Sat Jun 23 02:20:26 2001
@@ -515,7 +515,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 {

and reboot. At booting time, ata driver says:

atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000
ata0: mask=03 ostat0=50 ostat2=00
ata0-slave: ATAPI probe 00 00
ata0-master: ATAPI probe 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA probe 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008
ata1: at 0x170 irq 15 on atapci0

it's as same as before. fxp driver says:

fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xe400-0xe43f mem 
0xd2420000-0xd243ffff,0xd2440000-0xd2440fff irq 15 at device 8.0 on pci0
fxp0: using memory space register mapping
fxp0: Ethernet address 00:10:f3:03:52:31, 10Mbps
fxp0: PCI IDs: 8086 1229 0000 0000 0009
fxp0: Chip Type: 0
bpf: fxp0 attached
fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xe800-0xe83f mem 
0xd2400000-0xd241ffff,0xd2441000-0xd2441fff irq 11 at device 9.0 on pci0
fxp1: using memory space register mapping
fxp1: Ethernet address 00:10:f3:03:52:32, 10Mbps
fxp1: PCI IDs: 8086 1229 0000 0000 0009
fxp1: Chip Type: 0
bpf: fxp1 attached

Yeah! Thank you for your advice ^_^/

sos> Hmm, maybe I should make this tunable...

It would be great if this is tunable for me.

It would also help other users who have small PCs, there are only one
IDE bus because of space (as said before, this machine is also small
PC, 13-PCs in 4U space).

-- -

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

Reply via email to