david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Manual tweaks to get all drivers to follow the "disable, poll, transmit,

irq" pattern.
This commit is contained in:
Michael Brown 2005-04-12 23:47:52 +00:00
parent 881023e9ca
commit d9c64c9422
6 changed files with 6 additions and 4 deletions

View File

@ -766,6 +766,7 @@ static int mtd_probe ( struct dev *dev ) {
dev->disable = mtd_disable;
nic->poll = mtd_poll;
nic->transmit = mtd_transmit;
nic->irq = dummy_irq;
return 1;
}

View File

@ -946,9 +946,9 @@ static int pcnet32_probe ( struct dev *dev ) {
printf("\n");
}
dev->disable = pcnet32_disable;
nic->poll = pcnet32_poll;
nic->transmit = pcnet32_transmit;
dev->disable = pcnet32_disable;
nic->irq = pcnet32_irq;
return 1;

View File

@ -834,8 +834,8 @@ static int r8169_probe ( struct dev *dev ) {
dev->disable = r8169_disable;
nic->poll = r8169_poll;
nic->transmit = r8169_transmit;
nic->irqno = pci->irq;
nic->irq = r8169_irq;
nic->irqno = pci->irq;
nic->ioaddr = ioaddr;
return 1;

View File

@ -177,6 +177,7 @@ static int skel_isa_probe(struct dev *dev, unsigned short *probe_addrs)
dev->disable = skel_disable;
nic->poll = skel_poll;
nic->transmit = skel_transmit;
nic->irq = skel_irq;
/* Report the ISA pnp id of the board */
dev->devid.vendor_id = htons(GENERIC_ISAPNP_VENDOR);

View File

@ -738,8 +738,8 @@ static int sundance_probe ( struct dev *dev ) {
dev->disable = sundance_disable;
nic->poll = sundance_poll;
nic->transmit = sundance_transmit;
nic->irqno = pci->irq;
nic->irq = sundance_irq;
nic->irqno = pci->irq;
nic->ioaddr = BASE;
return 1;

View File

@ -967,8 +967,8 @@ rhine_probe ( struct dev *dev ) {
dev->disable = rhine_disable;
nic->poll = rhine_poll;
nic->transmit = rhine_transmit;
nic->irqno = pci->irq;
nic->irq = rhine_irq;
nic->irqno = pci->irq;
nic->ioaddr = tp->ioaddr;