diff options
author | Michael Brown | 2007-07-03 19:17:14 +0200 |
---|---|---|
committer | Michael Brown | 2007-07-03 19:17:14 +0200 |
commit | 0924cf678e67020de2e928dbbe773e45be1c8551 (patch) | |
tree | b87e818d32b7a35c73dcf4c9c30b43db09ef03bf /src/include/gpxe/netdevice.h | |
parent | Report our interface type as "gPXE" to avoid working around Etherboot (diff) | |
download | ipxe-0924cf678e67020de2e928dbbe773e45be1c8551.tar.gz ipxe-0924cf678e67020de2e928dbbe773e45be1c8551.tar.xz ipxe-0924cf678e67020de2e928dbbe773e45be1c8551.zip |
Implemented (untested) PXENV_START_UNDI.
Diffstat (limited to 'src/include/gpxe/netdevice.h')
-rw-r--r-- | src/include/gpxe/netdevice.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/gpxe/netdevice.h b/src/include/gpxe/netdevice.h index c0df7c96..0bc5311c 100644 --- a/src/include/gpxe/netdevice.h +++ b/src/include/gpxe/netdevice.h @@ -289,8 +289,9 @@ netdev_put ( struct net_device *netdev ) { } extern int netdev_tx ( struct net_device *netdev, struct io_buffer *iobuf ); -void netdev_tx_complete ( struct net_device *netdev, struct io_buffer *iobuf ); -void netdev_tx_complete_next ( struct net_device *netdev ); +extern void netdev_tx_complete ( struct net_device *netdev, + struct io_buffer *iobuf ); +extern void netdev_tx_complete_next ( struct net_device *netdev ); extern void netdev_rx ( struct net_device *netdev, struct io_buffer *iobuf ); extern int netdev_poll ( struct net_device *netdev, unsigned int rx_quota ); extern struct io_buffer * netdev_rx_dequeue ( struct net_device *netdev ); @@ -299,9 +300,9 @@ extern int register_netdev ( struct net_device *netdev ); extern int netdev_open ( struct net_device *netdev ); extern void netdev_close ( struct net_device *netdev ); extern void unregister_netdev ( struct net_device *netdev ); -struct net_device * find_netdev ( const char *name ); -struct net_device * find_pci_netdev ( unsigned int busdevfn ); - +extern struct net_device * find_netdev ( const char *name ); +extern struct net_device * find_netdev_by_location ( unsigned int bus_type, + unsigned int location ); extern int net_tx ( struct io_buffer *iobuf, struct net_device *netdev, struct net_protocol *net_protocol, const void *ll_dest ); extern int net_rx ( struct io_buffer *iobuf, struct net_device *netdev, |