Add a workaround to make 3COM cardbus cards to propagate the device
authorHiten Pandya <hmp@dragonflybsd.org>
Wed, 3 Aug 2005 16:01:11 +0000 (16:01 +0000)
committerHiten Pandya <hmp@dragonflybsd.org>
Wed, 3 Aug 2005 16:01:11 +0000 (16:01 +0000)
commit29bcac8b318030f5d9ef8d3fd306ba9fa314252a
tree9a6d95afbcb266db2a3df1815af9f9ac6a915d45
parenta99bca8e35d2d1f023b91e85c040c032f5876917
Add a workaround to make 3COM cardbus cards to propagate the device
information to the driver.  This is the first step to get the cards
probing and attaching, minus whatever interrupt routing issues.

The proper fix will be addressed by Joerg but we really do require
an interrim solution to the problem.

--
The 575A doesn't have funcregs in memio, so don't claim that it does;
this gets the card to work.  Change obtained from FreeBSD, committed
by Warner Losh to sys/pci/if_xl.c rev. 1.192.
sys/dev/netif/xl/if_xl.c