Date: Wed, 03 Mar 2004 15:53:05 +0100 From: thefly@acaro.org To: freebsd-hackers@freebsd.org Subject: [Driver SC1100 Watchdog] device taken by some other driver, but which one? Message-ID: <20040303145305.23264.qmail@nexlab.it>
next in thread | raw e-mail | index | archive | help
I finally built my driver for Geode's SC1100 Watchdog, but i got a bad news. My probe() function gets called just one time, and for the wrong device. with an pciconf -lv i get: chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x00011078 rev=0x00 hdr=0x00 vendor = 'Cyrix Corp (Now owned by VIA)' device = 'MediaGXm MMX Cyrix Integrated CPU' class = bridge subclass = HOST-PCI sis0@pci0:6:0: class=0x020000 card=0x0020100b chip=0x0020100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' device = 'DP83815/16 MacPhyter 10/100 Mb/s Ethernet MAC & PHY' class = network subclass = ethernet sis1@pci0:7:0: class=0x020000 card=0x0020100b chip=0x0020100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' device = 'DP83815/16 MacPhyter 10/100 Mb/s Ethernet MAC & PHY' class = network subclass = ethernet sis2@pci0:8:0: class=0x020000 card=0x0020100b chip=0x0020100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' device = 'DP83815/16 MacPhyter 10/100 Mb/s Ethernet MAC & PHY' class = network subclass = ethernet hifn0@pci0:14:0: class=0x0b4000 card=0x00000000 chip=0x001213a3 rev=0x01 hdr=0x00 vendor = 'HI-FN Inc.' device = '7951 Security Processor' class = processor isab0@pci0:18:0: class=0x060100 card=0x0500100b chip=0x0510100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' class = bridge subclass = PCI-ISA chip1@pci0:18:1: class=0x068000 card=0x0501100b chip=0x0511100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' class = bridge subclass = PCI-unknown atapci0@pci0:18:2: class=0x010180 card=0x0502100b chip=0x0502100b rev=0x01 hdr=0x00 vendor = 'National Semiconductor' device = 'SCx200 IDE' class = mass storage subclass = ATA chip2@pci0:18:5: class=0x068000 card=0x0505100b chip=0x0515100b rev=0x00 hdr=0x00 vendor = 'National Semiconductor' class = bridge subclass = PCI-unknown none0@pci0:19:0: class=0x0c0310 card=0xa0f80e11 chip=0xa0f80e11 rev=0x08 hdr=0x00 vendor = 'Compaq Computer Corp (Now owned by Hewlett-Packard)' device = 'ZFMicro USB Open Host Controller' class = serial bus subclass = USB and the probe() 's called for a0f8 0e11 which is the USB serial bus. My device is the 515 100b which is that PCI-unknown taken by chip2. What's wrong? FreeBSD mu1-04 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Tue Sep 16 17:04:58 GMT 2003 root@:/usr/src/sys/compile/NET4801 i386 TIA Claudio Martella
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040303145305.23264.qmail>