pxe_netdev now holds a reference to the network device.

Use generic fields in struct device_description rather than assuming
that the struct device * is contained within a pci_device or
isapnp_device; this assumption is broken when using the undionly
driver.

Add PXENV_UNDI_SET_STATION_ADDRESS.
This commit is contained in:
Michael Brown
2007-07-02 17:43:32 +01:00
parent 8febe42f78
commit 5f17089b14
7 changed files with 64 additions and 57 deletions

View File

@@ -27,6 +27,12 @@ struct device_description {
unsigned int vendor;
/** Device ID */
unsigned int device;
/** Device class */
unsigned long class;
/** I/O address */
unsigned long ioaddr;
/** IRQ */
unsigned int irq;
};
/** PCI bus type */

View File

@@ -137,4 +137,6 @@ struct pcir_header {
extern struct net_device *pxe_netdev;
extern void pxe_set_netdev ( struct net_device *netdev );
#endif /* PXE_H */