mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 04:50:25 +03:00
Implemented (untested) PXENV_START_UNDI.
This commit is contained in:
@@ -49,7 +49,8 @@
|
||||
/* Port addresses */
|
||||
#define ISAPNP_ADDRESS 0x279
|
||||
#define ISAPNP_WRITE_DATA 0xa79
|
||||
#define ISAPNP_READ_PORT_MIN 0x213 /* ISAPnP spec says 0x203, but
|
||||
#define ISAPNP_READ_PORT_MIN 0x203
|
||||
#define ISAPNP_READ_PORT_START 0x213 /* ISAPnP spec says 0x203, but
|
||||
* Linux ISAPnP starts at
|
||||
* 0x213 with no explanatory
|
||||
* comment. 0x203 probably
|
||||
@@ -63,6 +64,10 @@
|
||||
* any value less than 16.
|
||||
*/
|
||||
|
||||
/* Card select numbers */
|
||||
#define ISAPNP_CSN_MIN 0x01
|
||||
#define ISAPNP_CSN_MAX 0x0f
|
||||
|
||||
/* Registers */
|
||||
#define ISAPNP_READPORT 0x00
|
||||
#define ISAPNP_SERIALISOLATION 0x01
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user