(20/42) hp100-T10
Subsystems (3)
PATCH 1/1 (20/42) hp100-T10
NE44-hp100
* convert to dynamic allocation
* use device model for PCI and EISA
* use pci id's to find PCI devices
* fix missing id's for 10 Mbit only PCI boards
drivers/net/Space.c +3 -8
@@ -41,7 +41,7 @@*/ extern int ne2_probe (struct net_device *dev); -extern int hp100_probe (struct net_device *dev); +extern struct net_device *hp100_probe (int unit);extern struct net_device *ultra_probe (int unit);extern int ultra32_probe (struct net_device *dev);extern struct net_device *wd_probe (int unit);
@@ -197,14 +197,10 @@* ISA probes that touch addresses < 0x400 (including those that also * look for EISA/PCI/MCA cards in addition to ISA cards). */ -static struct devprobe isa_probes[]__initdata = { +static struct devprobe2 isa_probes2[]__initdata = { #ifdef CONFIG_HP100 /* ISA, EISA & PCI */ {hp100_probe,0 }, #endif - {NULL ,0 }, -}; - -static struct devprobe2 isa_probes2[] __initdata = { #ifdef CONFIG_3C515 {tc515_probe,0 }, #endif
@@ -382,8 +378,7 @@if (probe_list (dev, m68k_probes) ==0 ||probe_list (dev, mips_probes) ==0 ||probe_list (dev, eisa_probes) ==0 || -probe_list (dev, mca_probes) ==0 || -probe_list (dev, isa_probes) ==0 ) +probe_list (dev, mca_probes) ==0 ) err =register_netdev (dev);if (err)
drivers/net/hp100.c +390 -353
994 lines not on this page · raw message
include/linux/pci_ids.h +2 -0
@@ -626,6 +626,8 @@#define PCI_DEVICE_ID_HP_TACHLITE 0x1029#define PCI_DEVICE_ID_HP_J2585A 0x1030#define PCI_DEVICE_ID_HP_J2585B 0x1031 +#define PCI_DEVICE_ID_HP_J2973A 0x1040 +#define PCI_DEVICE_ID_HP_J2970A 0x1042#define PCI_DEVICE_ID_HP_DIVA 0x1048#define PCI_DEVICE_ID_HP_DIVA_TOSCA1 0x1049#define PCI_DEVICE_ID_HP_DIVA_TOSCA2 0x104A