On Mon, Jul 23, 2007 at 02:10:40AM -0400, Pavel Roskin wrote: > On Mon, 2007-07-23 at 11:42 +1000, David Gibson wrote: > > > Create an option to disable support for Prism devices in orinoco driver which > > > disabled the IDs for the PCMCIA module and creates a Kconfig dependency for > > > the Prism PCI modules. > > > > I very much dislike this being a compile time only CONFIG option. A > > module parameter which enables or disables the device IDs would be > > much nicer, if possible. It can default to off (orinoco will not > > claim Prism cards). > > I'm afraid it's not possible. There is only one device map in the > driver, and it's read by depmod to generate module map tables. Ah, yes. Bugger :( > > If the run-time device table is different from the compile-time table, > this would be really confusing. Either the module would be loaded to > support the device but would refuse to do so, or the module would need > to be loaded manually for some devices, even if no other module is > available to support the device. > > Besides, orinoco_pci would become useless by default. > > Please see my message. For TMD bridges, we don't know the firmware > flavor before we know the firmware version. For PLX bridges, we can > read the CIS first and match the PCMCIA table, but it would need to be > done manually, without the PCMCIA code. > > I don't see any clear solution without some kind of the device handover > from Orinoco to hostap or vice versa. > > I would probably start with cutting Agere and Symbol devices from > hostap, which is a much more clear-cut case than cutting working Prism > support from Orinoco. Hrm. Eck. I remember once in the distant past Jouni was talking about a possible merge of hostap and orinoco, starting with the low-level device manipulation stuff (hermes.c, basically). But nothing ever came of it. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html