steven james pyro@linuxlabs.com writes:
Greetings,
Given the many permutations of com lpt, and other devices from (possibly multiple) superios, I wonder if a linked list of single device structs might not be a better abstraction.
I agree. The more I look at the more I like the linked list idea. Being able to have structures for the common things like ide/serial/parallel ports sounds very good.
I've certainly seen enough cases where various chips provide the same class of device, such as e750[01] where ICH3 provides IDE and Intel puts a Promise IDE-RAID (really just IDE with soft raid in firmware) on the board.
Then there's the SiS630 boards that have an rtl8139 and a disconnected SiS900 ethernet on board.
Yep. We have to know which chips are on the board and which ones to enable.
Eric