[PATCH 2.6.14-rc5 1/1] : mv643xx_eth_pcidev - implements hotplug for the marvell gige functionality by probing the northbridge pci id.

Paul Mackerras paulus at samba.org
Tue Nov 1 20:25:24 EST 2005

Mark A. Greer writes:

> It does have a PIC, DMA engine, and SRAM that Sven mentioned but there
> are also a serial controller (MPSC), an i2c controller, and a watchdog
> timer.  I would guess that the MPSC and i2c drivers, at least, should
> use MODULE_DEVICE_TABLE.  If you agree, I'll add it to the list.

But the point is that if one driver has claimed the device (because
its ID is in its module device table), the other drivers won't be able
to.  You need something like the macio driver that BenH did, which
claims the macio device and creates a macio bus structure and allows
individual macio device drivers to claim the pieces of it.


More information about the Linuxppc-dev mailing list