hd_int.h
Go to the documentation of this file.
#define PROC_CMDLINE "/proc/cmdline"
#define PROC_PCI_DEVICES "/proc/bus/pci/devices"
#define PROC_PCI_BUS "/proc/bus/pci"
#define PROC_CPUINFO "/proc/cpuinfo"
#define PROC_IOPORTS "/proc/ioports"
#define PROC_DMA "/proc/dma"
#define PROC_INTERRUPTS "/proc/interrupts"
#define PROC_NVRAM_22 "/proc/driver/nvram"
#define PROC_NVRAM_24 "/proc/nvram"
#define PROC_IDE "/proc/ide"
#define PROC_SCSI "/proc/scsi"
#define PROC_CDROM_INFO "/proc/sys/dev/cdrom/info"
#define PROC_NET_IF_INFO "/proc/net/dev"
#define PROC_MODULES "/proc/modules"
#define PROC_DRIVER_SERIAL "/proc/tty/driver/serial"
#define PROC_DRIVER_MACSERIAL "/proc/tty/driver/macserial"
#define PROC_PARPORT_22 "/proc/parport/" /* Final '/' is essential! */
#define PROC_PARPORT_24 "/proc/sys/dev/parport/parport"
#define PROC_KCORE "/proc/kcore"
// #define PROC_USB_DEVICES "/proc/bus/usb/devices"
#define PROC_USB_DEVICES "/proc/bus/usb/devices_please-use-sysfs-instead"
#define PROC_PROM "/proc/device-tree"
#define PROC_MEMINFO "/proc/meminfo"
#define PROC_VERSION "/proc/version"
#define PROC_ISAPNP "/proc/isapnp"
#define PROC_PARTITIONS "/proc/partitions"
#define PROC_APM "/proc/apm"
#define PROC_XEN_BALLOON "/proc/xen/balloon"
#define DEV_NVRAM "/dev/nvram"
#define DEV_PSAUX "/dev/psaux"
#define DEV_ADBMOUSE "/dev/adbmouse"
#define DEV_MEM "/dev/mem"
#define DEV_KBD "/dev/kbd"
#define DEV_CONSOLE "/dev/console"
#define DEV_OPENPROM "/dev/openprom"
#define DEV_SUNMOUSE "/dev/sunmouse"
#define DEV_MICE "/dev/input/mice"
#define DEV_FB "/dev/fb"
#define DEV_FB0 "/dev/fb0"
#define PROG_MODPROBE "/sbin/modprobe"
#define PROG_RMMOD "/sbin/rmmod"
#define PROG_CARDCTL "/sbin/cardctl"
#define PROG_UDEVINFO "/bin/udevinfo"
#define PROG_UDEVADM "/usr/bin/udevadm"
#define KLOG_BOOT "/var/log/boot.msg"
#define ISAPNP_CONF "/etc/isapnp.conf"
#define KERNEL_22 0x020200
#define KERNEL_24 0x020400
#define KERNEL_26 0x020600
#if defined(__s390__) || defined(__s390x__) || defined(__alpha__) || defined(LIBHD_TINY)
#define WITH_ISDN 0
#else
#define WITH_ISDN 1
#endif
// maximum attribute size in sysfs we expect
// (this is to avoid accidentally reading unlimited data)
#define MAX_ATTR_SIZE 0x10000
#define PROGRESS(a, b, c) progress(hd_data, a, b, c)
#define ADD2LOG(a...) hd_log_printf(hd_data, a)
/*
* define to make (hd_t).unique_id a hex string, otherwise it is a
* base64-like string
*/
#undef NUMERIC_UNIQUE_ID
/*
* Internal probing module numbers. Use mod_name_by_idx() outside of libhd.
*/
enum mod_idx {
mod_none, mod_memory, mod_pci, mod_isapnp, mod_pnpdump, mod_net,
mod_floppy, mod_misc, mod_bios, mod_cpu, mod_monitor, mod_mouse, mod_scsi,
mod_serial, mod_usb, mod_adb, mod_modem, mod_parallel, mod_isa, mod_isdn,
mod_kbd, mod_prom, mod_sbus, mod_int, mod_braille, mod_xtra, mod_sys,
mod_manual, mod_fb, mod_veth, mod_pppoe, mod_pcmcia, mod_s390,
mod_sysfs, mod_dsl, mod_block, mod_edd, mod_input, mod_wlan, mod_hal
};
void *new_mem(size_t size);
void *resize_mem(void *, size_t);
void *add_mem(void *, size_t, size_t);
char *new_str(const char *);
void *free_mem(void *);
int have_common_res(hd_res_t *res1, hd_res_t *res2);
void join_res_io(hd_res_t **res1, hd_res_t *res2);
void join_res_irq(hd_res_t **res1, hd_res_t *res2);
void join_res_dma(hd_res_t **res1, hd_res_t *res2);
hd_res_t *free_res_list(hd_res_t *res);
hd_res_t *add_res_entry(hd_res_t **res, hd_res_t *new_res);
hd_t *add_hd_entry(hd_data_t *hd_data, unsigned line, unsigned count);
misc_t *free_misc(misc_t *m);
scsi_t *free_scsi(scsi_t *scsi, int free_all);
hd_detail_t *free_hd_detail(hd_detail_t *d);
devtree_t *free_devtree(hd_data_t *hd_data);
void hd_add_id(hd_data_t *hd_data, hd_t *hd);
char *isa_id2str(unsigned);
char *eisa_vendor_str(unsigned);
unsigned name2eisa_id(char *);
char *canon_str(char *, int);
int hex(char *string, int digits);
void hd_log(hd_data_t *hd_data, char *buf, ssize_t len);
void hd_log_printf(hd_data_t *hd_data, char *format, ...) __attribute__ ((format (printf, 2, 3)));
void hd_log_hex(hd_data_t *hd_data, int with_ascii, unsigned data_len, unsigned char *data);
void str_printf(char **buf, int offset, char *format, ...) __attribute__ ((format (printf, 3, 4)));
void hexdump(char **buf, int with_ascii, unsigned data_len, unsigned char *data);
str_list_t *search_str_list(str_list_t *sl, char *str);
str_list_t *add_str_list(str_list_t **sl, char *str);
str_list_t *free_str_list(str_list_t *list);
str_list_t *reverse_str_list(str_list_t *list);
str_list_t *read_file(char *file_name, unsigned start_line, unsigned lines);
str_list_t *read_dir(char *dir_name, int type);
str_list_t *read_dir_canonical(char *dir_name, int type);
char *hd_read_sysfs_link(char *base_dir, char *link_name);
str_list_t *subcomponent_list(str_list_t *list, char *comp, int max);
int has_subcomponent(str_list_t *list, char *comp);
void progress(hd_data_t *hd_data, unsigned pos, unsigned count, char *msg);
void remove_hd_entries(hd_data_t *hd_data);
void remove_tagged_hd_entries(hd_data_t *hd_data);
driver_info_t *free_driver_info(driver_info_t *di);
int str2float(char *s, int n);
char *float2str(int i, int n);
/* return the file name of a module */
char *mod_name_by_idx(unsigned idx);
int hd_timeout(void(*func)(void *), void *arg, int timeout);
str_list_t *read_kmods(hd_data_t *hd_data);
char *get_cmd_param(hd_data_t *hd_data, int field);
#ifdef __i386__
/* smp/smp.c */
int detectSMP(void);
#endif
void update_irq_usage(hd_data_t *hd_data);
int run_cmd(hd_data_t *hd_data, char *cmd);
int load_module_with_params(hd_data_t *hd_data, char *module, char *params);
int load_module(hd_data_t *hd_data, char *module);
int unload_module(hd_data_t *hd_data, char *module);
int probe_module(hd_data_t *hd_data, char *module);
int cmp_hd(hd_t *hd1, hd_t *hd2);
unsigned has_something_attached(hd_data_t *hd_data, hd_t *hd);
str_list_t *get_cmdline(hd_data_t *hd_data, char *key);
int detect_smp_bios(hd_data_t *hd_data);
int detect_smp_prom(hd_data_t *hd_data);
unsigned char *read_block0(hd_data_t *hd_data, char *dev, int *timeout);
void hd_copy(hd_t *dst, hd_t *src);
/* parameter for gather_resources(,,, which) */
#define W_IO (1 << 0)
#define W_DMA (1 << 1)
#define W_IRQ (1 << 2)
void gather_resources(misc_t *m, hd_res_t **r, char *name, unsigned which);
char *vend_id2str(unsigned vend);
int hd_getdisksize(hd_data_t *hd_data, char *dev, int fd, hd_res_t **geo, hd_res_t **size);
str_list_t *hd_split(char del, const char *str);
char *hd_join(char *del, str_list_t *str);
int is_pnpinfo(ser_device_t *mi, int ofs);
int is_pcmcia_ctrl(hd_data_t *hd_data, hd_t *hd);
void hd_fork(hd_data_t *hd_data, int timeout, int total_timeout);
void hd_fork_done(hd_data_t *hd_data);
void hd_shm_init(hd_data_t *hd_data);
void hd_shm_clean(hd_data_t *hd_data);
void hd_shm_done(hd_data_t *hd_data);
void *hd_shm_add(hd_data_t *hd_data, void *ptr, unsigned len);
int hd_is_shm_ptr(hd_data_t *hd_data, void *ptr);
void hd_move_to_shm(hd_data_t *hd_data);
void read_udevinfo(hd_data_t *hd_data);
hd_t *hd_find_sysfs_id(hd_data_t *hd_data, char *id);
hd_t *hd_find_sysfs_id_devname(hd_data_t *hd_data, char *id, char *devname);
int hd_attr_uint(char* attr, uint64_t* u, int base);
str_list_t *hd_attr_list(char *str);
char *hd_sysfs_id(char *path);
char *hd_sysfs_name2_dev(char *str);
char *hd_sysfs_dev2_name(char *str);
void hd_sysfs_driver_list(hd_data_t *hd_data);
char *hd_sysfs_find_driver(hd_data_t *hd_data, char *sysfs_id, int exact);
int hd_report_this(hd_data_t *hd_data, hd_t *hd);
str_list_t *hd_module_list(hd_data_t *hd_data, unsigned id);
char* get_sysfs_attr(const char* bus, const char* device, const char* attr);
char *get_sysfs_attr_by_path(const char *path, const char *attr);
char *get_sysfs_attr_by_path2(const char *path, const char *attr, unsigned *len);
void hd_pci_complete_data(hd_t *hd);
void hd_pci_read_data(hd_data_t *hd_data);
hal_device_t *hd_free_hal_devices(hal_device_t *dev);
char *hd_hal_print_prop(hal_prop_t *prop);
void hal_invalidate(hal_prop_t *prop);
void hal_invalidate_all(hal_prop_t *prop, const char *key);
hal_prop_t *hal_get_any(hal_prop_t *prop, const char *key);
hal_prop_t *hal_get_bool(hal_prop_t *prop, const char *key);
hal_prop_t *hal_get_int32(hal_prop_t *prop, const char *key);
hal_prop_t *hal_get_str(hal_prop_t *prop, const char *key);
hal_prop_t *hal_get_list(hal_prop_t *prop, const char *key);
char *hal_get_useful_str(hal_prop_t *prop, const char *key);
hal_device_t *hal_find_device(hd_data_t *hd_data, char *udi);
hal_prop_t *hal_add_new(hal_prop_t **prop);
char *hd_get_hddb_dir(void);
char *hd_get_hddb_path(char *sub);
int hd_mod_cmp(char *str1, char *str2);
int get_probe_val_int(hd_data_t *hd_data, enum probe_feature feature);
char *get_probe_val_str(hd_data_t *hd_data, enum probe_feature feature);
str_list_t *get_probe_val_list(hd_data_t *hd_data, enum probe_feature feature);
str_list_t *sort_str_list(str_list_t *sl0, int (*cmp_func)(const void *, const void *));
#ifdef __cplusplus
}
#endif
line
static char line[1024]
Definition cdbisdn.c:29
hd_sysfs_find_driver
char * hd_sysfs_find_driver(hd_data_t *hd_data, char *sysfs_id, int exact)
Definition block.c:399
driver_info_t
union driver_info_u driver_info_t
hal_get_bool
hal_prop_t * hal_get_bool(hal_prop_t *prop, const char *key)
Definition hal.c:289
hal_find_device
hal_device_t * hal_find_device(hd_data_t *hd_data, char *udi)
Definition hal.c:248
hal_invalidate_all
void hal_invalidate_all(hal_prop_t *prop, const char *key)
Definition hal.c:271
hal_get_str
hal_prop_t * hal_get_str(hal_prop_t *prop, const char *key)
Definition hal.c:309
hal_get_int32
hal_prop_t * hal_get_int32(hal_prop_t *prop, const char *key)
Definition hal.c:299
hal_get_any
hal_prop_t * hal_get_any(hal_prop_t *prop, const char *key)
Definition hal.c:279
hal_get_list
hal_prop_t * hal_get_list(hal_prop_t *prop, const char *key)
Definition hal.c:338
hal_get_useful_str
char * hal_get_useful_str(hal_prop_t *prop, const char *key)
Definition hal.c:319
hal_invalidate
void hal_invalidate(hal_prop_t *prop)
Definition hal.c:262
hal_add_new
hal_prop_t * hal_add_new(hal_prop_t **prop)
Definition hal.c:348
hd_hal_print_prop
char * hd_hal_print_prop(hal_prop_t *prop)
Definition hal.c:439
str_list_t
struct s_str_list_t str_list_t
String list type.
scsi_t
struct scsi_s scsi_t
raw SCSI data
devtree_t
struct devtree_s devtree_t
PROM tree on PPC.
gather_resources
void gather_resources(misc_t *m, hd_res_t **r, char *name, unsigned which)
Definition misc.c:603
is_pnpinfo
int is_pnpinfo(ser_device_t *mi, int ofs)
Definition modem.c:852
hd_pci_complete_data
void hd_pci_complete_data(hd_t *hd)
Definition pci.c:479
hd_pci_read_data
void hd_pci_read_data(hd_data_t *hd_data)
Definition pci.c:144
hd_res_t
union u_hd_res_t hd_res_t
libhd resource union
hd_t
struct s_hd_t hd_t
Individual hardware item.
ser_device_t
struct s_ser_device_t ser_device_t
Serial device configuration information.
hal_device_t
struct hal_device_s hal_device_t
HAL device.
hal_prop_t
struct hal_prop_s hal_prop_t
HAL device properties.
probe_feature
probe_feature
flags to control the probing.
Definition hd.h:112
hd_free_hal_devices
hal_device_t * hd_free_hal_devices(hal_device_t *dev)
Definition hd.c:1109
hd_join
char * hd_join(char *del, str_list_t *str)
Definition hd.c:5216
hd_sysfs_driver_list
void hd_sysfs_driver_list(hd_data_t *hd_data)
Definition hd.c:5854
hd_get_hddb_path
char * hd_get_hddb_path(char *sub)
Definition hd.c:6045
read_kmods
str_list_t * read_kmods(hd_data_t *hd_data)
Definition hd.c:3628
get_sysfs_attr
char * get_sysfs_attr(const char *bus, const char *device, const char *attr)
Definition hd.c:6140
mod_name_by_idx
char * mod_name_by_idx(unsigned idx)
Definition hd.c:2345
probe_module
int probe_module(hd_data_t *hd_data, char *module)
Definition hd.c:3898
hd_shm_init
void hd_shm_init(hd_data_t *hd_data)
Definition hd.c:5502
join_res_irq
void join_res_irq(hd_res_t **res1, hd_res_t *res2)
Definition hd.c:1670
hd_fork_done
void hd_fork_done(hd_data_t *hd_data)
Definition hd.c:5446
run_cmd
int run_cmd(hd_data_t *hd_data, char *cmd)
Definition hd.c:3877
hd_move_to_shm
void hd_move_to_shm(hd_data_t *hd_data)
Definition hd.c:5635
load_module
int load_module(hd_data_t *hd_data, char *module)
Definition hd.c:3936
str2float
int str2float(char *s, int n)
Definition hd.c:2254
update_irq_usage
void update_irq_usage(hd_data_t *hd_data)
Definition hd.c:3850
subcomponent_list
str_list_t * subcomponent_list(str_list_t *list, char *comp, int max)
Definition hd.c:2701
free_driver_info
driver_info_t * free_driver_info(driver_info_t *di)
Definition hd.c:1128
hd_getdisksize
int hd_getdisksize(hd_data_t *hd_data, char *dev, int fd, hd_res_t **geo, hd_res_t **size)
Definition hd.c:5077
hd_get_hddb_dir
char * hd_get_hddb_dir(void)
Definition hd.c:6034
free_mem
void * free_mem(void *)
Definition hd.c:1615
free_res_list
hd_res_t * free_res_list(hd_res_t *res)
Definition hd.c:1747
hd_attr_uint
int hd_attr_uint(char *attr, uint64_t *u, int base)
Definition hd.c:6058
hd_split
str_list_t * hd_split(char del, const char *str)
Definition hd.c:5197
float2str
char * float2str(int f, int n)
Definition hd.c:2285
hd_sysfs_id
char * hd_sysfs_id(char *path)
Definition hd.c:6089
hd_shm_clean
void hd_shm_clean(hd_data_t *hd_data)
Definition hd.c:5542
vend_id2str
char * vend_id2str(unsigned vend)
Definition hd.c:4490
hex
int hex(char *string, int digits)
Definition hd.c:2240
add_mem
void * add_mem(void *, size_t, size_t)
Definition hd.c:1584
get_sysfs_attr_by_path2
char * get_sysfs_attr_by_path2(const char *path, const char *attr, unsigned *len)
Definition hd.c:6165
hd_timeout
int hd_timeout(void(*func)(void *), void *arg, int timeout)
Definition hd.c:3575
get_cmd_param
char * get_cmd_param(hd_data_t *hd_data, int field)
Definition hd.c:3708
remove_tagged_hd_entries
void remove_tagged_hd_entries(hd_data_t *hd_data)
Definition hd.c:2819
has_something_attached
unsigned has_something_attached(hd_data_t *hd_data, hd_t *hd)
Definition hd.c:4184
eisa_vendor_str
char * eisa_vendor_str(unsigned)
Definition hd.c:2175
hd_shm_done
void hd_shm_done(hd_data_t *hd_data)
Definition hd.c:5564
hd_sysfs_name2_dev
char * hd_sysfs_name2_dev(char *str)
Definition hd.c:6101
unload_module
int unload_module(hd_data_t *hd_data, char *module)
Definition hd.c:3941
read_block0
unsigned char * read_block0(hd_data_t *hd_data, char *dev, int *timeout)
Definition hd.c:4409
hd_module_list
str_list_t * hd_module_list(hd_data_t *hd_data, unsigned id)
Definition hd.c:5938
cmp_hd
int cmp_hd(hd_t *hd1, hd_t *hd2)
Definition hd.c:3960
hexdump
void hexdump(char **buf, int with_ascii, unsigned data_len, unsigned char *data)
Definition hd.c:2461
read_dir_canonical
str_list_t * read_dir_canonical(char *dir_name, int type)
Definition hd.c:2658
read_file
str_list_t * read_file(char *file_name, unsigned start_line, unsigned lines)
Definition hd.c:2548
name2eisa_id
unsigned name2eisa_id(char *)
Definition hd.c:2191
hd_read_sysfs_link
char * hd_read_sysfs_link(char *base_dir, char *link_name)
Definition hd.c:2674
new_mem
void * new_mem(size_t size)
Definition hd.c:1556
new_str
char * new_str(const char *)
Definition hd.c:1598
have_common_res
int have_common_res(hd_res_t *res1, hd_res_t *res2)
Definition hd.c:1713
sort_str_list
str_list_t * sort_str_list(str_list_t *sl0, int(*cmp_func)(const void *, const void *))
Definition hd.c:6226
is_pcmcia_ctrl
int is_pcmcia_ctrl(hd_data_t *hd_data, hd_t *hd)
Definition hd.c:5247
hd_find_sysfs_id
hd_t * hd_find_sysfs_id(hd_data_t *hd_data, char *id)
Definition hd.c:5798
hd_fork
void hd_fork(hd_data_t *hd_data, int timeout, int total_timeout)
Definition hd.c:5349
get_probe_val_list
str_list_t * get_probe_val_list(hd_data_t *hd_data, enum probe_feature feature)
Definition hd.c:436
hd_log_hex
void hd_log_hex(hd_data_t *hd_data, int with_ascii, unsigned data_len, unsigned char *data)
Definition hd.c:2398
hd_copy
void hd_copy(hd_t *dst, hd_t *src)
Definition hd.c:3271
free_hd_detail
hd_detail_t * free_hd_detail(hd_detail_t *d)
Definition hd.c:1234
get_sysfs_attr_by_path
char * get_sysfs_attr_by_path(const char *path, const char *attr)
Definition hd.c:6156
free_scsi
scsi_t * free_scsi(scsi_t *scsi, int free_all)
Definition hd.c:1493
isa_id2str
char * isa_id2str(unsigned)
Definition hd.c:2160
join_res_io
void join_res_io(hd_res_t **res1, hd_res_t *res2)
Definition hd.c:1622
str_printf
void str_printf(char **buf, int offset, char *format,...)
Definition hd.c:2422
hd_find_sysfs_id_devname
hd_t * hd_find_sysfs_id_devname(hd_data_t *hd_data, char *id, char *devname)
Definition hd.c:5812
hd_log
void hd_log(hd_data_t *hd_data, char *buf, ssize_t len)
Definition hd.c:2356
add_res_entry
hd_res_t * add_res_entry(hd_res_t **res, hd_res_t *new_res)
Definition hd.c:1790
hd_attr_list
str_list_t * hd_attr_list(char *str)
Definition hd.c:6076
hd_shm_add
void * hd_shm_add(hd_data_t *hd_data, void *ptr, unsigned len)
Definition hd.c:5577
get_probe_val_int
int get_probe_val_int(hd_data_t *hd_data, enum probe_feature feature)
Definition hd.c:406
load_module_with_params
int load_module_with_params(hd_data_t *hd_data, char *module, char *params)
Definition hd.c:3917
hd_report_this
int hd_report_this(hd_data_t *hd_data, hd_t *hd)
Definition hd.c:5928
add_hd_entry
hd_t * add_hd_entry(hd_data_t *hd_data, unsigned line, unsigned count)
Definition hd.c:1798
progress
void progress(hd_data_t *hd_data, unsigned pos, unsigned count, char *msg)
Definition hd.c:2742
read_udevinfo
void read_udevinfo(hd_data_t *hd_data)
Definition hd.c:5701
canon_str
char * canon_str(char *, int)
Definition hd.c:2212
hd_mod_cmp
int hd_mod_cmp(char *str1, char *str2)
Definition hd.c:6206
hd_is_shm_ptr
int hd_is_shm_ptr(hd_data_t *hd_data, void *ptr)
Definition hd.c:5601
hd_sysfs_dev2_name
char * hd_sysfs_dev2_name(char *str)
Definition hd.c:6122
free_misc
misc_t * free_misc(misc_t *m)
Definition hd.c:1460
remove_hd_entries
void remove_hd_entries(hd_data_t *hd_data)
Definition hd.c:2801
hd_add_id
void hd_add_id(hd_data_t *hd_data, hd_t *hd)
Definition hd.c:4296
resize_mem
void * resize_mem(void *, size_t)
Definition hd.c:1572
free_devtree
devtree_t * free_devtree(hd_data_t *hd_data)
Definition hd.c:4365
has_subcomponent
int has_subcomponent(str_list_t *list, char *comp)
Definition hd.c:2728
read_dir
str_list_t * read_dir(char *dir_name, int type)
Definition hd.c:2597
join_res_dma
void join_res_dma(hd_res_t **res1, hd_res_t *res2)
Definition hd.c:1690
get_probe_val_str
char * get_probe_val_str(hd_data_t *hd_data, enum probe_feature feature)
Definition hd.c:421
get_cmdline
str_list_t * get_cmdline(hd_data_t *hd_data, char *key)
Definition hd.c:3653
hd_log_printf
void hd_log_printf(hd_data_t *hd_data, char *format,...) __attribute__((format(printf
mod_idx
mod_idx
Definition hd_int.h:77
mod_scsi
@ mod_scsi
Definition hd_int.h:79
mod_parallel
@ mod_parallel
Definition hd_int.h:80
mod_usb
@ mod_usb
Definition hd_int.h:80
mod_floppy
@ mod_floppy
Definition hd_int.h:79
mod_none
@ mod_none
Definition hd_int.h:78
mod_hal
@ mod_hal
Definition hd_int.h:83
mod_mouse
@ mod_mouse
Definition hd_int.h:79
mod_bios
@ mod_bios
Definition hd_int.h:79
mod_cpu
@ mod_cpu
Definition hd_int.h:79
mod_manual
@ mod_manual
Definition hd_int.h:82
mod_memory
@ mod_memory
Definition hd_int.h:78
mod_int
@ mod_int
Definition hd_int.h:81
mod_braille
@ mod_braille
Definition hd_int.h:81
mod_net
@ mod_net
Definition hd_int.h:78
mod_serial
@ mod_serial
Definition hd_int.h:80
mod_isdn
@ mod_isdn
Definition hd_int.h:80
mod_dsl
@ mod_dsl
Definition hd_int.h:83
mod_sys
@ mod_sys
Definition hd_int.h:81
mod_isapnp
@ mod_isapnp
Definition hd_int.h:78
mod_sysfs
@ mod_sysfs
Definition hd_int.h:83
mod_adb
@ mod_adb
Definition hd_int.h:80
mod_misc
@ mod_misc
Definition hd_int.h:79
mod_prom
@ mod_prom
Definition hd_int.h:81
mod_fb
@ mod_fb
Definition hd_int.h:82
mod_monitor
@ mod_monitor
Definition hd_int.h:79
mod_sbus
@ mod_sbus
Definition hd_int.h:81
mod_modem
@ mod_modem
Definition hd_int.h:80
mod_pnpdump
@ mod_pnpdump
Definition hd_int.h:78
mod_isa
@ mod_isa
Definition hd_int.h:80
mod_pci
@ mod_pci
Definition hd_int.h:78
mod_veth
@ mod_veth
Definition hd_int.h:82
mod_edd
@ mod_edd
Definition hd_int.h:83
mod_block
@ mod_block
Definition hd_int.h:83
mod_xtra
@ mod_xtra
Definition hd_int.h:81
mod_pcmcia
@ mod_pcmcia
Definition hd_int.h:82
mod_pppoe
@ mod_pppoe
Definition hd_int.h:82
mod_kbd
@ mod_kbd
Definition hd_int.h:81
mod_wlan
@ mod_wlan
Definition hd_int.h:83
mod_input
@ mod_input
Definition hd_int.h:83
mod_s390
@ mod_s390
Definition hd_int.h:82
add_str_list
str_list_t * add_str_list(str_list_t **sl, char *str)
detect_smp_prom
int detect_smp_prom(hd_data_t *hd_data)
reverse_str_list
str_list_t * reverse_str_list(str_list_t *list)
search_str_list
str_list_t * search_str_list(str_list_t *sl, char *str)
free_str_list
str_list_t * free_str_list(str_list_t *list)
detect_smp_bios
int detect_smp_bios(hd_data_t *hd_data)
module
@ module
Definition isdn_cdb_def.h:22
feature
@ feature
Definition isdn_cdb_def.h:25
device
@ device
Definition isdn_cdb_def.h:6
hd_data
static hd_data_t * hd_data
Definition pppoe.c:30
hd_data_t
Holds all data accumulated during hardware probing.
Definition hd.h:2609
misc_t
Definition hd.h:1876
hd_detail_t
Definition hd.h:2146