I just finished writing a successful PCI device enumerator with a working byte/word/dword configuration space reader.
I also have the prototypes for the configuration space writer, but I'm at a point where I have no clue what to do TO the config space. I guess I am just generally confused from the PCIbus->PCIdevice concept.
If someone could point me in the right direction for reading or give me a basic rundown of what to do next to aid me in the process of communicating with my network controller, that would be much appreciated.
oh, also, come to think about it, that is the one thing that my OS wont detect on the PCIbus. It reads me Nvidia card and my normal ISA controller and such, but not my ethernet card.
PCI Bus haze
PCI Bus haze
Website: https://joscor.com
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
I have come to the conclusion that the PCI ethernet cards can only be detected (for me atleast) if they have an rj-45 connected to them on system bootup. Strange, but after I plugged the eth-line into the card, rebooted, and my os detected the card right off.
Website: https://joscor.com
eureka.
that was it.
I scanned for the maj/min id instead of the returned class codes and was able to find the eth cards in my device list. The class codes only returned a successful byte when the rj-45 was connected, but the id returned successful either way.
that was it.
I scanned for the maj/min id instead of the returned class codes and was able to find the eth cards in my device list. The class codes only returned a successful byte when the rj-45 was connected, but the id returned successful either way.
Website: https://joscor.com