10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
12 #include <pxe_types.h>
14 /** An UNDI PCI device ID */
15 struct undi_pci_device_id {
17 unsigned int vendor_id;
19 unsigned int device_id;
22 /** An UNDI device ID */
23 union undi_device_id {
25 struct undi_pci_device_id pci;
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 */
38 /** Data segment size */
42 * Values are as used by @c PXENV_UNDI_GET_NIC_TYPE
44 unsigned int bus_type;
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 */