In message <[EMAIL PROTECTED]> "Peter 
van Heusden" writes:
: I noticed that PCI modems are detected in /sys/isa/sio.c. I added the
: chip 
: id of the modem to the list of PCI devices (pci_ids), and now
: sio_pci_probe detects the modem, but the sioprobe() fails. Before I got
: digging into the sioprobe code (which seems rather complex), I'd like to
: verify that my pci_ids entry is correct.
:
: One thing I don't understand is the rid field of the pci_id structure.
: Some modems have this set to 0x10, others to 0x14. I'm not sure what to
: set it 
: to - how do I determine this?

look for the I/o space bar.  this will be the the ones in the range
0x10-0x24 that are odd (as in bit 0 is set).  note, bars are 4 bytes
long (except for some 64 bit cards, but you can safely ignore that).

Alternatively,
        pciconf -r pciX:Y:Z 0x10:0x2f
and post it to the list.  

Warner

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

Reply via email to