[tcp] Allow out-of-order receive queue to be discarded
[gpxe.git] / src / arch / i386 / include / undirom.h
blob86d7077b58f4cf6a821391733311c8bb95741905
1 #ifndef _UNDIROM_H
2 #define _UNDIROM_H
4 /** @file
6 * UNDI expansion ROMs
8 */
10 FILE_LICENCE ( GPL2_OR_LATER );
12 #include <pxe_types.h>
14 /** An UNDI PCI device ID */
15 struct undi_pci_device_id {
16 /** PCI vendor ID */
17 unsigned int vendor_id;
18 /** PCI device ID */
19 unsigned int device_id;
22 /** An UNDI device ID */
23 union undi_device_id {
24 /** PCI device ID */
25 struct undi_pci_device_id pci;
28 /** An UNDI ROM */
29 struct undi_rom {
30 /** List of UNDI ROMs */
31 struct list_head list;
32 /** ROM segment address */
33 unsigned int rom_segment;
34 /** UNDI loader entry point */
35 SEGOFF16_t loader_entry;
36 /** Code segment size */
37 size_t code_size;
38 /** Data segment size */
39 size_t data_size;
40 /** Bus type
42 * Values are as used by @c PXENV_UNDI_GET_NIC_TYPE
44 unsigned int bus_type;
45 /** Device ID */
46 union undi_device_id bus_id;
49 extern struct undi_rom * undirom_find_pci ( unsigned int vendor_id,
50 unsigned int device_id,
51 unsigned int rombase );
53 #endif /* _UNDIROM_H */