ke...@us... (Ken Yap) writes:
> >I will think about it. I would rather do it the other way though.
> >Have all of the IDs in the drivers, and then generate NIC from that.
> >
> >I would very much like to be at the point, where the driver API
> >was easy enough everything could be contained in a single file.
> >I am almost there in 5.1 I just need to make NIC auto-generated.
>
> Think about ISA cards too even if you don't have any.
Don't worry. When I am just skimming things I tend to not consider those
cases, but when I am actually working it they get covered.
Right now I don't think I can do any auto-generation of the ISA drivers
because there is still a fair amount of potential code in the Makefile
and other places that is per driver. But covering the pci and newer
drivers should be straight forward.
In 5.1 I have already moved the pci_ids into the driver files so
auto-generating config.c would be moving in the opposite direction,
and it would would make it very hard to have a multiple driver etherboot.
Eric
|