Subject: Re: ppb at cardbus?
To: None <current-users@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: current-users
Date: 04/04/2000 15:31:28
On Tue, Apr 04, 2000 at 06:04:51PM -0400, Andrew Gillham wrote:

 > My SMC EtherPower 10/100 CardBus, model 8032DT shows up in dmesg
 > with this:
 > (manufacturer 0x0, product 0x0) Intel 82439TX System Controller (MTXC) (host bridge, revision 0x01) at cardbus1 dev 0 function 0 not configured
 > 
 > This appears to be a 'pchb' device?  I am assuming this would be
 > supported with the following: (assuming the code was written. :)
 > pchb*	at cardbus? dev ? function ?
 > 
 > So what does it take to write a 'pchb' that attachs to cardbus?
 > The current pchb code is i386 MD code, yet cardbus pchb support
 > would need to be MI.  What about the attach/detach issues?

Nothing, you just have to enable some of the PCIBIOS options :-)

options         PCIBIOS                 # PCI BIOS support
options         PCIBIOSVERBOSE          # PCI BIOS verbose info
options         PCIBIOS_INTR_FIXUP      # fixup PCI interrupt routing
options         PCIBIOS_BUS_FIXUP       # fixup PCI bus numbering

In particular, you must have PCIBIOS and PCIBIOS_BUS_FIXUP in order
to make that problem go away.

You probably want PCIBIOS_INTR_FIXUP, too.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>