Date: Wed, 6 Mar 2002 15:28:14 -0800 (PST) From: Brian Howell <bsdmobile@yahoo.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: freebsd-mobile@freebsd.org Subject: 3com pci card on 4.5 Message-ID: <20020306232814.949.qmail@web21303.mail.yahoo.com> In-Reply-To: <20020301182759.A2155@Odin.AC.HMC.Edu>
next in thread | previous in thread | raw e-mail | index | archive | help
i had my 3com pci card working after applying your patch to my 4.4 stable.after upgrading to 4.5 and applying ur patch i find it isnt working.its recognized but i am getting a messages "No irq?!" for my wi0.anything else needs to be done for 4.5 ver? Attaching my dmesg below. Thanks, Brian Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX> real memory = 67108864 (65536K bytes) avail memory = 60293120 (58880K bytes) Preloaded elf kernel "kernel" at 0xc04ee000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00fdf50 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> port 0xfcd0-0xfcdf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xfce0-0xfcff irq 9 at device 7.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: <Intel 82371AB Power management controller> port 0x7000-0x700f at device 7.3 on pci0 pci0: <ATI Mach64-GU graphics accelerator> at 13.0 tx0: <SMC EtherPower II 10/100> port 0xf400-0xf4ff mem 0xfedfe000-0xfedfefff irq 11 at device 14.0 on pci0 miibus0: <MII bus> on tx0 qsphy0: <QS6612 10/100 media interface> on miibus0 qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto tx0: address 00:e0:29:11:6d:85, type SMC9432TX pcm0: <AudioPCI ES1371-A> port 0xfc40-0xfc7f irq 10 at device 15.0 on pci0 wi0: <3Com Airconnect IEEE 802.11b> port 0xfc00-0xfc3f,0xf080-0xf0ff mem 0xfedfd000-0xfedfdfff irq 9 at device 16.0 on pci0 wi0: No irq?! device_probe_and_attach: wi0 attach returned 6 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xe8000-0xeffff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ad0: 4112MB <WDC AC24300L> [8912/15/63] at ata0-master UDMA33 acd0: CDROM <TOSHIBA CD-ROM XM-6102B> at ata1-master using PIO3 Mounting root from ufs:/dev/ad0s2a --- Brooks Davis <brooks@one-eyed-alien.net> wrote: > On Fri, Mar 01, 2002 at 06:10:12PM -0800, Brian > Howell wrote: > > I had some problems configuring my orinoco card > with a > > pci adapter on my freebsd 4.4 box.So was trying to > set > > up my 3com pci card now to check if its a problem > with > > pci adapters on my system.can anyone tell me > where i > > shd do the modifications required for it to be > > recognized.its being put on the pci irq right now. > > am attaching my dmesg below. > > If you apply the following patch to > sys/i386/isa/if_wi.c (based on > 4.5-STABLE) it should be recognized assuming I read > your dmesg correctly. > > -- Brooks > > Index: if_wi.c > =================================================================== > RCS file: > /home/ncvs/src/sys/i386/isa/Attic/if_wi.c,v > retrieving revision 1.18.2.15 > diff -u -r1.18.2.15 if_wi.c > --- if_wi.c 2 Mar 2002 01:41:42 -0000 > 1.18.2.15 > +++ if_wi.c 2 Mar 2002 02:20:11 -0000 > @@ -214,6 +214,7 @@ > {0x1385, 0x4100, "Netgear MA301 PCI > IEEE 802.11b"}, > {0x16ab, 0x1101, "GLPRISM2 PCI > WaveLAN/IEEE 802.11"}, > {0x16ab, 0x1102, "Linksys WDT11 PCI > IEEE 802.11b"}, > + {0x10b7, 0x7770, "3Com Airconnect > IEEE 802.11b"}, > {0, 0, NULL} > }; > #endif > @@ -1978,7 +1979,7 @@ > > sc->irq_rid = 0; > sc->irq = bus_alloc_resource(dev, > SYS_RES_IRQ, &sc->irq_rid, > - 0, ~0, 1, > RF_ACTIVE); > + 0, ~0, 1, > RF_ACTIVE|RF_SHARABLE); > if (!sc->irq) { > wi_free(dev); > device_printf(dev, "No irq?!\n"); > > > -- > Any statement of the form "X is the one, true Y" is > FALSE. > PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E > 8BE9 F238 1AD4 > > ATTACHMENT part 2 application/pgp-signature __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020306232814.949.qmail>