mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
Tweak API to allow separation of bus-scanning and device-probing logic.
This commit is contained in:
@@ -25,10 +25,9 @@
|
||||
* A physical EISA device
|
||||
*
|
||||
*/
|
||||
struct dev;
|
||||
struct eisa_device {
|
||||
char *magic; /* must be first */
|
||||
struct dev *dev;
|
||||
const char *name;
|
||||
unsigned int slot;
|
||||
uint16_t ioaddr;
|
||||
uint16_t mfg_id;
|
||||
@@ -69,9 +68,10 @@ struct eisa_driver {
|
||||
* Functions in eisa.c
|
||||
*
|
||||
*/
|
||||
extern struct eisa_device * eisa_device ( struct dev *dev );
|
||||
extern int find_eisa_device ( struct eisa_device *eisa,
|
||||
struct eisa_driver *driver );
|
||||
extern int find_eisa_boot_device ( struct dev *dev,
|
||||
struct eisa_driver *driver );
|
||||
extern void enable_eisa_device ( struct eisa_device *eisa );
|
||||
|
||||
#endif /* EISA_H */
|
||||
|
||||
Reference in New Issue
Block a user