diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-03 20:57:10 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-03 20:57:10 +0000 |
commit | e09dc777c274c5022a21527dde6390d94d8b4621 (patch) | |
tree | 4b083621b4815439280c6a1a63d7ca57526babbd /mdk-stage1 | |
parent | a34035be3e7639bd206f1ee12e1b45033944fb3f (diff) | |
download | drakx-e09dc777c274c5022a21527dde6390d94d8b4621.tar drakx-e09dc777c274c5022a21527dde6390d94d8b4621.tar.gz drakx-e09dc777c274c5022a21527dde6390d94d8b4621.tar.bz2 drakx-e09dc777c274c5022a21527dde6390d94d8b4621.tar.xz drakx-e09dc777c274c5022a21527dde6390d94d8b4621.zip |
export find_media function
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/probing.c | 2 | ||||
-rw-r--r-- | mdk-stage1/probing.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index fab0f5d02..ce8b48181 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -503,7 +503,7 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u static struct media_info * medias = NULL; -static void find_media(enum media_bus bus) +void find_media(enum media_bus bus) { char b[50]; char buf[5000]; diff --git a/mdk-stage1/probing.h b/mdk-stage1/probing.h index ed1af8ea6..7dc1d3360 100644 --- a/mdk-stage1/probing.h +++ b/mdk-stage1/probing.h @@ -28,6 +28,7 @@ enum driver_type { SCSI_ADAPTERS, NETWORK_DEVICES, USB_CONTROLLERS, ANY_DRIVER_T enum media_bus { BUS_IDE, BUS_SCSI, BUS_USB, BUS_PCMCIA, BUS_ANY }; +void find_media(enum media_bus bus); void get_medias(enum media_type media, char *** names, char *** models, enum media_bus bus); char ** get_net_devices(void); void net_discovered_interface(char * intf_name); |