mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
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).
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user