uint16_t reserved_1;
uint16_t dlen;
uint8_t drevision;
- uint8_t class_hi;
- uint16_t class_lo;
+ uint8_t class_lo;
+ uint16_t class_hi;
uint16_t ilen;
uint16_t irevision;
uint8_t type;
uint16_t reserved_2;
};
-extern struct rom_header * pci_rom_probe(struct device *dev);
-extern struct rom_header *pci_rom_load(struct device *dev, struct rom_header *rom_header);
+struct rom_header *pci_rom_probe(struct device *dev);
+struct rom_header *pci_rom_load(struct device *dev, struct rom_header *rom_header);
+u32 __attribute__((weak)) map_oprom_vendev(u32 vendev);
#endif