[tulip-bug] Problem with 2.2.18
David Hinds
dhinds@valinux.com
Wed, 13 Dec 2000 12:54:54 -0800
On Wed, Dec 13, 2000 at 03:22:04PM -0500, Donald Becker wrote:
>
> I'll have to check when it changed, but I can bound it:
> 2.2.12 is definitely fine,
> 2.2.16 probably doesn't, and
> 2.2.17 has the problem.
Are you sure it is a kernel version issue and not a PCMCIA version
issue?
Even if cardmgr is not running, as long as pcmcia_core and i82365 are
loaded, when you insert a CardBus card, it will show up in /proc/pci
and the pci_devices list. This has been true for maybe a year or so,
and should be independent of kernel version. Prior to that, I think
the device only showed up in /proc/pci when cb_enabler was loaded.
This change was made in PCMCIA version 3.1.0.
> My goal is to have a single driver that supports both a fixed PCI bus,
> hot-swap PCI and CardBus. To support a fixed PCI bus the code scans
> existing PCI bus devices when loading.
How about having probe1() verify that it got a non-zero ioaddr and irq
before calling init_etherdev()?
-- Dave