Re: Autoconfiguration: Original design scenario

Giacomo Catenazzi (cate@debian.org)
Tue, 15 Jan 2002 13:41:57 +0100


Russell King wrote:


> I really don't see why hisax couldn't say "oh, you have an ISDN card with
> IDs xxxx:xxxx, that's hisax type nn" and be done with it, rather than
> needing to be told "pci id xxxx:xxxx type nn". Have a look at
> drivers/isdn/hisax/config.c and wonder how the hell you take some random
> vendors PCI ISDN card and work out how to drive it under Linux.
>
> (For the record, the card was:
> 1397:2bd0 - Cologne Chip Designs GmbH - HFC-PCI 2BD0 ISDN
> and the driver requirements were: hisax type 35 proto 2)
>
> Realistically, I don't think any autoconfigurator will solve such cases
> until these areas can be fixed up reasonably.

Autoconfigure cannnot solve this.
The card is not in my database.
To help user, you should tell the driver maintainer to add our card
in the know pci devices. In this manner autoconfigure, hotplug and
modutils can take easy use your card.

This is also a problem of PCI design.
ISAPNP have the function type, USB have also the
function class, so that there exists few interfaces, and kernel
can ask only to specific interface and not to the specific card.
PCI also have the interface field, but not very used, and the
interfaces are also not so standardized.

giacomo


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/