diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-01-10 04:22:09 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-01-10 04:22:09 +0000 |
commit | dad52745227fd06090e73ea535e0b0fe0f667c60 (patch) | |
tree | 6be296bedc785a5aab0d055ae148c6ffb1fe285f /src/drivers/net/pcnet32.c | |
parent | cc9b32c405ef57f636f0b91c04edbbd7bcee68ef (diff) | |
download | ipxe-dad52745227fd06090e73ea535e0b0fe0f667c60.tar.gz |
Add "name" field to struct device to allow human-readable hardware device
names.
Add "dev" pointer in struct net_device to tie network interfaces back to a
hardware device.
Force natural alignment of data types in __table() macros. This seems to
prevent gcc from taking the unilateral decision to occasionally increase
their alignment (which screws up the table packing).
Diffstat (limited to 'src/drivers/net/pcnet32.c')
-rw-r--r-- | src/drivers/net/pcnet32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/pcnet32.c b/src/drivers/net/pcnet32.c index 179e3ca5a..8997603db 100644 --- a/src/drivers/net/pcnet32.c +++ b/src/drivers/net/pcnet32.c @@ -678,7 +678,7 @@ static int pcnet32_probe ( struct nic *nic, struct pci_device *pci ) { /* BASE is used throughout to address the card */ ioaddr = pci->ioaddr; printf("pcnet32.c: Found %s, Vendor=0x%hX Device=0x%hX\n", - pci->name, pci->vendor, pci->device); + pci->driver_name, pci->vendor, pci->device); nic->irqno = 0; pci_fill_nic ( nic, pci ); |