Add more identifiers to drivers.conf for orinoco and rtl8137.

Increase RSS_NR_PCI_ID and remove dumplicate reference
to /etc/drivers.conf; each such reference uses _PATH_DRIVERS_CONF
from <minix/paths.h> now.
This commit is contained in:
Erik van der Kouwe 2009-10-14 07:20:13 +00:00
parent abdf8e26fb
commit 44a4c8c0d2
4 changed files with 25 additions and 3 deletions

View file

@ -98,7 +98,11 @@ cards()
card 0 "No Ethernet card (no networking)"
card 1 "Intel Pro/100" "8086:103D" "8086:1064" "8086:1229" "8086:2449"
card 2 "3Com 501 or 3Com 509 based card"
card 3 "Realtek 8139 based card (also emulated by KVM)" "10EC:8139"
card 3 "Realtek 8139 based card (also emulated by KVM)" \
"10EC:8139" "02AC:1012" "1065:8139" "1113:1211" "1186:1300" \
"1186:1340" "11DB:1234" "1259:A117" "1259:A11E" "126C:1211" \
"13D1:AB06" "1432:9130" "14EA:AB06" "14EA:AB07" "1500:1360" \
"1743:8139" "4033:1360"
card 4 "Realtek 8029 based card (also emulated by Qemu)" "10EC:8029"
card 5 "NE2000, 3com 503 or WD based card (also emulated by Bochs)"
card 6 "AMD LANCE (also emulated by VMWare and VirtualBox)" "1022:2000"

View file

@ -92,6 +92,22 @@ driver rtl8139
SYSCTL
;
pci device 10ec/8139;
pci device 02ac/1012;
pci device 1065/8139;
pci device 1113/1211;
pci device 1186/1300;
pci device 1186/1340;
pci device 11db/1234;
pci device 1259/a117;
pci device 1259/a11e;
pci device 126c/1211;
pci device 13d1/ab06;
pci device 1432/9130;
pci device 14ea/ab06;
pci device 14ea/ab07;
pci device 1500/1360;
pci device 1743/8139;
pci device 4033/1360;
ipc
SYSTEM PM RS LOG TTY DS VM
pci inet amddev
@ -341,6 +357,7 @@ driver orinoco
SYSCTL
;
pci device 1260/3873;
pci device 1186/1300;
uid 0;
};

View file

@ -8,7 +8,7 @@ Interface to the reincarnation server
#define RSS_NR_IRQ 16
#define RSS_NR_IO 16
#define RSS_NR_PCI_ID 16
#define RSS_NR_PCI_ID 20
#define RSS_NR_PCI_CLASS 4
#define RSS_NR_SYSTEM 2

View file

@ -23,6 +23,7 @@
#include <minix/syslib.h>
#include <minix/sysinfo.h>
#include <minix/bitmap.h>
#include <minix/paths.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <configfile.h>
@ -46,7 +47,7 @@ PRIVATE char *known_requests[] = {
#define RUN_CMD "run"
#define RUN_SCRIPT "/etc/rs.single" /* Default script for 'run' */
#define PATH_CONFIG "/etc/drivers.conf" /* Default config file */
#define PATH_CONFIG _PATH_DRIVERS_CONF /* Default config file */
/* Define names for arguments provided to this utility. The first few
* arguments are required and have a known index. Thereafter, some optional