diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2011-01-16 22:44:12 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2011-01-16 23:07:47 -0800 |
commit | 4d155cbf37ca909daff06dd8c7119274d0861f6c (patch) | |
tree | fe9d460fb46097986fe234fddb3f9bd2935c8642 /src/libbiosdevname.h | |
parent | 9405281a9e16e55af687c98a83d327946953cc09 (diff) | |
download | vyatta-biosdevname-4d155cbf37ca909daff06dd8c7119274d0861f6c.tar.gz vyatta-biosdevname-4d155cbf37ca909daff06dd8c7119274d0861f6c.zip |
Merge upstream version 0.3.4.
(cherry picked from commit 21eb1c8d6fefa5dcd3a9a800b4add06d5c30c01f)
Diffstat (limited to 'src/libbiosdevname.h')
-rw-r--r-- | src/libbiosdevname.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/libbiosdevname.h b/src/libbiosdevname.h index c106a04..37eccb1 100644 --- a/src/libbiosdevname.h +++ b/src/libbiosdevname.h @@ -6,19 +6,12 @@ #ifndef LIBBIOSDEVNAME_H_INCLUDED #define LIBBIOSDEVNAME_H_INCLUDED -enum sortroutine { - defaultsort, - nosort, -}; - enum namingpolicy { + physical, all_ethN, - all_names, - embedded_ethN_slots_names, - kernelnames, }; -extern void * setup_bios_devices(int sortroutine, int namingpolicy); +extern void * setup_bios_devices(int namingpolicy, const char *prefix); extern void cleanup_bios_devices(void *cookie); extern char * kern_to_bios(void *cookie, const char *devname); extern void unparse_bios_devices(void *cookie); |