pci_first_dev

2 views
Skip to first unread message

Iggo

unread,
Nov 20, 2009, 2:54:37 PM11/20/09
to minix3
Ok... I'm doing lots of experiments.. but always the same results.

I have two minix3 istances in qemu, one with rtl8139nic and another
with ne2k_pci nic.
The hd images are identical and each of them loads a modified rtl8139
driver with some printf to follow the path.
They start with DL_GETNAME and after an eth_restart (from mnx_eth.c)
they call pci_init and pci_first_dev to get devind vid and did. In
the minix with the 8139 obviusly works, in ne2k_pci minix they'r
values are 16880,32767,65340 like before calling pci_first_dev.
I think that there must be a place where you tell the pci_driver the
values of which pci device you need... but I can't find it.

Some one can enlight me?

Thank you very much, Iggo.

Iggo

unread,
Nov 20, 2009, 3:56:14 PM11/20/09
to minix3
Ok, in the minix chat mrf00 pointed me to driver.conf, so I think I
will solve.
If some one knows about where to find info about that file it will be
great!

Thank you!

Erik van der Kouwe

unread,
Nov 20, 2009, 4:51:42 PM11/20/09
to minix3
Hi,

"netconf" is the most convenient way to change it.

With kind regards,
Erik
Reply all
Reply to author
Forward
0 new messages