Re: Autoconfiguration: Original design scenario

Kai Germaschewski (kai@tp1.ruhr-uni-bochum.de)
Wed, 16 Jan 2002 16:51:24 +0100 (CET)


On Tue, 15 Jan 2002, Russell King wrote:

> There weren't many clues on the card packaging what it was, and couldn't
> find anything on the net about the card, so resourted to the "insmod this
> module, does it do anything" approach. After many hours of prodding
> around and reading source, turns out that it needed the hisax driver with
> various random parameters.
>
> 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.

The fact that hisax needs command line parameters even for PCI cards only
has historical reasons. In 2.5 this is scheduled to change, such that an
insmod automatically will do the right thing. It will remain as-is in 2.4
for compatibility reasons.

--Kai

-
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/