hd.h
Go to the documentation of this file.
#ifndef _HD_H
#define _HD_H
#ifdef __cplusplus
extern "C" {
#endif
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*
* libhd data structures
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
#define HD_VERSION 0 /* will be set during install */
#define HD_MINOR_VERSION 0 /* will be set during install */
#define HD_FULL_VERSION (HD_VERSION * 1000 + HD_MINOR_VERSION)
#define HD_DEB_SHOW_LOG (1 << 0)
#define HD_DEB_PROGRESS (1 << 1)
#define HD_DEB_CREATION (1 << 2)
#define HD_DEB_DRIVER_INFO (1 << 3)
#define HD_DEB_PCI (1 << 4)
#define HD_DEB_ISAPNP (1 << 5)
#define HD_DEB_CDROM (1 << 6)
#define HD_DEB_NET (1 << 7)
#define HD_DEB_FLOPPY (1 << 8)
#define HD_DEB_MISC (1 << 9)
#define HD_DEB_SERIAL (1 << 10)
#define HD_DEB_MONITOR (1 << 11)
#define HD_DEB_CPU (1 << 12)
#define HD_DEB_BIOS (1 << 13)
#define HD_DEB_MOUSE (1 << 14)
#define HD_DEB_IDE (1 << 15)
#define HD_DEB_SCSI (1 << 16)
#define HD_DEB_USB (1 << 17)
#define HD_DEB_ADB (1 << 18)
#define HD_DEB_MODEM (1 << 19)
#define HD_DEB_PARALLEL (1 << 20)
#define HD_DEB_ISA (1 << 21)
#define HD_DEB_BOOT (1 << 22)
#define HD_DEB_HDDB (1 << 23)
#include <stdio.h>
#include <inttypes.h>
#include <termios.h>
#include <sys/types.h>
//typedef struct vm_s vm_t;
#define HARDWARE_DIR "/var/lib/hardware"
#define TAG_PCI 1
#define TAG_EISA 2
#define TAG_USB 3
#define TAG_SPECIAL 4
#define TAG_PCMCIA 5
#define TAG_SDIO 6
#define ID_VALUE(id) ((id) & 0xffff)
#define ID_TAG(id) (((id) >> 16) & 0xf)
#define MAKE_ID(tag, id_val) ((tag << 16) | (id_val))
typedef enum probe_feature {
pr_memory = 1, pr_pci, pr_isapnp, pr_net, pr_floppy, pr_misc,
pr_misc_serial, pr_misc_par, pr_misc_floppy, pr_serial, pr_cpu, pr_bios,
pr_monitor, pr_mouse, pr_scsi, pr_usb, pr_usb_mods, pr_adb, pr_modem,
pr_modem_usb, pr_parallel, pr_parallel_lp, pr_parallel_zip, pr_isa,
pr_isa_isdn, pr_isdn, pr_kbd, pr_prom, pr_sbus, pr_int, pr_braille,
pr_braille_alva, pr_braille_fhp, pr_braille_ht, pr_ignx11, pr_sys,
pr_bios_vbe, pr_isapnp_old, pr_isapnp_new, pr_isapnp_mod, pr_braille_baum,
pr_manual, pr_fb, pr_veth, pr_pppoe, pr_scan, pr_pcmcia, pr_fork,
pr_parallel_imm, pr_s390, pr_cpuemu, pr_sysfs, pr_s390disks, pr_udev,
pr_block, pr_block_cdrom, pr_block_part, pr_edd, pr_edd_mod, pr_bios_ddc,
pr_bios_fb, pr_bios_mode, pr_input, pr_block_mods, pr_bios_vesa,
pr_cpuemu_debug, pr_scsi_noserial, pr_wlan, pr_bios_crc, pr_hal,
pr_bios_vram, pr_bios_acpi, pr_bios_ddc_ports, pr_modules_pata,
pr_net_eeprom, pr_x86emu,
pr_max, pr_lxrc, pr_default,
pr_all
} hd_probe_feature_t;
typedef enum hw_item {
hw_none = 0, hw_sys, hw_cpu, hw_keyboard, hw_braille, hw_mouse,
hw_joystick, hw_printer, hw_scanner, hw_chipcard, hw_monitor, hw_tv,
hw_display, hw_framebuffer, hw_camera, hw_sound, hw_storage_ctrl,
hw_network_ctrl, hw_isdn, hw_modem, hw_network, hw_disk, hw_partition,
hw_cdrom, hw_floppy, hw_manual, hw_usb_ctrl, hw_usb, hw_bios, hw_pci,
hw_isapnp, hw_bridge, hw_hub, hw_scsi, hw_ide, hw_memory, hw_dvb,
hw_pcmcia, hw_pcmcia_ctrl, hw_ieee1394, hw_ieee1394_ctrl, hw_hotplug,
hw_hotplug_ctrl, hw_zip, hw_pppoe, hw_wlan, hw_redasd, hw_dsl, hw_block,
hw_tape, hw_vbe, hw_bluetooth, hw_fingerprint, hw_mmc_ctrl,
hw_unknown, hw_all
} hd_hw_item_t;
typedef enum base_classes {
// these *must* match standard PCI class numbers
bc_none, bc_storage, bc_network, bc_display, bc_multimedia,
bc_memory, bc_bridge, bc_comm, bc_system, bc_input, bc_docking,
bc_processor, bc_serial, bc_wireless, bc_i2o, bc_other = 0xff,
// add our own classes here (starting at 0x100 as PCI values are 8 bit)
bc_monitor = 0x100, bc_internal, bc_modem, bc_isdn, bc_ps2, bc_mouse,
bc_storage_device, bc_network_interface, bc_keyboard, bc_printer,
bc_hub, bc_braille, bc_scanner, bc_joystick, bc_chipcard, bc_camera,
bc_framebuffer, bc_dvb, bc_tv, bc_partition, bc_dsl, bc_bluetooth, bc_fingerprint,
bc_mmc_ctrl
} hd_base_classes_t;
typedef enum sc_monitor {
sc_mon_other, sc_mon_crt, sc_mon_lcd
} hd_sc_monitor_t;
typedef enum sc_storage {
sc_sto_scsi, sc_sto_ide, sc_sto_floppy, sc_sto_ipi, sc_sto_raid,
sc_sto_other = 0x80
} hd_sc_storage_t;
typedef enum sc_display {
sc_dis_vga, sc_dis_xga, sc_dis_other = 0x80
} hd_sc_display_t;
typedef enum sc_framebuffer {
sc_fb_vesa = 1
} hd_sc_framebuffer_t;
typedef enum sc_bridge {
sc_bridge_host, sc_bridge_isa, sc_bridge_eisa, sc_bridge_mc,
sc_bridge_pci, sc_bridge_pcmcia, sc_bridge_nubus, sc_bridge_cardbus,
sc_bridge_other = 0x80
} hd_sc_bridge_t;
typedef enum sc_comm {
sc_com_ser, sc_com_par, sc_com_multi, sc_com_modem, sc_com_other = 0x80
} hd_sc_comm_t;
typedef enum sc_system {
sc_sys_pic, sc_sys_dma, sc_sys_timer, sc_sys_rtc, sc_sys_other = 0x80
} hd_sc_system_t;
typedef enum sc_input {
sc_inp_keyb, sc_inp_digit, sc_inp_mouse, sc_inp_other = 0x80
} hd_sc_input_t;
typedef enum sc_serial {
sc_ser_fire, sc_ser_access, sc_ser_ssa, sc_ser_usb, sc_ser_fiber,
sc_ser_smbus, sc_ser_infiniband, sc_ser_other = 0x80
} hd_sc_serial_t;
typedef enum sc_internal {
sc_int_none, sc_int_isapnp_if, sc_int_main_mem, sc_int_cpu, sc_int_fpu,
sc_int_bios, sc_int_prom, sc_int_sys
} hd_sc_internal_t;
typedef enum sc_mouse {
sc_mou_ps2, sc_mou_ser, sc_mou_bus, sc_mou_usb, sc_mou_sun,
sc_mou_other = 0x80
} hd_sc_mouse_t;
typedef enum sc_std {
sc_sdev_disk, sc_sdev_tape, sc_sdev_cdrom, sc_sdev_floppy, sc_sdev_scanner,
sc_sdev_other = 0x80
} hd_sc_std_t;
typedef enum sc_net_if {
sc_nif_loopback, sc_nif_ethernet, sc_nif_tokenring, sc_nif_fddi,
sc_nif_ctc, sc_nif_iucv, sc_nif_hsi, sc_nif_qeth,
sc_nif_escon, sc_nif_myrinet, sc_nif_wlan, sc_nif_xp,
sc_nif_usb, sc_nif_other = 0x80, sc_nif_sit
} hd_sc_net_if_t;
typedef enum sc_multimedia {
sc_multi_video, sc_multi_audio, sc_multi_other
} hd_sc_multimedia_t;
typedef enum sc_keyboard {
sc_keyboard_kbd, sc_keyboard_console
} hd_sc_keyboard_t;
typedef enum sc_hub {
sc_hub_other, sc_hub_usb
} hd_sc_hub_t;
typedef enum sc_camera {
sc_camera_webcam, sc_camera_digital
} hd_sc_camera_t;
typedef enum sc_modem {
sc_mod_at, sc_mod_win1, sc_mod_win2, sc_mod_win3, sc_mod_win4
} hd_sc_modem_t;
typedef enum sc_dsl {
sc_dsl_unknown, sc_dsl_pppoe, sc_dsl_capi, sc_dsl_capiisdn
} hd_sc_dsl_t;
typedef enum pif_usb_e {
pif_usb_uhci = 0, pif_usb_ohci = 0x10, pif_usb_ehci = 0x20, pif_usb_xhci = 0x30,
pif_usb_other = 0x80, pif_usb_device = 0xfe
} hd_pif_usb_t;
typedef enum pif_cdrom {
pif_cdrom, pif_cdr, pif_cdrw, pif_dvd, pif_dvdr, pif_dvdram
} hd_pif_cdrom_t ;
typedef enum pif_s390disk {
pif_scsi, pif_dasd, pif_dasd_fba
} hd_pif_s390disk_t;
typedef enum bus_types {
bus_none, bus_isa, bus_eisa, bus_mc, bus_pci, bus_pcmcia, bus_nubus,
bus_cardbus, bus_other,
bus_ps2 = 0x80, bus_serial, bus_parallel, bus_floppy, bus_scsi, bus_ide, bus_usb,
bus_adb, bus_raid, bus_sbus, bus_i2o, bus_vio, bus_ccw, bus_iucv, bus_ps3_system_bus,
bus_virtio, bus_ibmebus, bus_gameport, bus_uisvirtpci, bus_mmc, bus_sdio, bus_nd
} hd_bus_types_t;
typedef struct {
unsigned invalid:1;
unsigned reconfig:3;
unsigned configured:3;
unsigned available:3;
unsigned needed:3;
unsigned available_orig:3;
unsigned active:3;
} hd_status_t;
typedef enum {
status_no = 1, status_yes, status_unknown, status_new
} hd_status_value_t;
typedef enum {
hp_none,
hp_pcmcia,
hp_cardbus,
hp_pci,
hp_usb,
hp_ieee1394
} hd_hotplug_t;
typedef struct {
unsigned id;
char *name;
} hd_id_t;
typedef struct s_str_list_t {
struct s_str_list_t *next;
char *str;
} str_list_t;
typedef struct {
unsigned char bitmap[16];
unsigned bits;
unsigned not_empty:1;
str_list_t *str;
} hd_bitmap_t;
typedef struct {
unsigned start, size;
unsigned char *data;
} memory_range_t;
typedef struct {
unsigned ok:1;
unsigned rev;
unsigned mpfp;
unsigned mpconfig_ok:1;
unsigned mpconfig;
unsigned mpconfig_size;
unsigned char feature[5];
char oem_id[9];
char prod_id[13];
unsigned cpus, cpus_en;
} smp_info_t;
typedef struct vbe_mode_info_s {
unsigned number;
unsigned attributes;
unsigned width, height;
unsigned bytes_p_line;
unsigned pixel_size;
unsigned fb_start;
unsigned win_A_start;
unsigned win_A_attr;
unsigned win_B_start;
unsigned win_B_attr;
unsigned win_size;
unsigned win_gran;
unsigned pixel_clock;
} vbe_mode_info_t;
typedef struct {
unsigned ok:1;
unsigned version;
unsigned oem_version;
unsigned memory;
unsigned fb_start;
char *oem_name;
char *vendor_name;
char *product_name;
char *product_revision;
unsigned modes;
vbe_mode_info_t *mode;
unsigned current_mode;
unsigned ddc_ports;
unsigned char ddc_port[4][0x80];
} vbe_info_t;
typedef struct {
unsigned id;
unsigned char slot;
unsigned char bus;
unsigned char devfn;
unsigned char misc;
} cpq_ctlorder_t;
typedef struct {
unsigned ok:1;
unsigned entry;
unsigned compaq:1;
cpq_ctlorder_t cpq_ctrl[32];
} bios32_info_t;
typedef enum {
sm_biosinfo, sm_sysinfo, sm_boardinfo, sm_chassis,
sm_processor, sm_memctrl, sm_memmodule, sm_cache,
sm_connect, sm_slot, sm_onboard, sm_oem,
sm_config, sm_lang, sm_group, sm_eventlog,
sm_memarray, sm_memdevice, sm_memerror, sm_memarraymap,
sm_memdevicemap, sm_mouse, sm_battery, sm_reset,
sm_secure, sm_power, sm_voltage, sm_cool,
sm_temperature, sm_current, sm_outofband, sm_bis,
sm_boot, sm_mem64error, sm_mandev, sm_mandevcomp,
sm_mdtd, sm_inactive = 126, sm_end = 127
} hd_smbios_type_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
} smbios_any_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *vendor;
char *version;
char *date;
hd_bitmap_t feature;
unsigned start;
unsigned rom_size;
} smbios_biosinfo_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *manuf;
char *product;
char *version;
char *serial;
unsigned char uuid[16];
hd_id_t wake_up;
} smbios_sysinfo_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *manuf;
char *product;
char *version;
char *serial;
char *asset;
hd_id_t board_type;
hd_bitmap_t feature;
char *location;
int chassis;
int objects_len;
int *objects;
} smbios_boardinfo_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *manuf;
char *version;
char *serial;
char *asset;
hd_id_t ch_type;
unsigned lock;
hd_id_t bootup;
hd_id_t power;
hd_id_t thermal;
hd_id_t security;
unsigned oem;
} smbios_chassis_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *socket;
hd_id_t upgrade;
char *manuf;
char *version;
char *serial;
char *asset;
char *part;
hd_id_t pr_type;
hd_id_t family;
uint64_t cpu_id;
unsigned voltage;
unsigned ext_clock;
unsigned max_speed;
unsigned current_speed;
unsigned sock_status;
hd_id_t cpu_status;
int l1_cache;
int l2_cache;
int l3_cache;
} smbios_processor_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *socket;
unsigned max_size;
unsigned current_size;
unsigned speed;
hd_id_t mode;
unsigned state;
hd_id_t location;
unsigned socketed;
unsigned level;
hd_id_t ecc;
hd_id_t cache_type;
hd_id_t assoc;
hd_bitmap_t supp_sram;
hd_bitmap_t sram;
} smbios_cache_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
hd_id_t port_type;
char *i_des;
hd_id_t i_type;
char *x_des;
hd_id_t x_type;
} smbios_connect_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *desig;
hd_id_t slot_type;
hd_id_t bus_width;
hd_id_t usage;
hd_id_t length;
unsigned id;
hd_bitmap_t feature;
} smbios_slot_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
unsigned dev_len;
struct {
char *name;
hd_id_t type;
unsigned status;
} *dev;
} smbios_onboard_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
str_list_t *oem_strings;
} smbios_oem_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
str_list_t *options;
} smbios_config_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *current;
} smbios_lang_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *name;
int items_len;
int *item_handles;
} smbios_group_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
hd_id_t location;
hd_id_t use;
hd_id_t ecc;
unsigned max_size;
int error_handle;
unsigned slots;
} smbios_memarray_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
char *location;
char *bank;
char *manuf;
char *serial;
char *asset;
char *part;
int array_handle;
int error_handle;
unsigned width;
unsigned eccbits;
unsigned size;
hd_id_t form;
unsigned set;
hd_id_t mem_type;
hd_bitmap_t type_detail;
unsigned speed;
} smbios_memdevice_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
hd_id_t err_type;
hd_id_t granularity;
hd_id_t operation;
unsigned syndrome;
unsigned array_addr;
unsigned device_addr;
unsigned range;
} smbios_memerror_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
int array_handle;
uint64_t start_addr;
uint64_t end_addr;
unsigned part_width;
} smbios_memarraymap_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
int memdevice_handle;
int arraymap_handle;
uint64_t start_addr;
uint64_t end_addr;
unsigned row_pos;
unsigned interleave_pos;
unsigned interleave_depth;
} smbios_memdevicemap_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
hd_id_t mtype;
hd_id_t interface;
unsigned buttons;
} smbios_mouse_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
hd_id_t power;
hd_id_t keyboard;
hd_id_t admin;
hd_id_t reset;
} smbios_secure_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
unsigned month;
unsigned day;
unsigned hour;
unsigned minute;
unsigned second;
} smbios_power_t;
typedef struct {
union u_hd_smbios_t *next;
hd_smbios_type_t type;
int data_len;
unsigned char *data;
str_list_t *strings;
int handle;
hd_id_t err_type;
hd_id_t granularity;
hd_id_t operation;
unsigned syndrome;
uint64_t array_addr;
uint64_t device_addr;
unsigned range;
} smbios_mem64error_t;
typedef union u_hd_smbios_t {
union u_hd_smbios_t *next;
smbios_any_t any;
smbios_biosinfo_t biosinfo;
smbios_sysinfo_t sysinfo;
smbios_boardinfo_t boardinfo;
smbios_chassis_t chassis;
smbios_processor_t processor;
smbios_cache_t cache;
smbios_connect_t connect;
smbios_slot_t slot;
smbios_onboard_t onboard;
smbios_oem_t oem;
smbios_config_t config;
smbios_lang_t lang;
smbios_group_t group;
smbios_memarray_t memarray;
smbios_memdevice_t memdevice;
smbios_memerror_t memerror;
smbios_memarraymap_t memarraymap;
smbios_memdevicemap_t memdevicemap;
smbios_mouse_t mouse;
smbios_secure_t secure;
smbios_power_t power;
smbios_mem64error_t mem64error;
} hd_smbios_t;
typedef struct s_udevinfo_t {
struct s_udevinfo_t *next;
char *sysfs;
char *name;
str_list_t *links;
} hd_udevinfo_t;
typedef struct s_sysfsdrv_t {
struct s_sysfsdrv_t *next;
char *driver;
char *device;
char *module;
} hd_sysfsdrv_t;
typedef struct {
int type;
unsigned major, minor, range;
} hd_dev_num_t;
typedef struct s_pci_t {
struct s_pci_t *next;
unsigned data_len;
unsigned data_ext_len;
unsigned char data[256];
char *log;
unsigned flags,
cmd,
hdr_type,
secondary_bus;
unsigned bus,
slot, func;
unsigned base_class, sub_class, prog_if;
unsigned dev, vend, sub_dev, sub_vend, rev;
unsigned irq;
uint64_t base_addr[7];
uint64_t base_len[7];
unsigned addr_flags[7];
uint64_t rom_base_addr;
uint64_t rom_base_len;
char *sysfs_id;
char *sysfs_bus_id;
char *modalias;
char *label;
unsigned edid_len[6];
unsigned char edid_data[6][0x80];
} pci_t;
typedef enum pci_flags {
pci_flag_ok, pci_flag_pm, pci_flag_agp
} hd_pci_flags_t;
typedef struct usb_s {
struct usb_s *next;
unsigned hd_idx;
unsigned hd_base_idx;
str_list_t *c, *d, *e, *i, *p, *s, *t;
struct usb_s *cloned;
int bus, dev_nr, lev, parent, port, count, conns, used_conns, ifdescr;
unsigned speed;
unsigned vendor, device, rev;
char *manufact, *product, *serial;
char *driver;
memory_range_t raw_descr;
int d_cls, d_sub, d_prot;
int i_alt, i_cls, i_sub, i_prot;
unsigned country;
} usb_t;
typedef struct {
int len;
int type;
unsigned char *data;
} isapnp_res_t;
typedef struct {
int csn;
int log_devs;
unsigned char *serial;
unsigned char *card_regs;
unsigned char (*ldev_regs)[0xd0];
int res_len;
unsigned broken:1;
isapnp_res_t *res;
} isapnp_card_t;
typedef struct {
int read_port;
int cards;
isapnp_card_t *card;
} isapnp_t;
typedef struct {
isapnp_card_t *card;
int dev;
unsigned flags;
unsigned ref:1;
} isapnp_dev_t;
typedef enum isapnp_flags {
isapnp_flag_act
} hd_isapnp_flags_t;
typedef struct scsi_s {
struct scsi_s *next;
unsigned deleted:1;
unsigned generic:1;
unsigned fake:1;
unsigned wwpn_ok:1;
unsigned fcp_lun_ok:1;
char *dev_name;
char *guessed_dev_name;
int generic_dev;
unsigned host, channel, id, lun;
char *vendor, *model, *rev, *type_str, *serial;
int type;
unsigned inode_low;
char *proc_dir, *driver;
unsigned unique;
char *info;
unsigned lgeo_c, lgeo_h, lgeo_s;
unsigned pgeo_c, pgeo_h, pgeo_s;
uint64_t size;
unsigned sec_size;
unsigned cache;
str_list_t *host_info;
char *usb_guid;
unsigned pci_info;
unsigned pci_bus;
unsigned pci_slot;
unsigned pci_func;
uint64_t wwpn;
uint64_t fcp_lun;
char *controller_id;
} scsi_t;
typedef struct devtree_s {
struct devtree_s *next;
struct devtree_s *parent;
unsigned idx;
char *path, *filename;
unsigned pci:1;
char *name, *model, *device_type, *compatible;
char *ccin, *fru_number, *loc_code, *serial_number, *part_number;
char *description;
int class_code;
int vendor_id, device_id, subvendor_id, subdevice_id;
int revision_id, interrupt;
unsigned char *edid;
} devtree_t;
enum pmac_model {
AAPL_3400,
AAPL_3500,
AAPL_7200,
AAPL_7300,
AAPL_7500,
AAPL_8500,
AAPL_9500,
AAPL_Gossamer,
AAPL_PowerBook1998,
AAPL_PowerMac_G3,
AAPL_ShinerESB,
AAPL_e407,
AAPL_e411,
PowerBook1_1,
PowerBook2_1,
PowerBook2_2,
PowerBook3_1,
PowerBook3_2,
PowerBook3_3,
PowerBook3_4,
PowerBook3_5,
PowerBook4_1,
PowerBook4_2,
PowerBook4_3,
PowerBook5_1,
PowerBook5_2,
PowerBook5_3,
PowerBook5_4,
PowerBook5_5,
PowerBook5_6,
PowerBook5_7,
PowerBook5_8,
PowerBook5_9,
PowerBook6_1,
PowerBook6_2,
PowerBook6_3,
PowerBook6_4,
PowerBook6_5,
PowerBook6_7,
PowerBook6_8,
PowerMac1_1,
PowerMac1_2,
PowerMac10_1,
PowerMac11_2,
PowerMac12_1,
PowerMac2_1,
PowerMac2_2,
PowerMac3_1,
PowerMac3_2,
PowerMac3_3,
PowerMac3_4,
PowerMac3_5,
PowerMac3_6,
PowerMac4_1,
PowerMac4_2,
PowerMac4_4,
PowerMac5_1,
PowerMac6_1,
PowerMac6_3,
PowerMac6_4,
PowerMac7_2,
PowerMac7_3,
PowerMac8_1,
PowerMac9_1,
RackMac1_1,
RackMac1_2,
RackMac3_1,
iMac_1,
};
struct pmac_mb_def {
enum pmac_model model;
const char *string;
};
typedef struct ccw_s {
unsigned char lcss;
unsigned char cu_model;
unsigned char dev_model;
} ccw_t;
typedef struct joystick_s {
unsigned char buttons;
unsigned char axes;
} joystick_t;
typedef struct cdrom_info_s {
struct cdrom_info_s *next;
char *name;
unsigned speed;
unsigned cdr:1, cdrw:1, dvd:1, dvdr:1, dvdram:1;
unsigned cdrom:1;
struct {
unsigned ok:1;
char *volume, *publisher, *preparer, *application, *creation_date;
} iso9660;
struct {
unsigned ok:1;
unsigned platform;
char *id_string;
unsigned bootable:1;
unsigned media_type;
unsigned load_address;
unsigned load_count;
unsigned start;
unsigned catalog;
struct {
unsigned c, h, s;
unsigned size;
} geo;
char *label;
} el_torito;
} cdrom_info_t;
typedef struct {
unsigned char block0[512];
} floppy_info_t;
typedef struct {
unsigned apm_supported:1;
unsigned apm_enabled:1;
unsigned apm_ver, apm_subver;
unsigned apm_bios_flags;
unsigned vbe_ver;
unsigned vbe_video_mem;
unsigned ser_port0, ser_port1, ser_port2, ser_port3;
unsigned par_port0, par_port1, par_port2;
unsigned is_pnp_bios:1;
unsigned pnp_id;
unsigned lba_support:1;
unsigned low_mem_size;
smp_info_t smp;
vbe_info_t vbe;
unsigned smbios_ver;
struct {
unsigned width;
unsigned height;
unsigned xsize;
unsigned ysize;
char *vendor;
char *name;
} lcd;
struct {
char *vendor;
char *type;
unsigned bus;
unsigned compat_vend;
unsigned compat_dev;
} mouse;
struct {
unsigned ok:1;
unsigned scroll_lock:1;
unsigned num_lock:1;
unsigned caps_lock:1;
} led;
bios32_info_t bios32;
} bios_info_t;
typedef struct {
unsigned has_color:1;
unsigned color;
} prom_info_t;
typedef struct {
char *system_type;
char *generation;
char *vendor;
char *model;
char *serial;
char *lang;
char *formfactor;
} sys_info_t;
typedef struct {
unsigned manu_year;
unsigned manu_week;
unsigned min_vsync, max_vsync;
unsigned min_hsync, max_hsync;
unsigned clock;
unsigned width, height;
unsigned width_mm, height_mm;
unsigned hdisp, hsyncstart, hsyncend, htotal;
unsigned vdisp, vsyncstart, vsyncend, vtotal;
char hflag,vflag;
char *vendor;
char *name;
char *serial;
} monitor_info_t;
typedef enum cpu_arch {
arch_unknown = 0,
arch_intel,
arch_alpha,
arch_sparc, arch_sparc64,
arch_ppc, arch_ppc64,
arch_68k,
arch_ia64,
arch_s390, arch_s390x,
arch_arm,
arch_mips,
arch_x86_64,
arch_aarch64,
arch_riscv
} hd_cpu_arch_t;
typedef enum boot_arch {
boot_unknown = 0,
boot_lilo, boot_milo, boot_aboot, boot_silo, boot_ppc, boot_elilo, boot_s390,
boot_mips, boot_grub, boot_uboot,
} hd_boot_arch_t;
typedef struct {
enum cpu_arch architecture;
unsigned family;
unsigned model;
unsigned stepping;
unsigned cache;
unsigned clock;
unsigned units;
char *vend_name;
char *model_name;
char *platform;
str_list_t *features;
double bogo;
} cpu_info_t;
typedef struct {
uint64_t sectors;
struct {
unsigned cyls, heads, sectors;
} edd;
struct {
unsigned cyls, heads, sectors;
} legacy;
unsigned ext_fixed_disk:1;
unsigned ext_lock_eject:1;
unsigned ext_edd:1;
unsigned ext_64bit:1;
unsigned assigned:1;
unsigned valid:1;
unsigned ext_fibre:1;
unsigned ext_net:1;
char *sysfs_id;
unsigned hd_idx;
unsigned signature;
} edd_info_t;
typedef struct {
unsigned data_len, data_max;
unsigned *data;
unsigned names_len, names_max;
char *names;
} hddb_data_t;
typedef uint32_t hddb_entry_mask_t;
typedef struct hddb_list_s {
hddb_entry_mask_t key_mask;
hddb_entry_mask_t value_mask;
unsigned key;
unsigned value;
} hddb_list_t;
typedef struct {
unsigned list_len, list_max;
hddb_list_t *list;
unsigned ids_len, ids_max;
unsigned *ids;
unsigned strings_len, strings_max;
char *strings;
} hddb2_data_t;
typedef enum modinfo_type_e { mi_none = 0, mi_pci, mi_other } modinfo_type_t;
typedef struct {
char *module;
char *alias;
modinfo_type_t type;
union {
struct {
struct {
unsigned vendor:1;
unsigned device:1;
unsigned sub_vendor:1;
unsigned sub_device:1;
unsigned base_class:1;
unsigned sub_class:1;
unsigned prog_if:1;
} has;
unsigned vendor;
unsigned device;
unsigned sub_vendor;
unsigned sub_device;
unsigned base_class;
unsigned sub_class;
unsigned prog_if;
} pci;
struct {
struct {
unsigned vendor:1;
unsigned product:1;
unsigned device_class:1;
unsigned device_subclass:1;
} has;
unsigned vendor;
unsigned product;
unsigned device_class;
unsigned device_subclass;
} usb;
};
} modinfo_t;
typedef enum {
p_invalid, p_string, p_int32, p_uint64, p_double, p_bool, p_list
} hal_prop_type_t;
typedef struct hal_prop_s {
struct hal_prop_s *next;
hal_prop_type_t type;
char *key;
union {
char *str;
int32_t int32;
uint64_t uint64;
double d;
int b;
str_list_t *list;
} val;
} hal_prop_t;
typedef struct hal_device_s {
struct hal_device_s *next, *parent;
char *udi;
unsigned used:1;
hal_prop_t *prop;
} hal_device_t;
typedef enum resource_types {
res_any, res_phys_mem, res_mem, res_io, res_irq, res_dma, res_monitor,
res_size, res_disk_geo, res_cache, res_baud, res_init_strings, res_pppd_option,
res_framebuffer, res_hwaddr, res_link, res_wlan, res_fc, res_phwaddr
} hd_resource_types_t;
typedef enum size_units {
size_unit_cm, size_unit_cinch, size_unit_byte, size_unit_sectors,
size_unit_kbyte, size_unit_mbyte, size_unit_gbyte, size_unit_mm
} hd_size_units_t;
typedef enum access_flags {
acc_unknown,
acc_ro,
acc_wo,
acc_rw
} hd_access_flags_t;
typedef enum yes_no_flag {
flag_unknown,
flag_no,
flag_yes
} hd_yes_no_flag_t;
typedef enum geo_types {
geo_physical = 0,
geo_logical,
geo_bios_edd,
geo_bios_legacy
} hd_geo_types_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
} res_any_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
uint64_t base, range;
unsigned
enabled:1,
access:2,
prefetch:2;
} res_mem_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
uint64_t range;
} res_phys_mem_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
uint64_t base, range;
unsigned
enabled:1,
access:2;
} res_io_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
unsigned base;
unsigned triggered;
unsigned enabled:1;
} res_irq_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
unsigned base;
unsigned enabled:1;
} res_dma_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
enum size_units unit;
uint64_t val1, val2;
} res_size_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
unsigned speed;
unsigned bits, stopbits;
char parity;
char handshake;
} res_baud_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
unsigned size;
} res_cache_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
unsigned cyls, heads, sectors;
uint64_t size;
enum geo_types geotype;
} res_disk_geo_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
unsigned width, height;
unsigned vfreq;
unsigned interlaced:1;
} res_monitor_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
char *init1;
char *init2;
} res_init_strings_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
char *option;
} res_pppd_option_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
unsigned width, height;
unsigned bytes_p_line;
unsigned colorbits;
unsigned mode;
} res_framebuffer_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
char *addr;
} res_hwaddr_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
unsigned state:1;
} res_link_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
str_list_t *channels;
str_list_t *frequencies;
str_list_t *bitrates;
str_list_t *auth_modes;
str_list_t *enc_modes;
} res_wlan_t;
typedef struct {
union u_hd_res_t *next;
enum resource_types type;
unsigned wwpn_ok:1;
unsigned fcp_lun_ok:1;
unsigned port_id_ok:1;
uint64_t wwpn;
uint64_t fcp_lun;
unsigned port_id;
char *controller_id;
} res_fc_t;
typedef union u_hd_res_t {
union u_hd_res_t *next;
res_any_t any;
res_io_t io;
res_mem_t mem;
res_phys_mem_t phys_mem;
res_irq_t irq;
res_dma_t dma;
res_size_t size;
res_cache_t cache;
res_baud_t baud;
res_disk_geo_t disk_geo;
res_monitor_t monitor;
res_init_strings_t init_strings;
res_pppd_option_t pppd_option;
res_framebuffer_t framebuffer;
res_hwaddr_t hwaddr;
res_link_t link;
res_wlan_t wlan;
res_fc_t fc;
} hd_res_t;
typedef struct {
uint64_t addr, size;
char *dev;
unsigned tag;
} misc_io_t;
typedef struct {
unsigned channel;
char *dev;
unsigned tag;
} misc_dma_t;
typedef struct {
unsigned irq, events;
int devs;
char **dev;
unsigned tag;
} misc_irq_t;
typedef struct {
unsigned io_len, dma_len, irq_len;
misc_io_t *io;
misc_dma_t *dma;
misc_irq_t *irq;
str_list_t *proc_io, *proc_dma, *proc_irq;
} misc_t;
typedef struct s_serial_t {
struct s_serial_t *next;
char *name;
char *device;
unsigned line, port, irq, baud;
} serial_t;
typedef struct s_ser_device_t {
struct s_ser_device_t *next;
unsigned hd_idx;
char *dev_name;
str_list_t *at_resp;
int fd;
struct termios tio;
unsigned max_baud, cur_baud;
unsigned is_mouse:1;
unsigned is_modem:1;
unsigned do_io:1;
unsigned char buf[0x1000];
int buf_len;
int garbage, non_pnp, pnp;
unsigned char pnp_id[8];
char *serial, *class_name, *dev_id, *user_name, *vend, *init_string1, *init_string2, *pppd_option;
unsigned pnp_rev;
unsigned bits;
} ser_device_t;
typedef struct isdn_parm_s {
struct isdn_parm_s *next;
char *name;
unsigned valid:1;
unsigned conflict:1;
uint64_t value;
unsigned type;
unsigned flags;
unsigned def_value;
int alt_values;
unsigned *alt_value;
} isdn_parm_t;
typedef enum driver_info_type {
di_any, di_display, di_module, di_mouse, di_x11, di_isdn, di_kbd, di_dsl
} hd_driver_info_t;
typedef struct {
union driver_info_u *next;
enum driver_info_type type;
str_list_t *hddb0, *hddb1;
} driver_info_any_t;
typedef struct {
union driver_info_u *next;
enum driver_info_type type;
str_list_t *hddb0, *hddb1;
unsigned width, height;
unsigned min_vsync, max_vsync;
unsigned min_hsync, max_hsync;
unsigned bandwidth;
unsigned hdisp, hsyncstart, hsyncend, htotal;
unsigned vdisp, vsyncstart, vsyncend, vtotal;
char hflag,vflag;
} driver_info_display_t;
typedef struct {
union driver_info_u *next;
enum driver_info_type type;
str_list_t *hddb0, *hddb1;
unsigned active:1;
unsigned modprobe:1;
str_list_t *names;
str_list_t *mod_args;
char *conf;
} driver_info_module_t;
typedef struct {
union driver_info_u *next;
enum driver_info_type type;
str_list_t *hddb0, *hddb1;
char *xf86;
char *gpm;
int buttons;
int wheels;
} driver_info_mouse_t;
typedef struct {
union driver_info_u *next;
enum driver_info_type type;
str_list_t *hddb0, *hddb1;
char *server;
char *xf86_ver;
unsigned x3d:1;
struct {
unsigned all:5;
unsigned c8:1, c15:1, c16:1, c24:1, c32:1;
} colors;
unsigned dacspeed;
str_list_t *extensions;
str_list_t *options;
str_list_t *raw;
char *script;
} driver_info_x11_t;
typedef struct {
union driver_info_u *next;
enum driver_info_type type;
str_list_t *hddb0, *hddb1;
int i4l_type, i4l_subtype;
char *i4l_name;
isdn_parm_t *params;
} driver_info_isdn_t;
typedef struct {
union driver_info_u *next;
enum driver_info_type type;
str_list_t *hddb0, *hddb1;
char *mode;
char *name;
} driver_info_dsl_t;
typedef struct {
union driver_info_u *next;
enum driver_info_type type;
str_list_t *hddb0, *hddb1;
char *XkbRules;
char *XkbModel;
char *XkbLayout;
char *keymap;
} driver_info_kbd_t;
/*
* holds device driver info
*/
typedef union driver_info_u {
union driver_info_u *next;
driver_info_any_t any;
driver_info_module_t module;
driver_info_mouse_t mouse;
driver_info_x11_t x11;
driver_info_display_t display;
driver_info_isdn_t isdn;
driver_info_dsl_t dsl;
driver_info_kbd_t kbd;
} driver_info_t;
typedef enum hd_detail_type {
hd_detail_pci, hd_detail_usb, hd_detail_isapnp, hd_detail_cdrom,
hd_detail_floppy, hd_detail_bios, hd_detail_cpu, hd_detail_prom,
hd_detail_monitor, hd_detail_sys, hd_detail_scsi, hd_detail_devtree,
hd_detail_ccw, hd_detail_joystick
} hd_detail_type_t;
typedef struct {
enum hd_detail_type type;
pci_t *data;
} hd_detail_pci_t;
typedef struct {
enum hd_detail_type type;
usb_t *data;
} hd_detail_usb_t;
typedef struct {
enum hd_detail_type type;
isapnp_dev_t *data;
} hd_detail_isapnp_t;
typedef struct {
enum hd_detail_type type;
cdrom_info_t *data;
} hd_detail_cdrom_t;
typedef struct {
enum hd_detail_type type;
floppy_info_t *data;
} hd_detail_floppy_t;
typedef struct {
enum hd_detail_type type;
bios_info_t *data;
} hd_detail_bios_t;
typedef struct {
enum hd_detail_type type;
cpu_info_t *data;
} hd_detail_cpu_t;
typedef struct {
enum hd_detail_type type;
prom_info_t *data;
} hd_detail_prom_t;
typedef struct hd_detail_monitor_s {
enum hd_detail_type type;
monitor_info_t *data;
struct hd_detail_monitor_s *next;
} hd_detail_monitor_t;
typedef struct {
enum hd_detail_type type;
sys_info_t *data;
} hd_detail_sys_t;
typedef struct {
enum hd_detail_type type;
scsi_t *data;
} hd_detail_scsi_t;
typedef struct {
enum hd_detail_type type;
devtree_t *data;
} hd_detail_devtree_t;
typedef struct {
enum hd_detail_type type;
ccw_t *data;
} hd_detail_ccw_t;
typedef struct {
enum hd_detail_type type;
joystick_t *data;
} hd_detail_joystick_t;
typedef union {
enum hd_detail_type type;
hd_detail_pci_t pci;
hd_detail_usb_t usb;
hd_detail_isapnp_t isapnp;
hd_detail_cdrom_t cdrom;
hd_detail_floppy_t floppy;
hd_detail_bios_t bios;
hd_detail_cpu_t cpu;
hd_detail_prom_t prom;
hd_detail_monitor_t monitor;
hd_detail_sys_t sys;
hd_detail_scsi_t scsi;
hd_detail_devtree_t devtree;
hd_detail_ccw_t ccw;
hd_detail_joystick_t joystick;
} hd_detail_t;
typedef struct hd_manual_s {
struct hd_manual_s *next;
char *unique_id;
char *parent_id;
char *child_ids;
unsigned hw_class;
char *model;
hd_status_t status;
char *config_string;
/* More or less free-form key, value pairs.
* key should not contain '=', however.
*/
str_list_t *key;
str_list_t *value;
} hd_manual_t;
typedef struct s_hd_t {
struct s_hd_t *next;
unsigned idx;
unsigned broken:1;
hd_id_t bus;
unsigned slot;
unsigned func;
hd_id_t base_class;
hd_id_t sub_class;
hd_id_t prog_if;
hd_id_t vendor;
hd_id_t device;
hd_id_t sub_vendor;
hd_id_t sub_device;
hd_id_t revision;
char *serial;
hd_id_t compat_vendor;
hd_id_t compat_device;
hd_hw_item_t hw_class;
unsigned char hw_class_list[(hw_all + 7) / 8];
char *model;
unsigned attached_to;
char *sysfs_id;
char *sysfs_bus_id;
char *sysfs_device_link;
char *unix_dev_name;
hd_dev_num_t unix_dev_num;
str_list_t *unix_dev_names;
char *unix_dev_name2;
hd_dev_num_t unix_dev_num2;
char *rom_id;
char *udi;
char *parent_udi;
char *unique_id;
str_list_t *unique_ids;
unsigned module;
unsigned line;
unsigned count;
hd_res_t *res;
hd_detail_t *detail;
str_list_t *extra_info;
hd_status_t status;
char *config_string;
hd_hotplug_t hotplug;
unsigned hotplug_slot;
struct is_s {
unsigned agp:1;
unsigned isapnp:1;
unsigned notready:1;
unsigned manual:1;
unsigned softraiddisk:1;
unsigned zip:1;
unsigned cdr:1;
unsigned cdrw:1;
unsigned dvd:1;
unsigned dvdr:1;
unsigned dvdrw:1;
unsigned dvdrdl:1;
unsigned dvdpr:1;
unsigned dvdprw:1;
unsigned dvdprdl:1;
unsigned dvdprwdl:1;
unsigned bd:1;
unsigned bdr:1;
unsigned bdre:1;
unsigned hd:1;
unsigned hdr:1;
unsigned hdrw:1;
unsigned dvdram:1;
unsigned mo:1;
unsigned mrw:1;
unsigned mrww:1;
unsigned pppoe:1;
unsigned wlan:1;
unsigned with_acpi:1;
unsigned hotpluggable:1;
unsigned dualport:1;
unsigned fcoe:1;
unsigned fcoe_offload:2;
unsigned iscsi_offload:2;
unsigned storage_only:2;
} is;
struct tag_s {
unsigned remove:1;
unsigned freeit:1;
unsigned fixed:1;
unsigned skip_mouse:1;
unsigned skip_modem:1;
unsigned skip_braille:1;
unsigned ser_device:2;
} tag;
unsigned char *block0;
char *driver;
char *driver_module;
str_list_t *drivers;
str_list_t *driver_modules;
char *old_unique_id;
char *parent_id;
str_list_t *child_ids;
char *unique_id1;
char *usb_guid;
driver_info_t *driver_info;
str_list_t *requires;
hal_prop_t *hal_prop;
hal_prop_t *persistent_prop;
char *modalias;
char *label;
/*
* These are used internally for memory management.
* Do not even _think_ of modifying these!
*/
unsigned ref_cnt;
struct s_hd_t *ref;
} hd_t;
typedef struct {
hd_t *hd;
void (*progress)(char *pos, char *msg);
char *log;
unsigned debug;
struct flag_struct {
unsigned internal:1;
unsigned dformat:2;
unsigned no_parport:1;
unsigned iseries:1;
unsigned list_all:1;
unsigned fast:1;
unsigned list_md:1;
unsigned nofork:1;
unsigned nosysfs:1;
unsigned forked:1;
unsigned cpuemu:1;
unsigned udev:1;
unsigned edd_used:1;
unsigned keep_kmods:2;
unsigned nobioscrc:1;
unsigned biosvram:1;
unsigned nowpa:1;
unsigned pata:1;
unsigned vbox:1;
unsigned vmware:1;
unsigned vmware_mouse:1;
} flags;
str_list_t *only;
/*
* The following entries should *not* be accessed outside of libhd!
*/
unsigned char probe[(pr_all + 7) / 8];
unsigned char probe_set[(pr_all + 7) / 8];
unsigned char probe_clr[(pr_all + 7) / 8];
hal_prop_t *probe_val;
unsigned last_idx;
unsigned module;
enum boot_arch boot;
hd_t *old_hd;
pci_t *pci;
isapnp_t *isapnp;
cdrom_info_t *cdrom;
str_list_t *net;
str_list_t *floppy;
misc_t *misc;
serial_t *serial;
scsi_t *scsi;
ser_device_t *ser_mouse;
ser_device_t *ser_modem;
str_list_t *cpu;
str_list_t *klog;
str_list_t *proc_usb;
usb_t *usb;
modinfo_t *modinfo_ext;
modinfo_t *modinfo;
hddb2_data_t *hddb2[2];
str_list_t *kmods;
uint64_t used_irqs;
uint64_t assigned_irqs;
memory_range_t bios_rom;
memory_range_t bios_ram;
memory_range_t bios_ebda;
unsigned display;
unsigned color_code;
char *cmd_line;
str_list_t *xtra_hd;
devtree_t *devtree;
unsigned kernel_version;
hd_t *manual;
str_list_t *disks;
str_list_t *partitions;
str_list_t *cdroms;
hd_smbios_t *smbios;
struct {
unsigned ok:1;
unsigned size;
unsigned used;
void *data;
int id;
int updated;
} shm;
unsigned pci_config_type;
hd_udevinfo_t *udevinfo;
hd_sysfsdrv_t *sysfsdrv;
uint64_t sysfsdrv_id;
str_list_t *scanner_db;
edd_info_t edd[0x80];
hal_device_t *hal;
str_list_t *lsscsi;
struct vm_s *vm;
size_t log_size;
size_t log_max;
str_list_t *klog_raw;
} hd_data_t;
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*
* libhd interface functions
*
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*/
/* implemented in hd.c */
void hd_scan(hd_data_t *hd_data);
hd_data_t *hd_free_hd_data(hd_data_t *hd_data);
hd_t *hd_free_hd_list(hd_t *hd);
void hd_set_probe_feature(hd_data_t *hd_data, enum probe_feature feature);
void hd_clear_probe_feature(hd_data_t *hd_data, enum probe_feature feature);
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature);
void hd_set_probe_feature_hw(hd_data_t *hd_data, hd_hw_item_t item);
enum probe_feature hd_probe_feature_by_name(char *name);
char *hd_probe_feature_by_value(enum probe_feature feature);
int hd_module_is_active(hd_data_t *hd_data, char *mod);
hd_t *hd_base_class_list(hd_data_t *hd_data, unsigned base_class);
hd_t *hd_sub_class_list(hd_data_t *hd_data, unsigned base_class, unsigned sub_class);
hd_t *hd_bus_list(hd_data_t *hd_data, unsigned bus);
const char* hd_busid_to_hwcfg(int busid);
hd_t *hd_list(hd_data_t *hd_data, hd_hw_item_t item, int rescan, hd_t *hd_old);
hd_t *hd_list_with_status(hd_data_t *hd_data, hd_hw_item_t item, hd_status_t status);
hd_t *hd_list2(hd_data_t *hd_data, hd_hw_item_t *items, int rescan);
hd_t *hd_list_with_status2(hd_data_t *hd_data, hd_hw_item_t *items, hd_status_t status);
void hd_add_driver_data(hd_data_t *hd_data, hd_t *hd);
int hd_has_pcmcia(hd_data_t *hd_data);
#if 0
int hd_apm_enabled(hd_data_t *hd_data);
#endif
int hd_usb_support(hd_data_t *hd_data);
int hd_smp_support(hd_data_t *hd_data);
int hd_mac_color(hd_data_t *hd_data);
int hd_color(hd_data_t *hd_data);
int hd_is_uml(hd_data_t *hd_data);
int hd_is_xen(hd_data_t *hd_data);
unsigned hd_display_adapter(hd_data_t *hd_data);
unsigned hd_boot_disk(hd_data_t *hd_data, int *matches);
enum cpu_arch hd_cpu_arch(hd_data_t *hd_data);
enum boot_arch hd_boot_arch(hd_data_t *hd_data);
hd_t *hd_get_device_by_idx(hd_data_t *hd_data, unsigned idx);
void hd_set_hw_class(hd_t *hd, hd_hw_item_t hw_class);
int hd_is_hw_class(hd_t *hd, hd_hw_item_t hw_class);
int hd_is_sgi_altix(hd_data_t *hd_data);
char *hd_version(void);
hal_prop_t *hd_free_hal_properties(hal_prop_t *prop);
hal_prop_t *hd_read_properties(const char *udi);
int hd_write_properties(const char *udi, hal_prop_t *prop);
int hd_change_status(const char *id, hd_status_t status, const char *config_string);
int hd_change_config_status(hd_data_t *hd_data, const char *id, hd_status_t status, const char *config_string);
int hd_read_mmap(hd_data_t *hd_data, char *name, unsigned char *buf, off_t start, unsigned size);
/* implemented in hddb.c */
str_list_t *hddb_get_packages(hd_data_t *hd_data);
void hddb_add_info(hd_data_t *hd_data, hd_t *hd);
void hddb_dump_raw(hddb2_data_t *hddb, FILE *f);
void hddb_dump(hddb2_data_t *hddb, FILE *f);
/* implemented in hdp.c */
void hd_dump_entry(hd_data_t *hd_data, hd_t *hd, FILE *f);
/* implemented in cdrom.c */
cdrom_info_t *hd_read_cdrom_info(hd_data_t *hd_data, hd_t *hd);
hd_manual_t *hd_manual_read_entry(hd_data_t *hd_data, const char *id);
int hd_manual_write_entry(hd_data_t *hd_data, hd_manual_t *entry);
hd_manual_t *hd_free_manual(hd_manual_t *manual);
hd_t *hd_read_config(hd_data_t *hd_data, const char *id);
int hd_write_config(hd_data_t *hd_data, hd_t *hd);
char *hd_hw_item_name(hd_hw_item_t item);
hd_hw_item_t hd_hw_item_type(char *name);
char *hd_status_value_name(hd_status_value_t status);
#define CDBISDN_VERSION 0x0101
#ifndef PCI_ANY_ID
#define PCI_ANY_ID 0xffff
#endif
#define CDBISDN_P_NONE 0x0
#define CDBISDN_P_IRQ 0x1
#define CDBISDN_P_MEM 0x2
#define CDBISDN_P_IO 0x3
typedef struct {
char *name;
char *shortname;
int vnr;
int refcnt;
} cdb_isdn_vendor;
typedef struct {
int handle;
int vhandle;
char *name;
char *lname;
char *Class;
char *bus;
int revision;
int vendor;
int device;
int subvendor;
int subdevice;
unsigned int features;
int line_cnt;
int vario_cnt;
int vario;
} cdb_isdn_card;
typedef struct {
int handle;
int next_vario;
int drvid;
int typ;
int subtyp;
int smp;
char *mod_name;
char *para_str;
char *mod_preload;
char *cfg_prog;
char *firmware;
char *description;
char *need_pkg;
char *info;
char *protocol;
char *interface;
char *io;
char *irq;
char *membase;
char *features;
int card_ref;
char *name;
} cdb_isdn_vario;
extern cdb_isdn_vendor *hd_cdbisdn_get_vendor(int);
extern cdb_isdn_card *hd_cdbisdn_get_card(int);
extern cdb_isdn_vario *hd_cdbisdn_get_vario_from_type(int, int);
extern cdb_isdn_card *hd_cdbisdn_get_card_from_type(int, int);
extern cdb_isdn_card *hd_cdbisdn_get_card_from_id(int, int, int, int);
extern cdb_isdn_vario *hd_cdbisdn_get_vario(int);
extern int hd_cdbisdn_get_version(void);
extern int hd_cdbisdn_get_db_version(void);
extern char *hd_cdbisdn_get_db_date(void);
#ifdef __cplusplus
}
#endif
#endif /* _HD_H */
hd_cdbisdn_get_card
cdb_isdn_card * hd_cdbisdn_get_card(int)
Definition cdbisdn.c:301
hd_cdbisdn_get_db_date
char * hd_cdbisdn_get_db_date(void)
Definition cdbisdn.c:395
hd_cdbisdn_get_vario
cdb_isdn_vario * hd_cdbisdn_get_vario(int)
Definition cdbisdn.c:370
hd_cdbisdn_get_version
int hd_cdbisdn_get_version(void)
Definition cdbisdn.c:381
hd_cdbisdn_get_vendor
cdb_isdn_vendor * hd_cdbisdn_get_vendor(int)
Definition cdbisdn.c:290
hd_cdbisdn_get_card_from_id
cdb_isdn_card * hd_cdbisdn_get_card_from_id(int, int, int, int)
Definition cdbisdn.c:341
hd_cdbisdn_get_vario_from_type
cdb_isdn_vario * hd_cdbisdn_get_vario_from_type(int, int)
Definition cdbisdn.c:312
hd_cdbisdn_get_card_from_type
cdb_isdn_card * hd_cdbisdn_get_card_from_type(int, int)
Definition cdbisdn.c:327
hd_cdbisdn_get_db_version
int hd_cdbisdn_get_db_version(void)
Definition cdbisdn.c:388
hd_sc_display_t
enum sc_display hd_sc_display_t
subclass values of bc_display
sc_serial
sc_serial
subclass values of bc_serial
Definition hd.h:218
sc_storage
sc_storage
subclass values of bc_storage
Definition hd.h:180
hd_pif_s390disk_t
enum pif_s390disk hd_pif_s390disk_t
S/390 disk prog_if values.
sc_bridge
sc_bridge
subclass values of bc_bridge
Definition hd.h:196
bus_types
bus_types
bus type values similar to PCI bridge subclasses
Definition hd.h:296
hd_sc_std_t
enum sc_std hd_sc_std_t
subclass values of bc_storage_device
hd_bus_types_t
enum bus_types hd_bus_types_t
bus type values similar to PCI bridge subclasses
hd_sc_multimedia_t
enum sc_multimedia hd_sc_multimedia_t
subclass values of bc_multimedia
sc_camera
sc_camera
subclass values of bc_camera
Definition hd.h:265
hd_sc_hub_t
enum sc_hub hd_sc_hub_t
subclass values of bc_hub
hd_sc_comm_t
enum sc_comm hd_sc_comm_t
subclass values of bc_comm
base_classes
base_classes
base class values (superset of PCI classes)
Definition hd.h:160
pif_s390disk
pif_s390disk
S/390 disk prog_if values.
Definition hd.h:291
hd_sc_system_t
enum sc_system hd_sc_system_t
subclass values of bc_system
hd_pif_usb_t
enum pif_usb_e hd_pif_usb_t
prog_if's of sc_ser_usb
sc_comm
sc_comm
subclass values of bc_comm
Definition hd.h:203
sc_system
sc_system
subclass values of bc_system
Definition hd.h:208
hd_sc_monitor_t
enum sc_monitor hd_sc_monitor_t
subclass values of bc_monitor
sc_mouse
sc_mouse
subclass values of bc_mouse
Definition hd.h:230
hd_pif_cdrom_t
enum pif_cdrom hd_pif_cdrom_t
CD-ROM prog_if values.
hd_sc_storage_t
enum sc_storage hd_sc_storage_t
subclass values of bc_storage
hd_sc_framebuffer_t
enum sc_framebuffer hd_sc_framebuffer_t
subclass values of bc_framebuffer
sc_net_if
sc_net_if
subclass values of bc_network_interface
Definition hd.h:242
sc_hub
sc_hub
subclass values of bc_hub
Definition hd.h:260
hd_base_classes_t
enum base_classes hd_base_classes_t
base class values (superset of PCI classes)
hd_sc_modem_t
enum sc_modem hd_sc_modem_t
subclass values of bc_modem
hd_sc_dsl_t
enum sc_dsl hd_sc_dsl_t
subclass values of bc_dsl
pif_usb_e
pif_usb_e
prog_if's of sc_ser_usb
Definition hd.h:280
hd_sc_mouse_t
enum sc_mouse hd_sc_mouse_t
subclass values of bc_mouse
sc_modem
sc_modem
subclass values of bc_modem
Definition hd.h:270
hd_sc_input_t
enum sc_input hd_sc_input_t
subclass values of bc_input
hd_sc_serial_t
enum sc_serial hd_sc_serial_t
subclass values of bc_serial
sc_dsl
sc_dsl
subclass values of bc_dsl
Definition hd.h:275
sc_std
sc_std
subclass values of bc_storage_device
Definition hd.h:236
hd_sc_internal_t
enum sc_internal hd_sc_internal_t
internal sub class values (bc_internal)
hd_sc_net_if_t
enum sc_net_if hd_sc_net_if_t
subclass values of bc_network_interface
sc_monitor
sc_monitor
subclass values of bc_monitor
Definition hd.h:175
sc_framebuffer
sc_framebuffer
subclass values of bc_framebuffer
Definition hd.h:191
sc_multimedia
sc_multimedia
subclass values of bc_multimedia
Definition hd.h:250
hd_sc_camera_t
enum sc_camera hd_sc_camera_t
subclass values of bc_camera
hd_sc_bridge_t
enum sc_bridge hd_sc_bridge_t
subclass values of bc_bridge
sc_display
sc_display
subclass values of bc_display
Definition hd.h:186
hd_sc_keyboard_t
enum sc_keyboard hd_sc_keyboard_t
subclass values of bc_keyboard
pif_cdrom
pif_cdrom
CD-ROM prog_if values.
Definition hd.h:286
sc_keyboard
sc_keyboard
subclass values of bc_keyboard
Definition hd.h:255
sc_internal
sc_internal
internal sub class values (bc_internal)
Definition hd.h:224
sc_input
sc_input
subclass values of bc_input
Definition hd.h:213
sc_ser_fire
@ sc_ser_fire
Definition hd.h:219
sc_ser_usb
@ sc_ser_usb
Definition hd.h:219
sc_ser_infiniband
@ sc_ser_infiniband
Definition hd.h:220
sc_ser_fiber
@ sc_ser_fiber
Definition hd.h:219
sc_ser_smbus
@ sc_ser_smbus
Definition hd.h:220
sc_ser_other
@ sc_ser_other
Definition hd.h:220
sc_ser_ssa
@ sc_ser_ssa
Definition hd.h:219
sc_ser_access
@ sc_ser_access
Definition hd.h:219
sc_sto_other
@ sc_sto_other
Definition hd.h:182
sc_sto_floppy
@ sc_sto_floppy
Definition hd.h:181
sc_sto_ide
@ sc_sto_ide
Definition hd.h:181
sc_sto_raid
@ sc_sto_raid
Definition hd.h:181
sc_sto_ipi
@ sc_sto_ipi
Definition hd.h:181
sc_sto_scsi
@ sc_sto_scsi
Definition hd.h:181
sc_bridge_pci
@ sc_bridge_pci
Definition hd.h:198
sc_bridge_nubus
@ sc_bridge_nubus
Definition hd.h:198
sc_bridge_host
@ sc_bridge_host
Definition hd.h:197
sc_bridge_pcmcia
@ sc_bridge_pcmcia
Definition hd.h:198
sc_bridge_eisa
@ sc_bridge_eisa
Definition hd.h:197
sc_bridge_mc
@ sc_bridge_mc
Definition hd.h:197
sc_bridge_cardbus
@ sc_bridge_cardbus
Definition hd.h:198
sc_bridge_isa
@ sc_bridge_isa
Definition hd.h:197
sc_bridge_other
@ sc_bridge_other
Definition hd.h:199
bus_ps3_system_bus
@ bus_ps3_system_bus
Definition hd.h:302
bus_pcmcia
@ bus_pcmcia
Definition hd.h:297
bus_vio
@ bus_vio
Definition hd.h:302
bus_nubus
@ bus_nubus
Definition hd.h:297
bus_iucv
@ bus_iucv
Definition hd.h:302
bus_ccw
@ bus_ccw
Definition hd.h:302
bus_other
@ bus_other
Definition hd.h:298
bus_mmc
@ bus_mmc
Definition hd.h:303
bus_sdio
@ bus_sdio
Definition hd.h:303
bus_nd
@ bus_nd
Definition hd.h:303
bus_scsi
@ bus_scsi
Definition hd.h:301
bus_uisvirtpci
@ bus_uisvirtpci
Definition hd.h:303
bus_ps2
@ bus_ps2
outside the range of the PCI values
Definition hd.h:301
bus_pci
@ bus_pci
Definition hd.h:297
bus_adb
@ bus_adb
Definition hd.h:302
bus_raid
@ bus_raid
Definition hd.h:302
bus_gameport
@ bus_gameport
Definition hd.h:303
bus_ibmebus
@ bus_ibmebus
Definition hd.h:303
bus_usb
@ bus_usb
Definition hd.h:301
bus_ide
@ bus_ide
Definition hd.h:301
bus_mc
@ bus_mc
Definition hd.h:297
bus_floppy
@ bus_floppy
Definition hd.h:301
bus_serial
@ bus_serial
Definition hd.h:301
bus_virtio
@ bus_virtio
Definition hd.h:303
bus_i2o
@ bus_i2o
Definition hd.h:302
bus_parallel
@ bus_parallel
Definition hd.h:301
bus_eisa
@ bus_eisa
Definition hd.h:297
bus_none
@ bus_none
Definition hd.h:297
bus_isa
@ bus_isa
Definition hd.h:297
bus_cardbus
@ bus_cardbus
Definition hd.h:298
bus_sbus
@ bus_sbus
Definition hd.h:302
sc_camera_webcam
@ sc_camera_webcam
Definition hd.h:266
sc_camera_digital
@ sc_camera_digital
Definition hd.h:266
bc_processor
@ bc_processor
Definition hd.h:164
bc_i2o
@ bc_i2o
Definition hd.h:164
bc_storage_device
@ bc_storage_device
Definition hd.h:168
bc_dsl
@ bc_dsl
Definition hd.h:170
bc_isdn
@ bc_isdn
Definition hd.h:167
bc_modem
@ bc_modem
Definition hd.h:167
bc_network_interface
@ bc_network_interface
Definition hd.h:168
bc_comm
@ bc_comm
Definition hd.h:163
bc_storage
@ bc_storage
Definition hd.h:162
bc_chipcard
@ bc_chipcard
Definition hd.h:169
bc_partition
@ bc_partition
Definition hd.h:170
bc_monitor
@ bc_monitor
Definition hd.h:167
bc_keyboard
@ bc_keyboard
Definition hd.h:168
bc_other
@ bc_other
Definition hd.h:164
bc_serial
@ bc_serial
Definition hd.h:164
bc_docking
@ bc_docking
Definition hd.h:163
bc_display
@ bc_display
Definition hd.h:162
bc_bluetooth
@ bc_bluetooth
Definition hd.h:170
bc_multimedia
@ bc_multimedia
Definition hd.h:162
bc_bridge
@ bc_bridge
Definition hd.h:163
bc_fingerprint
@ bc_fingerprint
Definition hd.h:170
bc_tv
@ bc_tv
Definition hd.h:170
bc_hub
@ bc_hub
Definition hd.h:169
bc_input
@ bc_input
Definition hd.h:163
bc_framebuffer
@ bc_framebuffer
Definition hd.h:170
bc_ps2
@ bc_ps2
Definition hd.h:167
bc_system
@ bc_system
Definition hd.h:163
bc_dvb
@ bc_dvb
Definition hd.h:170
bc_network
@ bc_network
Definition hd.h:162
bc_mouse
@ bc_mouse
Definition hd.h:167
bc_mmc_ctrl
@ bc_mmc_ctrl
Definition hd.h:171
bc_braille
@ bc_braille
Definition hd.h:169
bc_none
@ bc_none
Definition hd.h:162
bc_camera
@ bc_camera
Definition hd.h:169
bc_memory
@ bc_memory
Definition hd.h:163
bc_joystick
@ bc_joystick
Definition hd.h:169
bc_scanner
@ bc_scanner
Definition hd.h:169
bc_internal
@ bc_internal
Definition hd.h:167
bc_printer
@ bc_printer
Definition hd.h:168
bc_wireless
@ bc_wireless
Definition hd.h:164
pif_scsi
@ pif_scsi
Definition hd.h:292
pif_dasd
@ pif_dasd
Definition hd.h:292
pif_dasd_fba
@ pif_dasd_fba
Definition hd.h:292
sc_com_ser
@ sc_com_ser
Definition hd.h:204
sc_com_multi
@ sc_com_multi
Definition hd.h:204
sc_com_other
@ sc_com_other
Definition hd.h:204
sc_com_par
@ sc_com_par
Definition hd.h:204
sc_com_modem
@ sc_com_modem
Definition hd.h:204
sc_sys_dma
@ sc_sys_dma
Definition hd.h:209
sc_sys_rtc
@ sc_sys_rtc
Definition hd.h:209
sc_sys_timer
@ sc_sys_timer
Definition hd.h:209
sc_sys_pic
@ sc_sys_pic
Definition hd.h:209
sc_sys_other
@ sc_sys_other
Definition hd.h:209
sc_mou_sun
@ sc_mou_sun
Definition hd.h:231
sc_mou_usb
@ sc_mou_usb
Definition hd.h:231
sc_mou_ps2
@ sc_mou_ps2
Definition hd.h:231
sc_mou_ser
@ sc_mou_ser
Definition hd.h:231
sc_mou_bus
@ sc_mou_bus
Definition hd.h:231
sc_mou_other
@ sc_mou_other
Definition hd.h:232
sc_nif_myrinet
@ sc_nif_myrinet
Definition hd.h:245
sc_nif_other
@ sc_nif_other
Definition hd.h:246
sc_nif_ethernet
@ sc_nif_ethernet
Definition hd.h:243
sc_nif_ctc
@ sc_nif_ctc
Definition hd.h:244
sc_nif_tokenring
@ sc_nif_tokenring
Definition hd.h:243
sc_nif_escon
@ sc_nif_escon
Definition hd.h:245
sc_nif_loopback
@ sc_nif_loopback
Definition hd.h:243
sc_nif_qeth
@ sc_nif_qeth
Definition hd.h:244
sc_nif_xp
@ sc_nif_xp
Definition hd.h:245
sc_nif_usb
@ sc_nif_usb
Definition hd.h:246
sc_nif_wlan
@ sc_nif_wlan
Definition hd.h:245
sc_nif_fddi
@ sc_nif_fddi
Definition hd.h:243
sc_nif_hsi
@ sc_nif_hsi
Definition hd.h:244
sc_nif_sit
@ sc_nif_sit
Definition hd.h:246
sc_nif_iucv
@ sc_nif_iucv
Definition hd.h:244
sc_hub_usb
@ sc_hub_usb
Definition hd.h:261
sc_hub_other
@ sc_hub_other
Definition hd.h:261
pif_usb_ohci
@ pif_usb_ohci
Definition hd.h:281
pif_usb_ehci
@ pif_usb_ehci
Definition hd.h:281
pif_usb_xhci
@ pif_usb_xhci
Definition hd.h:281
pif_usb_uhci
@ pif_usb_uhci
Definition hd.h:281
pif_usb_device
@ pif_usb_device
Definition hd.h:282
pif_usb_other
@ pif_usb_other
Definition hd.h:282
sc_mod_win4
@ sc_mod_win4
Definition hd.h:271
sc_mod_win1
@ sc_mod_win1
Definition hd.h:271
sc_mod_at
@ sc_mod_at
Definition hd.h:271
sc_mod_win2
@ sc_mod_win2
Definition hd.h:271
sc_mod_win3
@ sc_mod_win3
Definition hd.h:271
sc_dsl_pppoe
@ sc_dsl_pppoe
Definition hd.h:276
sc_dsl_capiisdn
@ sc_dsl_capiisdn
Definition hd.h:276
sc_dsl_unknown
@ sc_dsl_unknown
Definition hd.h:276
sc_dsl_capi
@ sc_dsl_capi
Definition hd.h:276
sc_sdev_cdrom
@ sc_sdev_cdrom
Definition hd.h:237
sc_sdev_tape
@ sc_sdev_tape
Definition hd.h:237
sc_sdev_disk
@ sc_sdev_disk
Definition hd.h:237
sc_sdev_other
@ sc_sdev_other
Definition hd.h:238
sc_sdev_scanner
@ sc_sdev_scanner
Definition hd.h:237
sc_sdev_floppy
@ sc_sdev_floppy
Definition hd.h:237
sc_mon_lcd
@ sc_mon_lcd
Definition hd.h:176
sc_mon_crt
@ sc_mon_crt
Definition hd.h:176
sc_mon_other
@ sc_mon_other
Definition hd.h:176
sc_fb_vesa
@ sc_fb_vesa
Definition hd.h:192
sc_multi_audio
@ sc_multi_audio
Definition hd.h:251
sc_multi_other
@ sc_multi_other
Definition hd.h:251
sc_multi_video
@ sc_multi_video
Definition hd.h:251
sc_dis_vga
@ sc_dis_vga
Definition hd.h:187
sc_dis_xga
@ sc_dis_xga
Definition hd.h:187
sc_dis_other
@ sc_dis_other
Definition hd.h:187
pif_cdrw
@ pif_cdrw
Definition hd.h:287
pif_dvd
@ pif_dvd
Definition hd.h:287
pif_cdr
@ pif_cdr
Definition hd.h:287
pif_dvdr
@ pif_dvdr
Definition hd.h:287
pif_dvdram
@ pif_dvdram
Definition hd.h:287
sc_keyboard_console
@ sc_keyboard_console
Definition hd.h:256
sc_keyboard_kbd
@ sc_keyboard_kbd
Definition hd.h:256
sc_int_sys
@ sc_int_sys
Definition hd.h:226
sc_int_none
@ sc_int_none
Definition hd.h:225
sc_int_cpu
@ sc_int_cpu
Definition hd.h:225
sc_int_fpu
@ sc_int_fpu
Definition hd.h:225
sc_int_prom
@ sc_int_prom
Definition hd.h:226
sc_int_isapnp_if
@ sc_int_isapnp_if
Definition hd.h:225
sc_int_bios
@ sc_int_bios
Definition hd.h:226
sc_int_main_mem
@ sc_int_main_mem
Definition hd.h:225
sc_inp_mouse
@ sc_inp_mouse
Definition hd.h:214
sc_inp_other
@ sc_inp_other
Definition hd.h:214
sc_inp_keyb
@ sc_inp_keyb
Definition hd.h:214
sc_inp_digit
@ sc_inp_digit
Definition hd.h:214
vbe_mode_info_t
struct vbe_mode_info_s vbe_mode_info_t
VESA BIOS mode information item.
driver_info_t
union driver_info_u driver_info_t
hd_driver_info_t
enum driver_info_type hd_driver_info_t
device driver info types
isdn_parm_t
struct isdn_parm_s isdn_parm_t
ISDN configuration parameter Notes on isdn_parm_t:
driver_info_type
driver_info_type
device driver info types
Definition hd.h:1946
di_mouse
@ di_mouse
Definition hd.h:1947
di_module
@ di_module
Definition hd.h:1947
di_isdn
@ di_isdn
Definition hd.h:1947
di_display
@ di_display
Definition hd.h:1947
di_kbd
@ di_kbd
Definition hd.h:1947
di_any
@ di_any
Definition hd.h:1947
di_dsl
@ di_dsl
Definition hd.h:1947
di_x11
@ di_x11
Definition hd.h:1947
str_list_t
struct s_str_list_t str_list_t
String list type.
isapnp_flags
isapnp_flags
ISA-PnP related flags cf.
Definition hd.h:1136
pci_t
struct s_pci_t pci_t
structure holding the (raw) PCI data
hd_isapnp_flags_t
enum isapnp_flags hd_isapnp_flags_t
ISA-PnP related flags cf.
hd_detail_monitor_t
struct hd_detail_monitor_s hd_detail_monitor_t
scsi_t
struct scsi_s scsi_t
raw SCSI data
hd_pci_flags_t
enum pci_flags hd_pci_flags_t
pci related flags cf.
hd_detail_type_t
enum hd_detail_type hd_detail_type_t
Hardware detail information type.
pmac_model
pmac_model
Definition hd.h:1196
ccw_t
struct ccw_s ccw_t
Device/CU model numbers for S/390.
joystick_t
struct joystick_s joystick_t
Joystick details.
cdrom_info_t
struct cdrom_info_s cdrom_info_t
special CDROM entry
pci_flags
pci_flags
pci related flags cf.
Definition hd.h:1063
devtree_t
struct devtree_s devtree_t
PROM tree on PPC.
usb_t
struct usb_s usb_t
raw USB data
hd_detail_type
hd_detail_type
Hardware detail information type.
Definition hd.h:2068
isapnp_flag_act
@ isapnp_flag_act
Definition hd.h:1137
PowerBook5_6
@ PowerBook5_6
Definition hd.h:1226
PowerBook5_8
@ PowerBook5_8
Definition hd.h:1228
PowerBook6_7
@ PowerBook6_7
Definition hd.h:1235
PowerBook5_4
@ PowerBook5_4
Definition hd.h:1224
PowerMac8_1
@ PowerMac8_1
Definition hd.h:1259
PowerBook6_5
@ PowerBook6_5
Definition hd.h:1234
PowerMac7_3
@ PowerMac7_3
Definition hd.h:1258
AAPL_e407
@ AAPL_e407
Definition hd.h:1208
AAPL_9500
@ AAPL_9500
Definition hd.h:1203
AAPL_PowerBook1998
@ AAPL_PowerBook1998
Definition hd.h:1205
iMac_1
@ iMac_1
Definition hd.h:1264
PowerMac6_1
@ PowerMac6_1
Definition hd.h:1254
AAPL_3500
@ AAPL_3500
Definition hd.h:1198
AAPL_Gossamer
@ AAPL_Gossamer
Definition hd.h:1204
PowerMac4_2
@ PowerMac4_2
Definition hd.h:1251
RackMac3_1
@ RackMac3_1
Definition hd.h:1263
PowerMac6_4
@ PowerMac6_4
Definition hd.h:1256
PowerBook4_2
@ PowerBook4_2
Definition hd.h:1219
PowerMac2_1
@ PowerMac2_1
Definition hd.h:1242
PowerBook5_2
@ PowerBook5_2
Definition hd.h:1222
PowerBook2_2
@ PowerBook2_2
Definition hd.h:1212
PowerBook6_8
@ PowerBook6_8
Definition hd.h:1236
RackMac1_2
@ RackMac1_2
Definition hd.h:1262
PowerBook5_3
@ PowerBook5_3
Definition hd.h:1223
PowerMac3_1
@ PowerMac3_1
Definition hd.h:1244
PowerBook5_9
@ PowerBook5_9
Definition hd.h:1229
PowerMac9_1
@ PowerMac9_1
Definition hd.h:1260
PowerBook3_5
@ PowerBook3_5
Definition hd.h:1217
PowerMac3_2
@ PowerMac3_2
Definition hd.h:1245
AAPL_e411
@ AAPL_e411
Definition hd.h:1209
AAPL_8500
@ AAPL_8500
Definition hd.h:1202
PowerBook6_1
@ PowerBook6_1
Definition hd.h:1230
AAPL_3400
@ AAPL_3400
Definition hd.h:1197
PowerBook5_7
@ PowerBook5_7
Definition hd.h:1227
PowerMac3_5
@ PowerMac3_5
Definition hd.h:1248
PowerBook5_5
@ PowerBook5_5
Definition hd.h:1225
PowerMac4_1
@ PowerMac4_1
Definition hd.h:1250
PowerMac1_1
@ PowerMac1_1
Definition hd.h:1237
PowerMac10_1
@ PowerMac10_1
Definition hd.h:1239
AAPL_7500
@ AAPL_7500
Definition hd.h:1201
PowerBook4_3
@ PowerBook4_3
Definition hd.h:1220
PowerBook6_4
@ PowerBook6_4
Definition hd.h:1233
PowerMac4_4
@ PowerMac4_4
Definition hd.h:1252
AAPL_7300
@ AAPL_7300
Definition hd.h:1200
PowerBook3_2
@ PowerBook3_2
Definition hd.h:1214
AAPL_PowerMac_G3
@ AAPL_PowerMac_G3
Definition hd.h:1206
PowerBook4_1
@ PowerBook4_1
Definition hd.h:1218
AAPL_ShinerESB
@ AAPL_ShinerESB
Definition hd.h:1207
PowerMac3_6
@ PowerMac3_6
Definition hd.h:1249
PowerMac12_1
@ PowerMac12_1
Definition hd.h:1241
PowerMac1_2
@ PowerMac1_2
Definition hd.h:1238
RackMac1_1
@ RackMac1_1
Definition hd.h:1261
PowerMac7_2
@ PowerMac7_2
Definition hd.h:1257
PowerBook6_2
@ PowerBook6_2
Definition hd.h:1231
PowerMac6_3
@ PowerMac6_3
Definition hd.h:1255
PowerBook6_3
@ PowerBook6_3
Definition hd.h:1232
PowerMac2_2
@ PowerMac2_2
Definition hd.h:1243
PowerBook1_1
@ PowerBook1_1
Definition hd.h:1210
PowerMac3_3
@ PowerMac3_3
Definition hd.h:1246
PowerMac3_4
@ PowerMac3_4
Definition hd.h:1247
PowerBook2_1
@ PowerBook2_1
Definition hd.h:1211
PowerBook3_1
@ PowerBook3_1
Definition hd.h:1213
PowerBook3_3
@ PowerBook3_3
Definition hd.h:1215
AAPL_7200
@ AAPL_7200
Definition hd.h:1199
PowerMac5_1
@ PowerMac5_1
Definition hd.h:1253
PowerBook3_4
@ PowerBook3_4
Definition hd.h:1216
PowerMac11_2
@ PowerMac11_2
Definition hd.h:1240
PowerBook5_1
@ PowerBook5_1
Definition hd.h:1221
pci_flag_ok
@ pci_flag_ok
Definition hd.h:1064
pci_flag_pm
@ pci_flag_pm
Definition hd.h:1064
pci_flag_agp
@ pci_flag_agp
Definition hd.h:1064
hd_detail_pci
@ hd_detail_pci
Definition hd.h:2069
hd_detail_usb
@ hd_detail_usb
Definition hd.h:2069
hd_detail_floppy
@ hd_detail_floppy
Definition hd.h:2070
hd_detail_sys
@ hd_detail_sys
Definition hd.h:2071
hd_detail_bios
@ hd_detail_bios
Definition hd.h:2070
hd_detail_devtree
@ hd_detail_devtree
Definition hd.h:2071
hd_detail_monitor
@ hd_detail_monitor
Definition hd.h:2071
hd_detail_isapnp
@ hd_detail_isapnp
Definition hd.h:2069
hd_detail_scsi
@ hd_detail_scsi
Definition hd.h:2071
hd_detail_ccw
@ hd_detail_ccw
Definition hd.h:2072
hd_detail_joystick
@ hd_detail_joystick
Definition hd.h:2072
hd_detail_cpu
@ hd_detail_cpu
Definition hd.h:2070
hd_detail_cdrom
@ hd_detail_cdrom
Definition hd.h:2069
hd_detail_prom
@ hd_detail_prom
Definition hd.h:2070
hd_read_config
hd_t * hd_read_config(hd_data_t *hd_data, const char *id)
Definition manual.c:891
hd_write_config
int hd_write_config(hd_data_t *hd_data, hd_t *hd)
Definition manual.c:922
hd_status_value_name
char * hd_status_value_name(hd_status_value_t status)
Definition manual.c:194
hd_manual_write_entry
int hd_manual_write_entry(hd_data_t *hd_data, hd_manual_t *entry)
Definition manual.c:264
hd_hw_item_type
hd_hw_item_t hd_hw_item_type(char *name)
Definition hwclass_names.h:91
hd_manual_t
struct hd_manual_s hd_manual_t
Manually configured hardware information.
hd_hw_item_name
char * hd_hw_item_name(hd_hw_item_t item)
Definition hwclass_names.h:85
hd_manual_read_entry
hd_manual_t * hd_manual_read_entry(hd_data_t *hd_data, const char *id)
Manually configured devices implemented in manual.c.
Definition manual.c:203
hd_free_manual
hd_manual_t * hd_free_manual(hd_manual_t *manual)
Definition hd.c:1529
hd_res_t
union u_hd_res_t hd_res_t
libhd resource union
hd_smbios_t
union u_hd_smbios_t hd_smbios_t
SMBIOS list item.
hd_smbios_type_t
hd_smbios_type_t
smbios entries
Definition hd.h:535
sm_secure
@ sm_secure
Definition hd.h:542
sm_voltage
@ sm_voltage
Definition hd.h:542
sm_mouse
@ sm_mouse
Definition hd.h:541
sm_group
@ sm_group
Definition hd.h:539
sm_power
@ sm_power
Definition hd.h:542
sm_end
@ sm_end
Definition hd.h:545
sm_cache
@ sm_cache
Definition hd.h:537
sm_processor
@ sm_processor
Definition hd.h:537
sm_bis
@ sm_bis
Definition hd.h:543
sm_memarraymap
@ sm_memarraymap
Definition hd.h:540
sm_chassis
@ sm_chassis
Definition hd.h:536
sm_connect
@ sm_connect
Definition hd.h:538
sm_mandev
@ sm_mandev
Definition hd.h:544
sm_current
@ sm_current
Definition hd.h:543
sm_reset
@ sm_reset
Definition hd.h:541
sm_sysinfo
@ sm_sysinfo
Definition hd.h:536
sm_slot
@ sm_slot
Definition hd.h:538
sm_memmodule
@ sm_memmodule
Definition hd.h:537
sm_mandevcomp
@ sm_mandevcomp
Definition hd.h:544
sm_memdevicemap
@ sm_memdevicemap
Definition hd.h:541
sm_lang
@ sm_lang
Definition hd.h:539
sm_biosinfo
@ sm_biosinfo
Definition hd.h:536
sm_outofband
@ sm_outofband
Definition hd.h:543
sm_memarray
@ sm_memarray
Definition hd.h:540
sm_eventlog
@ sm_eventlog
Definition hd.h:539
sm_memctrl
@ sm_memctrl
Definition hd.h:537
sm_memdevice
@ sm_memdevice
Definition hd.h:540
sm_oem
@ sm_oem
Definition hd.h:538
sm_inactive
@ sm_inactive
Definition hd.h:545
sm_config
@ sm_config
Definition hd.h:539
sm_battery
@ sm_battery
Definition hd.h:541
sm_mdtd
@ sm_mdtd
Definition hd.h:545
sm_onboard
@ sm_onboard
Definition hd.h:538
sm_mem64error
@ sm_mem64error
Definition hd.h:544
sm_boardinfo
@ sm_boardinfo
Definition hd.h:536
sm_memerror
@ sm_memerror
Definition hd.h:540
sm_cool
@ sm_cool
Definition hd.h:542
sm_temperature
@ sm_temperature
Definition hd.h:543
sm_boot
@ sm_boot
Definition hd.h:544
hd_t
struct s_hd_t hd_t
Individual hardware item.
hd_list2
hd_t * hd_list2(hd_data_t *hd_data, hd_hw_item_t *items, int rescan)
Definition hd.c:3407
cpu_arch
cpu_arch
CPU architecture.
Definition hd.h:1437
hd_set_probe_feature_hw
void hd_set_probe_feature_hw(hd_data_t *hd_data, hd_hw_item_t item)
Definition hd.c:607
hd_cpu_arch
enum cpu_arch hd_cpu_arch(hd_data_t *hd_data)
Definition hd.c:3117
hd_free_hd_data
hd_data_t * hd_free_hd_data(hd_data_t *hd_data)
Free all data.
Definition hd.c:990
serial_t
struct s_serial_t serial_t
Serial device resource and hardware information.
hw_item
hw_item
list types for hd_list()
Definition hd.h:139
hd_sub_class_list
hd_t * hd_sub_class_list(hd_data_t *hd_data, unsigned base_class, unsigned sub_class)
Definition hd.c:3529
hd_change_status
int hd_change_status(const char *id, hd_status_t status, const char *config_string)
Definition hd.c:5058
hd_probe_feature_by_name
enum probe_feature hd_probe_feature_by_name(char *name)
Definition hd.c:2773
hd_clear_probe_feature
void hd_clear_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition hd.c:576
hddb_dump
void hddb_dump(hddb2_data_t *hddb, FILE *f)
Definition hddb.c:1286
hd_dump_entry
void hd_dump_entry(hd_data_t *hd_data, hd_t *hd, FILE *f)
Definition hdp.c:46
hddb_add_info
void hddb_add_info(hd_data_t *hd_data, hd_t *hd)
Definition hddb.c:1848
hd_probe_feature_t
enum probe_feature hd_probe_feature_t
flags to control the probing.
hd_has_pcmcia
int hd_has_pcmcia(hd_data_t *hd_data)
Definition hd.c:2913
ser_device_t
struct s_ser_device_t ser_device_t
Serial device configuration information.
hd_write_properties
int hd_write_properties(const char *udi, hal_prop_t *prop)
Definition hal.c:501
hddb_dump_raw
void hddb_dump_raw(hddb2_data_t *hddb, FILE *f)
Definition hddb.c:1059
hd_probe_feature
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition hd.c:599
hd_base_class_list
hd_t * hd_base_class_list(hd_data_t *hd_data, unsigned base_class)
Definition hd.c:3506
hal_device_t
struct hal_device_s hal_device_t
HAL device.
hd_usb_support
int hd_usb_support(hd_data_t *hd_data)
Definition hd.c:2945
hd_probe_feature_by_value
char * hd_probe_feature_by_value(enum probe_feature feature)
Definition hd.c:2787
yes_no_flag
yes_no_flag
Definition hd.h:1665
hd_read_cdrom_info
cdrom_info_t * hd_read_cdrom_info(hd_data_t *hd_data, hd_t *hd)
Definition block.c:1269
hd_list
hd_t * hd_list(hd_data_t *hd_data, hd_hw_item_t item, int rescan, hd_t *hd_old)
Definition hd.c:3296
hd_mac_color
int hd_mac_color(hd_data_t *hd_data)
Definition hd.c:3049
hd_list_with_status
hd_t * hd_list_with_status(hd_data_t *hd_data, hd_hw_item_t item, hd_status_t status)
Definition hd.c:3357
hd_change_config_status
int hd_change_config_status(hd_data_t *hd_data, const char *id, hd_status_t status, const char *config_string)
Definition hd.c:5030
hd_boot_arch
enum boot_arch hd_boot_arch(hd_data_t *hd_data)
Definition hd.c:3181
hddb_get_packages
str_list_t * hddb_get_packages(hd_data_t *hd_data)
Definition hddb.c:1797
hd_get_device_by_idx
hd_t * hd_get_device_by_idx(hd_data_t *hd_data, unsigned idx)
Definition hd.c:2311
hd_udevinfo_t
struct s_udevinfo_t hd_udevinfo_t
udev database info
hddb_entry_mask_t
uint32_t hddb_entry_mask_t
Hardware DB item entry mask.
Definition hd.h:1527
hd_is_uml
int hd_is_uml(hd_data_t *hd_data)
Definition hd.c:3187
hd_is_hw_class
int hd_is_hw_class(hd_t *hd, hd_hw_item_t hw_class)
Definition hd.c:5326
hd_is_sgi_altix
int hd_is_sgi_altix(hd_data_t *hd_data)
Definition hd.c:3230
size_units
size_units
size units (cf.
Definition hd.h:1649
hd_size_units_t
enum size_units hd_size_units_t
size units (cf.
hd_boot_arch_t
enum boot_arch hd_boot_arch_t
hd_set_hw_class
void hd_set_hw_class(hd_t *hd, hd_hw_item_t hw_class)
Definition hd.c:5313
modinfo_type_e
modinfo_type_e
module information type
Definition hd.h:1555
boot_arch
boot_arch
Definition hd.h:1456
hd_free_hal_properties
hal_prop_t * hd_free_hal_properties(hal_prop_t *prop)
Definition hd.c:1089
hd_busid_to_hwcfg
const char * hd_busid_to_hwcfg(int busid)
Definition hd.c:3558
hd_geo_types_t
enum geo_types hd_geo_types_t
hd_resource_types_t
enum resource_types hd_resource_types_t
resource types: see Resource structures
access_flags
access_flags
access types for I/O and memory resources
Definition hd.h:1657
hal_prop_type_t
hal_prop_type_t
HAL device property types.
Definition hd.h:1603
hal_prop_t
struct hal_prop_s hal_prop_t
HAL device properties.
hd_hotplug_t
hd_hotplug_t
Various types of hotplug devices.
Definition hd.h:381
hd_scan
void hd_scan(hd_data_t *hd_data)
the actual hardware scan
Definition hd.c:1821
probe_feature
probe_feature
flags to control the probing.
Definition hd.h:112
geo_types
geo_types
Definition hd.h:1672
hd_yes_no_flag_t
enum yes_no_flag hd_yes_no_flag_t
hd_boot_disk
unsigned hd_boot_disk(hd_data_t *hd_data, int *matches)
Definition hd.c:3773
hd_version
char * hd_version(void)
Definition hd.c:5792
hd_module_is_active
int hd_module_is_active(hd_data_t *hd_data, char *mod)
Definition hd.c:2840
hd_color
int hd_color(hd_data_t *hd_data)
Definition hd.c:3025
hd_display_adapter
unsigned hd_display_adapter(hd_data_t *hd_data)
Definition hd.c:3055
hd_bus_list
hd_t * hd_bus_list(hd_data_t *hd_data, unsigned bus)
Definition hd.c:3543
hd_free_hd_list
hd_t * hd_free_hd_list(hd_t *hd)
Free hardware items returned by e.g. hd_list().
Definition hd.c:1216
modinfo_type_t
enum modinfo_type_e modinfo_type_t
module information type
resource_types
resource_types
resource types: see Resource structures
Definition hd.h:1639
hd_add_driver_data
void hd_add_driver_data(hd_data_t *hd_data, hd_t *hd)
Definition int.c:1334
hd_smp_support
int hd_smp_support(hd_data_t *hd_data)
Definition hd.c:2963
hd_sysfsdrv_t
struct s_sysfsdrv_t hd_sysfsdrv_t
sysfs driver info
hd_status_value_t
hd_status_value_t
hardware config status values
Definition hd.h:374
hd_access_flags_t
enum access_flags hd_access_flags_t
access types for I/O and memory resources
hd_read_properties
hal_prop_t * hd_read_properties(const char *udi)
Definition hal.c:522
hd_list_with_status2
hd_t * hd_list_with_status2(hd_data_t *hd_data, hd_hw_item_t *items, hd_status_t status)
Definition hd.c:3475
hd_read_mmap
int hd_read_mmap(hd_data_t *hd_data, char *name, unsigned char *buf, off_t start, unsigned size)
Definition hd.c:5969
hd_is_xen
int hd_is_xen(hd_data_t *hd_data)
Definition hd.c:3243
hd_cpu_arch_t
enum cpu_arch hd_cpu_arch_t
CPU architecture.
hd_set_probe_feature
void hd_set_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition hd.c:548
hddb_list_t
struct hddb_list_s hddb_list_t
Hardware DB list item.
hd_hw_item_t
enum hw_item hd_hw_item_t
list types for hd_list()
arch_x86_64
@ arch_x86_64
Definition hd.h:1448
arch_mips
@ arch_mips
Definition hd.h:1447
arch_ppc
@ arch_ppc
Definition hd.h:1442
arch_sparc64
@ arch_sparc64
Definition hd.h:1441
arch_unknown
@ arch_unknown
Definition hd.h:1438
arch_s390x
@ arch_s390x
Definition hd.h:1445
arch_sparc
@ arch_sparc
Definition hd.h:1441
arch_ia64
@ arch_ia64
Definition hd.h:1444
arch_riscv
@ arch_riscv
Definition hd.h:1450
arch_arm
@ arch_arm
Definition hd.h:1446
arch_68k
@ arch_68k
Definition hd.h:1443
arch_aarch64
@ arch_aarch64
Definition hd.h:1449
arch_alpha
@ arch_alpha
Definition hd.h:1440
arch_s390
@ arch_s390
Definition hd.h:1445
arch_ppc64
@ arch_ppc64
Definition hd.h:1442
arch_intel
@ arch_intel
Definition hd.h:1439
hw_redasd
@ hw_redasd
Definition hd.h:147
hw_usb_ctrl
@ hw_usb_ctrl
Definition hd.h:144
hw_wlan
@ hw_wlan
Definition hd.h:147
hw_pcmcia
@ hw_pcmcia
Definition hd.h:146
hw_sys
@ hw_sys
Definition hd.h:140
hw_storage_ctrl
@ hw_storage_ctrl
Definition hd.h:142
hw_isdn
@ hw_isdn
Definition hd.h:143
hw_floppy
@ hw_floppy
Definition hd.h:144
hw_fingerprint
@ hw_fingerprint
Definition hd.h:148
hw_dvb
@ hw_dvb
Definition hd.h:145
hw_isapnp
@ hw_isapnp
Definition hd.h:145
hw_mmc_ctrl
@ hw_mmc_ctrl
Definition hd.h:148
hw_chipcard
@ hw_chipcard
Definition hd.h:141
hw_pcmcia_ctrl
@ hw_pcmcia_ctrl
Definition hd.h:146
hw_dsl
@ hw_dsl
Definition hd.h:147
hw_monitor
@ hw_monitor
Definition hd.h:141
hw_manual
@ hw_manual
Definition hd.h:144
hw_framebuffer
@ hw_framebuffer
Definition hd.h:142
hw_keyboard
@ hw_keyboard
Definition hd.h:140
hw_pci
@ hw_pci
Definition hd.h:144
hw_scsi
@ hw_scsi
Definition hd.h:145
hw_printer
@ hw_printer
Definition hd.h:141
hw_none
@ hw_none
Definition hd.h:140
hw_disk
@ hw_disk
Definition hd.h:143
hw_hub
@ hw_hub
Definition hd.h:145
hw_modem
@ hw_modem
Definition hd.h:143
hw_hotplug
@ hw_hotplug
Definition hd.h:146
hw_bluetooth
@ hw_bluetooth
Definition hd.h:148
hw_cpu
@ hw_cpu
Definition hd.h:140
hw_sound
@ hw_sound
Definition hd.h:142
hw_pppoe
@ hw_pppoe
Definition hd.h:147
hw_unknown
@ hw_unknown
append new entries here
Definition hd.h:150
hw_ieee1394_ctrl
@ hw_ieee1394_ctrl
Definition hd.h:146
hw_all
@ hw_all
hw_all must be last
Definition hd.h:150
hw_block
@ hw_block
Definition hd.h:147
hw_display
@ hw_display
Definition hd.h:142
hw_ieee1394
@ hw_ieee1394
Definition hd.h:146
hw_vbe
@ hw_vbe
Definition hd.h:148
hw_bridge
@ hw_bridge
Definition hd.h:145
hw_memory
@ hw_memory
Definition hd.h:145
hw_mouse
@ hw_mouse
Definition hd.h:140
hw_usb
@ hw_usb
Definition hd.h:144
hw_network_ctrl
@ hw_network_ctrl
Definition hd.h:143
hw_tape
@ hw_tape
Definition hd.h:148
hw_camera
@ hw_camera
Definition hd.h:142
hw_scanner
@ hw_scanner
Definition hd.h:141
hw_tv
@ hw_tv
Definition hd.h:141
hw_cdrom
@ hw_cdrom
Definition hd.h:144
hw_hotplug_ctrl
@ hw_hotplug_ctrl
Definition hd.h:147
hw_braille
@ hw_braille
Definition hd.h:140
hw_joystick
@ hw_joystick
Definition hd.h:141
hw_partition
@ hw_partition
Definition hd.h:143
hw_bios
@ hw_bios
Definition hd.h:144
hw_network
@ hw_network
Definition hd.h:143
hw_zip
@ hw_zip
Definition hd.h:147
hw_ide
@ hw_ide
Definition hd.h:145
flag_yes
@ flag_yes
yes
Definition hd.h:1668
flag_no
@ flag_no
no
Definition hd.h:1667
flag_unknown
@ flag_unknown
unknown
Definition hd.h:1666
size_unit_kbyte
@ size_unit_kbyte
Definition hd.h:1651
size_unit_gbyte
@ size_unit_gbyte
Definition hd.h:1651
size_unit_mbyte
@ size_unit_mbyte
Definition hd.h:1651
size_unit_mm
@ size_unit_mm
Definition hd.h:1651
size_unit_cinch
@ size_unit_cinch
Definition hd.h:1650
size_unit_cm
@ size_unit_cm
Definition hd.h:1650
size_unit_sectors
@ size_unit_sectors
Definition hd.h:1650
size_unit_byte
@ size_unit_byte
Definition hd.h:1650
mi_pci
@ mi_pci
Definition hd.h:1555
mi_none
@ mi_none
Definition hd.h:1555
mi_other
@ mi_other
Definition hd.h:1555
boot_milo
@ boot_milo
Definition hd.h:1458
boot_elilo
@ boot_elilo
Definition hd.h:1458
boot_grub
@ boot_grub
Definition hd.h:1459
boot_aboot
@ boot_aboot
Definition hd.h:1458
boot_unknown
@ boot_unknown
Definition hd.h:1457
boot_silo
@ boot_silo
Definition hd.h:1458
boot_ppc
@ boot_ppc
Definition hd.h:1458
boot_uboot
@ boot_uboot
Definition hd.h:1459
boot_mips
@ boot_mips
Definition hd.h:1459
boot_lilo
@ boot_lilo
Definition hd.h:1458
boot_s390
@ boot_s390
Definition hd.h:1458
acc_rw
@ acc_rw
read/write
Definition hd.h:1661
acc_unknown
@ acc_unknown
unknown
Definition hd.h:1658
acc_wo
@ acc_wo
write only
Definition hd.h:1660
acc_ro
@ acc_ro
read only
Definition hd.h:1659
p_list
@ p_list
Definition hd.h:1604
p_int32
@ p_int32
Definition hd.h:1604
p_string
@ p_string
Definition hd.h:1604
p_uint64
@ p_uint64
Definition hd.h:1604
p_invalid
@ p_invalid
Definition hd.h:1604
p_bool
@ p_bool
Definition hd.h:1604
p_double
@ p_double
Definition hd.h:1604
hp_none
@ hp_none
Not a hotpluggable device.
Definition hd.h:382
hp_cardbus
@ hp_cardbus
Cardbus device.
Definition hd.h:384
hp_ieee1394
@ hp_ieee1394
IEEE 1394 (FireWire) device.
Definition hd.h:387
hp_pcmcia
@ hp_pcmcia
PCMCIA device.
Definition hd.h:383
hp_usb
@ hp_usb
USB device.
Definition hd.h:386
hp_pci
@ hp_pci
PCI hotplug device.
Definition hd.h:385
pr_kbd
@ pr_kbd
Definition hd.h:117
pr_isdn
@ pr_isdn
Definition hd.h:117
pr_usb_mods
@ pr_usb_mods
Definition hd.h:115
pr_isapnp
@ pr_isapnp
Definition hd.h:113
pr_block_cdrom
@ pr_block_cdrom
Definition hd.h:122
pr_misc
@ pr_misc
Definition hd.h:113
pr_modem
@ pr_modem
Definition hd.h:115
pr_braille_baum
@ pr_braille_baum
Definition hd.h:119
pr_bios_ddc
@ pr_bios_ddc
Definition hd.h:122
pr_bios_crc
@ pr_bios_crc
Definition hd.h:124
pr_monitor
@ pr_monitor
Definition hd.h:115
pr_all
@ pr_all
pr_all must be last
Definition hd.h:128
pr_scsi
@ pr_scsi
Definition hd.h:115
pr_udev
@ pr_udev
Definition hd.h:121
pr_floppy
@ pr_floppy
Definition hd.h:113
pr_misc_floppy
@ pr_misc_floppy
Definition hd.h:114
pr_isapnp_old
@ pr_isapnp_old
Definition hd.h:119
pr_usb
@ pr_usb
Definition hd.h:115
pr_sbus
@ pr_sbus
Definition hd.h:117
pr_parallel_lp
@ pr_parallel_lp
Definition hd.h:116
pr_block_mods
@ pr_block_mods
Definition hd.h:123
pr_s390
@ pr_s390
Definition hd.h:121
pr_isa_isdn
@ pr_isa_isdn
Definition hd.h:117
pr_pppoe
@ pr_pppoe
Definition hd.h:120
pr_cpuemu_debug
@ pr_cpuemu_debug
Definition hd.h:124
pr_s390disks
@ pr_s390disks
Definition hd.h:121
pr_pcmcia
@ pr_pcmcia
Definition hd.h:120
pr_sysfs
@ pr_sysfs
Definition hd.h:121
pr_cpuemu
@ pr_cpuemu
Definition hd.h:121
pr_veth
@ pr_veth
Definition hd.h:120
pr_braille_fhp
@ pr_braille_fhp
Definition hd.h:118
pr_scsi_noserial
@ pr_scsi_noserial
Definition hd.h:124
pr_memory
@ pr_memory
Definition hd.h:113
pr_bios_ddc_ports
@ pr_bios_ddc_ports
Definition hd.h:125
pr_wlan
@ pr_wlan
Definition hd.h:124
pr_net
@ pr_net
Definition hd.h:113
pr_default
@ pr_default
Definition hd.h:127
pr_block_part
@ pr_block_part
Definition hd.h:122
pr_sys
@ pr_sys
Definition hd.h:118
pr_parallel_zip
@ pr_parallel_zip
Definition hd.h:116
pr_braille_alva
@ pr_braille_alva
Definition hd.h:118
pr_edd
@ pr_edd
Definition hd.h:122
pr_fork
@ pr_fork
Definition hd.h:120
pr_bios_vbe
@ pr_bios_vbe
Definition hd.h:119
pr_manual
@ pr_manual
Definition hd.h:120
pr_modules_pata
@ pr_modules_pata
Definition hd.h:125
pr_modem_usb
@ pr_modem_usb
Definition hd.h:116
pr_parallel
@ pr_parallel
Definition hd.h:116
pr_ignx11
@ pr_ignx11
Definition hd.h:118
pr_isapnp_mod
@ pr_isapnp_mod
Definition hd.h:119
pr_isa
@ pr_isa
Definition hd.h:116
pr_bios_mode
@ pr_bios_mode
Definition hd.h:123
pr_bios_fb
@ pr_bios_fb
Definition hd.h:123
pr_misc_serial
@ pr_misc_serial
Definition hd.h:114
pr_edd_mod
@ pr_edd_mod
Definition hd.h:122
pr_bios
@ pr_bios
Definition hd.h:114
pr_net_eeprom
@ pr_net_eeprom
Definition hd.h:126
pr_int
@ pr_int
Definition hd.h:117
pr_max
@ pr_max
Definition hd.h:127
pr_scan
@ pr_scan
Definition hd.h:120
pr_block
@ pr_block
Definition hd.h:122
pr_parallel_imm
@ pr_parallel_imm
Definition hd.h:121
pr_misc_par
@ pr_misc_par
Definition hd.h:114
pr_cpu
@ pr_cpu
Definition hd.h:114
pr_x86emu
@ pr_x86emu
Definition hd.h:126
pr_lxrc
@ pr_lxrc
Definition hd.h:127
pr_bios_acpi
@ pr_bios_acpi
Definition hd.h:125
pr_adb
@ pr_adb
Definition hd.h:115
pr_hal
@ pr_hal
Definition hd.h:124
pr_pci
@ pr_pci
Definition hd.h:113
pr_mouse
@ pr_mouse
Definition hd.h:115
pr_braille_ht
@ pr_braille_ht
Definition hd.h:118
pr_bios_vram
@ pr_bios_vram
Definition hd.h:125
pr_serial
@ pr_serial
Definition hd.h:114
pr_input
@ pr_input
Definition hd.h:123
pr_fb
@ pr_fb
Definition hd.h:120
pr_prom
@ pr_prom
Definition hd.h:117
pr_braille
@ pr_braille
Definition hd.h:117
pr_isapnp_new
@ pr_isapnp_new
Definition hd.h:119
pr_bios_vesa
@ pr_bios_vesa
Definition hd.h:123
geo_bios_legacy
@ geo_bios_legacy
Definition hd.h:1676
geo_bios_edd
@ geo_bios_edd
Definition hd.h:1675
geo_logical
@ geo_logical
Definition hd.h:1674
geo_physical
@ geo_physical
Definition hd.h:1673
res_phys_mem
@ res_phys_mem
Definition hd.h:1640
res_any
@ res_any
Definition hd.h:1640
res_size
@ res_size
Definition hd.h:1641
res_cache
@ res_cache
Definition hd.h:1641
res_dma
@ res_dma
Definition hd.h:1640
res_monitor
@ res_monitor
Definition hd.h:1640
res_hwaddr
@ res_hwaddr
Definition hd.h:1642
res_wlan
@ res_wlan
Definition hd.h:1642
res_disk_geo
@ res_disk_geo
Definition hd.h:1641
res_mem
@ res_mem
Definition hd.h:1640
res_init_strings
@ res_init_strings
Definition hd.h:1641
res_baud
@ res_baud
Definition hd.h:1641
res_irq
@ res_irq
Definition hd.h:1640
res_framebuffer
@ res_framebuffer
Definition hd.h:1642
res_pppd_option
@ res_pppd_option
Definition hd.h:1641
res_io
@ res_io
Definition hd.h:1640
res_phwaddr
@ res_phwaddr
Definition hd.h:1642
res_fc
@ res_fc
Definition hd.h:1642
res_link
@ res_link
Definition hd.h:1642
status_yes
@ status_yes
Definition hd.h:375
status_new
@ status_new
Definition hd.h:375
status_unknown
@ status_unknown
Definition hd.h:375
status_no
@ status_no
Definition hd.h:375
hd_apm_enabled
int hd_apm_enabled(hd_data_t *hd_data)
Definition hd.c:2925
hd_detail_floppy_t::type
enum hd_detail_type type
Definition hd.h:2096
s_pci_t::modalias
char * modalias
module alias
Definition hd.h:1053
smbios_chassis_t::lock
unsigned lock
1: lock present, 0: not present or unknown
Definition hd.h:629
usb_s::d_prot
int d_prot
Definition hd.h:1084
smbios_boardinfo_t::chassis
int chassis
handle of chassis
Definition hd.h:610
smbios_config_t::data_len
int data_len
Definition hd.h:760
scsi_s::dev_name
char * dev_name
Definition hd.h:1151
smbios_mem64error_t::operation
hd_id_t operation
mem operation causing the error
Definition hd.h:944
cpu_info_t::model
unsigned model
axp: cpu revision
Definition hd.h:1474
smbios_onboard_t::handle
int handle
Definition hd.h:734
driver_info_x11_t::xf86_ver
char * xf86_ver
XFree86 version (3 or 4).
Definition hd.h:2000
hd_data_t::manual
hd_t * manual
(Internal) hardware config info
Definition hd.h:2718
cdb_isdn_vario::irq
char * irq
possible interrupts with legacy ISA cards
Definition hd.h:2922
s_udevinfo_t::name
char * name
Definition hd.h:990
smbios_slot_t::desig
char * desig
slot designation
Definition hd.h:717
misc_io_t::addr
uint64_t addr
Definition hd.h:1858
vbe_info_t::current_mode
unsigned current_mode
current video mode
Definition hd.h:501
driver_info_u::any
driver_info_any_t any
Definition hd.h:2048
smbios_biosinfo_t::data_len
int data_len
Definition hd.h:564
isdn_parm_s::alt_values
int alt_values
length of alt_value[]
Definition hd.h:1941
hd_detail_joystick_t::type
enum hd_detail_type type
Definition hd.h:2142
driver_info_display_t::htotal
unsigned htotal
Definition hd.h:1966
smbios_oem_t::next
union u_hd_smbios_t * next
Definition hd.h:746
s_hd_t::serial
char * serial
Serial id.
Definition hd.h:2292
smbios_biosinfo_t::strings
str_list_t * strings
Definition hd.h:566
s_hd_t::tag_s::remove
unsigned remove
< this struct is for internal purposes only
Definition hd.h:2513
smbios_secure_t::data_len
int data_len
Definition hd.h:907
isdn_parm_s::def_value
unsigned def_value
default value
Definition hd.h:1940
hd_detail_monitor_s::type
enum hd_detail_type type
Definition hd.h:2116
smbios_secure_t::data
unsigned char * data
Definition hd.h:908
smbios_memarraymap_t::type
hd_smbios_type_t type
Definition hd.h:859
res_hwaddr_t::next
union u_hd_res_t * next
Definition hd.h:1792
misc_t::dma
misc_dma_t * dma
Definition hd.h:1879
hddb2_data_t::ids
unsigned * ids
Definition hd.h:1546
res_disk_geo_t::geotype
enum geo_types geotype
0-3: physical/logical/bios edd/bios legacy
Definition hd.h:1758
smbios_config_t::options
str_list_t * options
system config options
Definition hd.h:764
s_hd_t::is_s::dvdprw
unsigned dvdprw
DVD+RW.
Definition hd.h:2488
hd_data_t::flag_struct::nosysfs
unsigned nosysfs
don't ask sysfs
Definition hd.h:2656
hd_data_t::data
void * data
Definition hd.h:2727
misc_irq_t::tag
unsigned tag
Definition hd.h:1873
vbe_info_t::ok
unsigned ok
data are valid
Definition hd.h:490
smbios_memdevice_t::location
char * location
device location
Definition hd.h:819
smbios_slot_t::bus_width
hd_id_t bus_width
data bus width
Definition hd.h:719
res_size_t::val2
uint64_t val2
to allow for 2D values
Definition hd.h:1735
cpq_ctlorder_t::misc
unsigned char misc
Definition hd.h:515
smbios_mem64error_t::err_type
hd_id_t err_type
error type memory
Definition hd.h:942
hd_manual_s::hw_class
unsigned hw_class
Definition hd.h:2182
s_ser_device_t::init_string2
char * init_string2
Definition hd.h:1914
smbios_boardinfo_t::product
char * product
product name
Definition hd.h:603
s_hd_t::ref
struct s_hd_t * ref
(Internal) if set, this is only a reference.
Definition hd.h:2602
s_serial_t::line
unsigned line
Definition hd.h:1893
hd_detail_monitor_s::data
monitor_info_t * data
Definition hd.h:2117
u_hd_res_t::io
res_io_t io
Definition hd.h:1830
s_udevinfo_t::next
struct s_udevinfo_t * next
Definition hd.h:988
smbios_cache_t::data
unsigned char * data
Definition hd.h:673
driver_info_module_t::type
enum driver_info_type type
driver info type
Definition hd.h:1974
smbios_memdevicemap_t::type
hd_smbios_type_t type
Definition hd.h:874
smbios_power_t::data
unsigned char * data
Definition hd.h:923
s_hd_t::hotplug
hd_hotplug_t hotplug
Hotplug controller for this device.
Definition hd.h:2466
bios_info_t::ser_port0
unsigned ser_port0
Definition hd.h:1346
res_framebuffer_t::bytes_p_line
unsigned bytes_p_line
line length in bytes (do not confuse with 'width')
Definition hd.h:1786
smbios_processor_t::upgrade
hd_id_t upgrade
socket type
Definition hd.h:647
s_hd_t::extra_info
str_list_t * extra_info
(Internal) Unspecific text info.
Definition hd.h:2445
smbios_boardinfo_t::asset
char * asset
asset tag
Definition hd.h:606
devtree_s::model
char * model
Definition hd.h:1187
smbios_mouse_t::mtype
hd_id_t mtype
mouse type
Definition hd.h:897
hd_id_t::name
char * name
Name (if any) that corresponds to hd_id_t::id.
Definition hd.h:402
edd_info_t::valid
unsigned valid
Definition hd.h:1504
hd_status_t::reconfig
unsigned reconfig
Hardware should be reconfigured.
Definition hd.h:329
monitor_info_t::serial
char * serial
Definition hd.h:1428
res_init_strings_t::init2
char * init2
Definition hd.h:1773
s_pci_t::secondary_bus
unsigned secondary_bus
Definition hd.h:1040
modinfo_t::@134006143204174177266301070236220177060114047265::@034010113110163233330206323154335324235367173203::@157107264274372072065213025025334060343034357357::vendor
unsigned vendor
Definition hd.h:1586
modinfo_t::@134006143204174177266301070236220177060114047265::@034010113110163233330206323154335324235367173203::vendor
unsigned vendor
Definition hd.h:1591
smbios_slot_t::data_len
int data_len
Definition hd.h:713
driver_info_display_t::hflag
char hflag
v_timings
Definition hd.h:1968
s_hd_t::is_s::wlan
unsigned wlan
WLAN card.
Definition hd.h:2502
usb_s::lev
int lev
Definition hd.h:1078
smbios_sysinfo_t::product
char * product
product name
Definition hd.h:586
s_hd_t::sub_class
hd_id_t sub_class
Sub class (id and name).
Definition hd.h:2241
u_hd_smbios_t::chassis
smbios_chassis_t chassis
Definition hd.h:959
smbios_memerror_t::type
hd_smbios_type_t type
Definition hd.h:841
res_fc_t::wwpn_ok
unsigned wwpn_ok
Definition hd.h:1817
smbios_mouse_t::type
hd_smbios_type_t type
Definition hd.h:892
smbios_onboard_t::status
unsigned status
0: disabled, 1: enabled
Definition hd.h:739
scsi_s::fcp_lun
uint64_t fcp_lun
Definition hd.h:1173
s_hd_t::parent_udi
char * parent_udi
udi of parent (attached_to).
Definition hd.h:2397
cdrom_info_s::label
char * label
Definition hd.h:1318
vbe_mode_info_s::bytes_p_line
unsigned bytes_p_line
line length
Definition hd.h:472
hd_data_t::flag_struct::vbox
unsigned vbox
running in virtual box
Definition hd.h:2666
smbios_processor_t::cpu_id
uint64_t cpu_id
processor id
Definition hd.h:655
edd_info_t::ext_64bit
unsigned ext_64bit
Definition hd.h:1502
res_framebuffer_t::mode
unsigned mode
mode number for kernel
Definition hd.h:1788
res_framebuffer_t::colorbits
unsigned colorbits
4, 8, 15, 16, 24, 32
Definition hd.h:1787
hd_data_t::udevinfo
hd_udevinfo_t * udevinfo
(Internal) udev info
Definition hd.h:2732
res_io_t::access
unsigned access
enum access_flags
Definition hd.h:1713
hd_data_t::bios_ram
memory_range_t bios_ram
(Internal) BIOS 0x00400 - 0x004ff
Definition hd.h:2710
res_wlan_t::frequencies
str_list_t * frequencies
in GHz units
Definition hd.h:1808
res_mem_t::base
uint64_t base
Definition hd.h:1694
s_hd_t::is_s::cdrw
unsigned cdrw
CD-RW.
Definition hd.h:2482
s_hd_t::is_s::iscsi_offload
unsigned iscsi_offload
iscsi offload capable device
Definition hd.h:2508
hd_detail_pci_t::data
pci_t * data
Definition hd.h:2077
joystick_s::buttons
unsigned char buttons
Definition hd.h:1287
cpu_info_t::bogo
double bogo
bogo mips
Definition hd.h:1483
hd_data_t::edd
edd_info_t edd[0x80]
(Internal) enhanced disk drive data
Definition hd.h:2736
driver_info_kbd_t::next
union driver_info_u * next
Definition hd.h:2034
s_serial_t::next
struct s_serial_t * next
Definition hd.h:1890
hd_manual_s::unique_id
char * unique_id
Definition hd.h:2179
edd_info_t::@305052065174015127147365005262261052153044256252::cyls
unsigned cyls
Definition hd.h:1497
usb_s::t
str_list_t * t
Definition hd.h:1076
cdb_isdn_card::vendor
int vendor
Vendor ID for ISAPNP and PCI cards.
Definition hd.h:2892
smbios_mem64error_t::next
union u_hd_smbios_t * next
Definition hd.h:936
smbios_processor_t::type
hd_smbios_type_t type
Definition hd.h:641
u_hd_smbios_t::power
smbios_power_t power
Definition hd.h:976
s_udevinfo_t::links
str_list_t * links
Definition hd.h:991
scsi_s::pci_func
unsigned pci_func
Definition hd.h:1171
smbios_sysinfo_t::version
char * version
version
Definition hd.h:587
hd_status_t::invalid
unsigned invalid
Status fields are invalid.
Definition hd.h:318
usb_s::port
int port
Definition hd.h:1078
bios_info_t::apm_enabled
unsigned apm_enabled
Definition hd.h:1339
s_hd_t::config_string
char * config_string
Some config info.
Definition hd.h:2460
smbios_memdevice_t::part
char * part
part number
Definition hd.h:824
hd_detail_bios_t::type
enum hd_detail_type type
Definition hd.h:2101
s_hd_t::tag_s::freeit
unsigned freeit
for internal memory management
Definition hd.h:2514
res_io_t::type
enum resource_types type
Definition hd.h:1709
bios32_info_t::compaq
unsigned compaq
is compaq system
Definition hd.h:522
smbios_group_t::next
union u_hd_smbios_t * next
Definition hd.h:782
driver_info_display_t::height
unsigned height
max.
Definition hd.h:1962
usb_s::p
str_list_t * p
Definition hd.h:1076
hal_device_s::prop
hal_prop_t * prop
Definition hd.h:1633
cdb_isdn_vendor::refcnt
int refcnt
Definition hd.h:2881
isapnp_dev_t::flags
unsigned flags
cf.
Definition hd.h:1128
res_framebuffer_t::next
union u_hd_res_t * next
Definition hd.h:1783
isapnp_dev_t::ref
unsigned ref
internally used flag
Definition hd.h:1129
driver_info_mouse_t::hddb0
str_list_t * hddb0
Definition hd.h:1987
smbios_mem64error_t::data
unsigned char * data
Definition hd.h:939
smbios_chassis_t::asset
char * asset
asset tag
Definition hd.h:627
smbios_lang_t::data_len
int data_len
Definition hd.h:772
hal_device_s::udi
char * udi
Definition hd.h:1631
hd_data_t::debug
unsigned debug
Debug flags.
Definition hd.h:2640
cdb_isdn_vario::firmware
char * firmware
optional firmware to load
Definition hd.h:2915
scsi_s::pgeo_s
unsigned pgeo_s
Definition hd.h:1162
hd_data_t::flag_struct::no_parport
unsigned no_parport
Don't do parport probing: parport modules (used to) crash pmacs.
Definition hd.h:2650
usb_s::d_sub
int d_sub
Definition hd.h:1084
smbios_memdevicemap_t::arraymap_handle
int arraymap_handle
memory array mapping handle
Definition hd.h:880
smbios_biosinfo_t::vendor
char * vendor
vendor name
Definition hd.h:568
smbios_mem64error_t::handle
int handle
Definition hd.h:941
smbios_memdevice_t::handle
int handle
Definition hd.h:818
vbe_mode_info_s::fb_start
unsigned fb_start
frame buffer start address (if any)
Definition hd.h:474
res_io_t::range
uint64_t range
Definition hd.h:1710
bios_info_t::ysize
unsigned ysize
Definition hd.h:1364
driver_info_isdn_t::i4l_name
char * i4l_name
I4L card name.
Definition hd.h:2019
smbios_power_t::month
unsigned month
next scheduled power-on month
Definition hd.h:926
bios_info_t::is_pnp_bios
unsigned is_pnp_bios
The id is still in big endian format!
Definition hd.h:1350
s_pci_t::rom_base_len
uint64_t rom_base_len
memory range for card ROM
Definition hd.h:1050
cpq_ctlorder_t::slot
unsigned char slot
Definition hd.h:512
res_fc_t::wwpn
uint64_t wwpn
Definition hd.h:1820
monitor_info_t::min_hsync
unsigned min_hsync
Definition hd.h:1419
res_io_t::next
union u_hd_res_t * next
Definition hd.h:1708
devtree_s::vendor_id
int vendor_id
Definition hd.h:1191
devtree_s::name
char * name
Definition hd.h:1187
usb_s::parent
int parent
Definition hd.h:1078
hd_data_t::hal
hal_device_t * hal
(Internal) HAL data (if any)
Definition hd.h:2737
smbios_cache_t::state
unsigned state
0/1: disabled/enabled
Definition hd.h:681
s_hd_t::is_s::agp
unsigned agp
AGP device.
Definition hd.h:2475
res_framebuffer_t::width
unsigned width
Definition hd.h:1785
hd_status_t::active
unsigned active
Hardware is active.
Definition hd.h:370
smbios_config_t::data
unsigned char * data
Definition hd.h:761
misc_io_t::dev
char * dev
Definition hd.h:1859
cdb_isdn_card::vario
int vario
referenz to driver vario record
Definition hd.h:2901
hd_detail_cpu_t::data
cpu_info_t * data
Definition hd.h:2107
scsi_s::model
char * model
Definition hd.h:1155
isapnp_res_t::len
int len
Definition hd.h:1094
smbios_sysinfo_t::handle
int handle
Definition hd.h:584
smbios_group_t::item_handles
int * item_handles
array of item handles
Definition hd.h:790
hd_id_t::id
unsigned id
Numeric id.
Definition hd.h:401
devtree_s::path
char * path
Definition hd.h:1185
smbios_cache_t::supp_sram
hd_bitmap_t supp_sram
supported SRAM types
Definition hd.h:688
hd_status_t::available
unsigned available
Hardware availability.
Definition hd.h:348
scsi_s::channel
unsigned channel
Definition hd.h:1154
monitor_info_t::hsyncend
unsigned hsyncend
Definition hd.h:1423
hddb_list_s::key_mask
hddb_entry_mask_t key_mask
Definition hd.h:1533
res_fc_t::next
union u_hd_res_t * next
Definition hd.h:1815
smbios_secure_t::handle
int handle
Definition hd.h:910
s_serial_t::name
char * name
Definition hd.h:1891
driver_info_any_t::hddb0
str_list_t * hddb0
Definition hd.h:1954
driver_info_mouse_t::buttons
int buttons
number of buttons, -1 --> unknown
Definition hd.h:1990
smbios_boardinfo_t::board_type
hd_id_t board_type
board type
Definition hd.h:607
res_monitor_t::height
unsigned height
in pixel
Definition hd.h:1764
hd_data_t::sysfsdrv
hd_sysfsdrv_t * sysfsdrv
(Internal) sysfs driver info
Definition hd.h:2733
scsi_s::pci_slot
unsigned pci_slot
Definition hd.h:1170
u_hd_res_t::framebuffer
res_framebuffer_t framebuffer
Definition hd.h:1842
driver_info_display_t::type
enum driver_info_type type
driver info type
Definition hd.h:1960
devtree_s::subvendor_id
int subvendor_id
Definition hd.h:1191
hd_data_t::color_code
unsigned color_code
(Internal) color, if any
Definition hd.h:2713
vbe_info_t::version
unsigned version
vbe version
Definition hd.h:491
smbios_memarray_t::data
unsigned char * data
Definition hd.h:799
smbios_boardinfo_t::objects_len
int objects_len
number of contained objects
Definition hd.h:611
res_monitor_t::vfreq
unsigned vfreq
in Hz
Definition hd.h:1765
smbios_processor_t::handle
int handle
Definition hd.h:645
sys_info_t::system_type
char * system_type
Definition hd.h:1402
cdb_isdn_vendor::name
char * name
Definition hd.h:2878
hd_detail_t::scsi
hd_detail_scsi_t scsi
Definition hd.h:2158
smbios_chassis_t::handle
int handle
Definition hd.h:623
s_hd_t::model
char * model
Model name.
Definition hd.h:2324
s_pci_t::edid_data
unsigned char edid_data[6][0x80]
edid record
Definition hd.h:1056
hddb2_data_t::ids_len
unsigned ids_len
Definition hd.h:1545
scsi_s::proc_dir
char * proc_dir
Definition hd.h:1158
s_hd_t::bus
hd_id_t bus
Bus type (id and name).
Definition hd.h:2220
smbios_memarraymap_t::end_addr
uint64_t end_addr
end address
Definition hd.h:866
modinfo_t::sub_class
unsigned sub_class
Definition hd.h:1572
res_wlan_t::auth_modes
str_list_t * auth_modes
open, sharedkey, wpa-psk, wpa-eap, wpa-leap
Definition hd.h:1810
hddb_list_s::key
unsigned key
Definition hd.h:1535
s_hd_t::count
unsigned count
(Internal) Counter, used in combination with hd_t::module and hd_t::line.
Definition hd.h:2427
s_hd_t::modalias
char * modalias
module alias
Definition hd.h:2594
cdb_isdn_card::features
unsigned int features
feature flags
Definition hd.h:2898
hd_data_t::only
str_list_t * only
Concentrate on these devices.
Definition hd.h:2676
smbios_boardinfo_t::feature
hd_bitmap_t feature
board features
Definition hd.h:608
res_baud_t::bits
unsigned bits
Definition hd.h:1742
devtree_s::idx
unsigned idx
Definition hd.h:1184
cdb_isdn_card::Class
char * Class
CLASS of the card.
Definition hd.h:2889
modinfo_t::sub_device
unsigned sub_device
Definition hd.h:1570
driver_info_dsl_t::type
enum driver_info_type type
driver info type
Definition hd.h:2026
smbios_slot_t::usage
hd_id_t usage
current usage
Definition hd.h:720
bios_info_t::smp
smp_info_t smp
Definition hd.h:1355
hd_detail_t::joystick
hd_detail_joystick_t joystick
Definition hd.h:2161
smbios_config_t::handle
int handle
Definition hd.h:763
bios_info_t::par_port2
unsigned par_port2
Definition hd.h:1347
smbios_connect_t::i_des
char * i_des
internal reference designator
Definition hd.h:702
smbios_sysinfo_t::next
union u_hd_smbios_t * next
Definition hd.h:579
devtree_s::description
char * description
Definition hd.h:1189
driver_info_module_t::active
unsigned active
if module is currently active
Definition hd.h:1976
res_framebuffer_t::height
unsigned height
in pixel
Definition hd.h:1785
s_ser_device_t::pnp_rev
unsigned pnp_rev
Definition hd.h:1915
modinfo_t::alias
char * alias
Definition hd.h:1562
cdb_isdn_vario::io
char * io
possible IO ports with legacy ISA cards
Definition hd.h:2921
misc_irq_t::irq
unsigned irq
Definition hd.h:1870
hd_data_t::probe
unsigned char probe[(pr_all+7)/8]
(Internal) bitmask of probing features.
Definition hd.h:2681
smbios_memdevice_t::next
union u_hd_smbios_t * next
Definition hd.h:813
s_hd_t::is_s::with_acpi
unsigned with_acpi
acpi works fine
Definition hd.h:2503
s_hd_t::compat_vendor
hd_id_t compat_vendor
Vendor id and name of some compatible hardware.
Definition hd.h:2298
smbios_secure_t::type
hd_smbios_type_t type
Definition hd.h:906
usb_s::vendor
unsigned vendor
Definition hd.h:1080
s_ser_device_t::buf
unsigned char buf[0x1000]
Definition hd.h:1910
hal_prop_s::uint64
uint64_t uint64
Definition hd.h:1618
vbe_mode_info_s::win_B_attr
unsigned win_B_attr
window B attributes
Definition hd.h:478
vbe_info_t::memory
unsigned memory
in bytes
Definition hd.h:493
smbios_slot_t::data
unsigned char * data
Definition hd.h:714
s_hd_t::unix_dev_name2
char * unix_dev_name2
Special device file.
Definition hd.h:2374
smbios_chassis_t::data
unsigned char * data
Definition hd.h:621
s_hd_t::line
unsigned line
(Internal) Source code line where this entry was created.
Definition hd.h:2422
cdrom_info_s::s
unsigned s
Definition hd.h:1315
isdn_parm_s::value
uint64_t value
value of the parameter
Definition hd.h:1937
hd_data_t::cdroms
str_list_t * cdroms
(Internal) cdroms according to PROC_CDROM_INFO
Definition hd.h:2721
smbios_secure_t::power
hd_id_t power
power-on password status
Definition hd.h:911
res_disk_geo_t::cyls
unsigned cyls
Definition hd.h:1756
res_framebuffer_t::type
enum resource_types type
Definition hd.h:1784
hd_manual_s::next
struct hd_manual_s * next
Definition hd.h:2177
hd_detail_sys_t::type
enum hd_detail_type type
Definition hd.h:2122
s_hd_t::is_s::fcoe_offload
unsigned fcoe_offload
fcoe offload capable device
Definition hd.h:2507
hd_detail_joystick_t::data
joystick_t * data
Definition hd.h:2143
driver_info_u::display
driver_info_display_t display
Definition hd.h:2052
s_hd_t::sub_vendor
hd_id_t sub_vendor
Subvendor id and name.
Definition hd.h:2272
smbios_chassis_t::serial
char * serial
serial number
Definition hd.h:626
s_hd_t::ref_cnt
unsigned ref_cnt
(Internal) memory reference count.
Definition hd.h:2601
driver_info_module_t::mod_args
str_list_t * mod_args
list of module args (corresponds to the module name list)
Definition hd.h:1979
res_fc_t::fcp_lun
uint64_t fcp_lun
Definition hd.h:1821
misc_dma_t::tag
unsigned tag
Definition hd.h:1866
s_hd_t::is_s::isapnp
unsigned isapnp
ISA-PnP device.
Definition hd.h:2476
devtree_s::device_type
char * device_type
Definition hd.h:1187
s_hd_t::driver_modules
str_list_t * driver_modules
List of currently active driver modules.
Definition hd.h:2547
cdb_isdn_card::subdevice
int subdevice
Subdevice ID for PCI cards.
Definition hd.h:2896
smbios_cache_t::next
union u_hd_smbios_t * next
Definition hd.h:670
res_dma_t::base
unsigned base
Definition hd.h:1727
hddb_data_t::data_max
unsigned data_max
Definition hd.h:1518
scsi_s::driver
char * driver
Definition hd.h:1158
s_ser_device_t::fd
int fd
Definition hd.h:1904
smbios_processor_t::current_speed
unsigned current_speed
MHz.
Definition hd.h:659
driver_info_isdn_t::hddb1
str_list_t * hddb1
the actual driver database entries
Definition hd.h:2017
cdrom_info_s::volume
char * volume
Definition hd.h:1302
edd_info_t::sysfs_id
char * sysfs_id
Definition hd.h:1507
hd_data_t::boot
enum boot_arch boot
(Internal) boot method
Definition hd.h:2687
hd_data_t::net
str_list_t * net
(Internal) list of network interfaces
Definition hd.h:2692
devtree_s::subdevice_id
int subdevice_id
Definition hd.h:1191
smbios_mouse_t::interface
hd_id_t interface
interface type
Definition hd.h:898
driver_info_kbd_t::type
enum driver_info_type type
driver info type
Definition hd.h:2035
smbios_sysinfo_t::serial
char * serial
serial number
Definition hd.h:588
smbios_chassis_t::security
hd_id_t security
security state (at last boot)
Definition hd.h:633
usb_s::rev
unsigned rev
Definition hd.h:1080
smbios_mem64error_t::data_len
int data_len
Definition hd.h:938
s_hd_t::slot
unsigned slot
Slot and bus number.
Definition hd.h:2226
monitor_info_t::width_mm
unsigned width_mm
Definition hd.h:1422
hd_data_t::proc_usb
str_list_t * proc_usb
(Internal) /proc/bus/usb info
Definition hd.h:2701
hd_data_t::isapnp
isapnp_t * isapnp
(Internal) raw ISA-PnP data
Definition hd.h:2690
scsi_s::usb_guid
char * usb_guid
Definition hd.h:1167
misc_t::io
misc_io_t * io
Definition hd.h:1878
s_serial_t::baud
unsigned baud
Definition hd.h:1893
driver_info_display_t::vtotal
unsigned vtotal
Definition hd.h:1967
hd_data_t::old_hd
hd_t * old_hd
(Internal) old (outdated) entries (if you scan more than once)
Definition hd.h:2688
cdrom_info_s::media_type
unsigned media_type
boot emulation type
Definition hd.h:1309
bios_info_t::bus
unsigned bus
Definition hd.h:1372
smbios_cache_t::location
hd_id_t location
cache location
Definition hd.h:682
hd_data_t::flag_struct::nofork
unsigned nofork
don't run potentially hanging code in a subprocess
Definition hd.h:2655
smbios_onboard_t::type
hd_smbios_type_t type
Definition hd.h:730
modinfo_t::@134006143204174177266301070236220177060114047265::@374004261203273246115204214364325056144341344066::device
unsigned device
Definition hd.h:1576
isapnp_dev_t::dev
int dev
Definition hd.h:1127
driver_info_x11_t::c24
unsigned c24
Definition hd.h:2004
s_hd_t::revision
hd_id_t revision
Revision id or string.
Definition hd.h:2287
s_hd_t::is_s::dvdprdl
unsigned dvdprdl
DVD+R DL.
Definition hd.h:2489
cdb_isdn_card::revision
int revision
revision used with USB
Definition hd.h:2891
u_hd_smbios_t::memdevicemap
smbios_memdevicemap_t memdevicemap
Definition hd.h:973
s_hd_t::rom_id
char * rom_id
BIOS/PROM id.
Definition hd.h:2387
scsi_s::lun
unsigned lun
Definition hd.h:1154
driver_info_display_t::vsyncstart
unsigned vsyncstart
Definition hd.h:1967
smbios_memarraymap_t::next
union u_hd_smbios_t * next
Definition hd.h:858
hd_detail_t::type
enum hd_detail_type type
Definition hd.h:2147
driver_info_display_t::bandwidth
unsigned bandwidth
Definition hd.h:1965
usb_s::used_conns
int used_conns
Definition hd.h:1078
smbios_memdevice_t::array_handle
int array_handle
memory array this device belongs to
Definition hd.h:825
cdrom_info_s::dvd
unsigned dvd
Definition hd.h:1298
hd_data_t::probe_clr
unsigned char probe_clr[(pr_all+7)/8]
(Internal) bitmask of probing features that will always be reset.
Definition hd.h:2683
smbios_slot_t::id
unsigned id
slot id
Definition hd.h:722
smbios_memdevicemap_t::end_addr
uint64_t end_addr
end address
Definition hd.h:882
s_hd_t::is_s::dualport
unsigned dualport
OSA Express device with two ports (S/390).
Definition hd.h:2505
monitor_info_t::vendor
char * vendor
Definition hd.h:1426
smbios_power_t::minute
unsigned minute
dto, minute
Definition hd.h:929
driver_info_display_t::hsyncend
unsigned hsyncend
Definition hd.h:1966
bios32_info_t::ok
unsigned ok
data are valid
Definition hd.h:520
cdb_isdn_card::vario_cnt
int vario_cnt
count of driver varios
Definition hd.h:2900
bios_info_t::compat_vend
unsigned compat_vend
Definition hd.h:1373
hd_data_t::partitions
str_list_t * partitions
(Internal) dto, partitions
Definition hd.h:2720
monitor_info_t::min_vsync
unsigned min_vsync
Definition hd.h:1418
s_hd_t::persistent_prop
hal_prop_t * persistent_prop
persistent property list
Definition hd.h:2592
hd_detail_bios_t::data
bios_info_t * data
Definition hd.h:2102
s_hd_t::tag_s::ser_device
unsigned ser_device
if != 0: info about attached serial device; see serial.c
Definition hd.h:2519
smbios_oem_t::data_len
int data_len
Definition hd.h:748
s_pci_t::base_class
unsigned base_class
Definition hd.h:1043
res_fc_t::type
enum resource_types type
Definition hd.h:1816
edd_info_t::ext_lock_eject
unsigned ext_lock_eject
Definition hd.h:1500
isdn_parm_s::type
unsigned type
CDBISDN type (P_...).
Definition hd.h:1938
cdrom_info_s::creation_date
char * creation_date
Definition hd.h:1302
u_hd_smbios_t::any
smbios_any_t any
Definition hd.h:955
s_hd_t::is_s::storage_only
unsigned storage_only
storage only network interface
Definition hd.h:2509
u_hd_smbios_t::onboard
smbios_onboard_t onboard
Definition hd.h:964
devtree_s::part_number
char * part_number
Definition hd.h:1188
smbios_sysinfo_t::uuid
unsigned char uuid[16]
universal unique id; all 0x00: undef, all 0xff: undef but settable
Definition hd.h:589
res_phys_mem_t::type
enum resource_types type
Definition hd.h:1703
cdrom_info_s::dvdr
unsigned dvdr
Definition hd.h:1298
s_sysfsdrv_t::module
char * module
Definition hd.h:1002
hd_detail_t::monitor
hd_detail_monitor_t monitor
Definition hd.h:2156
s_ser_device_t::init_string1
char * init_string1
Definition hd.h:1914
smbios_boardinfo_t::manuf
char * manuf
manufacturer
Definition hd.h:602
s_hd_t::is_s::mo
unsigned mo
MO.
Definition hd.h:2498
smbios_memdevice_t::manuf
char * manuf
manufacturer
Definition hd.h:821
driver_info_display_t::min_hsync
unsigned min_hsync
Definition hd.h:1964
bios_info_t::par_port0
unsigned par_port0
Definition hd.h:1347
smbios_boardinfo_t::strings
str_list_t * strings
Definition hd.h:600
hd_detail_scsi_t::data
scsi_t * data
Definition hd.h:2128
cdrom_info_s::cdrw
unsigned cdrw
Definition hd.h:1298
hd_manual_s::key
str_list_t * key
Definition hd.h:2191
s_ser_device_t::tio
struct termios tio
Definition hd.h:1905
s_hd_t::unique_id
char * unique_id
Unique id for this hardware.
Definition hd.h:2409
s_hd_t::driver_info
driver_info_t * driver_info
device driver info
Definition hd.h:2586
hd_data_t::flag_struct::forked
unsigned forked
we're running in a subprocess
Definition hd.h:2657
res_baud_t::handshake
char handshake
-, h, s
Definition hd.h:1744
sys_info_t::serial
char * serial
Definition hd.h:1406
vbe_info_t::product_name
char * product_name
product name
Definition hd.h:497
scsi_s::type
int type
Definition hd.h:1156
smbios_memerror_t::handle
int handle
Definition hd.h:845
s_hd_t::is_s::dvdprwdl
unsigned dvdprwdl
DVD+RW DL.
Definition hd.h:2490
s_hd_t::child_ids
str_list_t * child_ids
unique_ids of children (parent_id).
Definition hd.h:2570
cdrom_info_s::preparer
char * preparer
Definition hd.h:1302
smbios_memdevicemap_t::data_len
int data_len
Definition hd.h:875
smbios_memarraymap_t::part_width
unsigned part_width
number of memory devices
Definition hd.h:867
scsi_s::wwpn_ok
unsigned wwpn_ok
Definition hd.h:1149
driver_info_module_t::next
union driver_info_u * next
Definition hd.h:1973
driver_info_x11_t::hddb0
str_list_t * hddb0
Definition hd.h:1998
res_irq_t::base
unsigned base
Definition hd.h:1719
smbios_group_t::data
unsigned char * data
Definition hd.h:785
res_wlan_t::enc_modes
str_list_t * enc_modes
WEP40, WEP104, WEP128, WEP232, TKIP, CCMP.
Definition hd.h:1811
scsi_s::controller_id
char * controller_id
Definition hd.h:1174
smbios_lang_t::data
unsigned char * data
Definition hd.h:773
usb_s::i
str_list_t * i
Definition hd.h:1076
s_hd_t::hw_class
hd_hw_item_t hw_class
Hardware class.
Definition hd.h:2310
smbios_onboard_t::strings
str_list_t * strings
Definition hd.h:733
hd_data_t::flag_struct::keep_kmods
unsigned keep_kmods
internal: don't reread kmods
Definition hd.h:2661
s_hd_t::compat_device
hd_id_t compat_device
Device id and name of some compatible hardware.
Definition hd.h:2304
monitor_info_t::vdisp
unsigned vdisp
Definition hd.h:1424
scsi_s::lgeo_h
unsigned lgeo_h
Definition hd.h:1161
res_mem_t::type
enum resource_types type
Definition hd.h:1693
usb_s::ifdescr
int ifdescr
Definition hd.h:1078
driver_info_mouse_t::gpm
char * gpm
dto, gpm
Definition hd.h:1989
smbios_biosinfo_t::handle
int handle
Definition hd.h:567
driver_info_isdn_t::i4l_subtype
int i4l_subtype
I4L types.
Definition hd.h:2018
s_hd_t::is_s::mrw
unsigned mrw
MRW.
Definition hd.h:2499
devtree_s::class_code
int class_code
class : sub_class : prog-if
Definition hd.h:1190
hd_detail_ccw_t::data
ccw_t * data
Definition hd.h:2138
smbios_memarraymap_t::data_len
int data_len
Definition hd.h:860
res_monitor_t::width
unsigned width
Definition hd.h:1764
res_dma_t::next
union u_hd_res_t * next
Definition hd.h:1725
s_hd_t::unix_dev_names
str_list_t * unix_dev_names
List of device names.
Definition hd.h:2366
monitor_info_t::manu_year
unsigned manu_year
Definition hd.h:1416
modinfo_t::@134006143204174177266301070236220177060114047265::@374004261203273246115204214364325056144341344066::sub_class
unsigned sub_class
Definition hd.h:1580
res_fc_t::fcp_lun_ok
unsigned fcp_lun_ok
Definition hd.h:1818
cdb_isdn_vario::info
char * info
optional additional info
Definition hd.h:2918
hd_detail_floppy_t::data
floppy_info_t * data
Definition hd.h:2097
usb_s::e
str_list_t * e
Definition hd.h:1076
smbios_cache_t::level
unsigned level
cache level (0 = L1, 1 = L2, ...)
Definition hd.h:684
driver_info_any_t::next
union driver_info_u * next
Definition hd.h:1952
smbios_chassis_t::power
hd_id_t power
power supply state (at last boot)
Definition hd.h:631
smbios_mem64error_t::granularity
hd_id_t granularity
memory array or memory partition
Definition hd.h:943
bios_info_t::name
char * name
Definition hd.h:1366
s_pci_t::prog_if
unsigned prog_if
PCI device classes.
Definition hd.h:1043
cpu_info_t::platform
char * platform
x86: NULL
Definition hd.h:1481
hd_data_t::log_size
size_t log_size
(Internal) current log size (including final 0)
Definition hd.h:2740
scsi_s::lgeo_c
unsigned lgeo_c
Definition hd.h:1161
hddb2_data_t::list_max
unsigned list_max
Definition hd.h:1543
modinfo_t::@134006143204174177266301070236220177060114047265::@374004261203273246115204214364325056144341344066::base_class
unsigned base_class
Definition hd.h:1579
usb_s::c
str_list_t * c
Definition hd.h:1076
smbios_any_t::handle
int handle
handle, unique 16 bit number
Definition hd.h:556
driver_info_isdn_t::i4l_type
int i4l_type
Definition hd.h:2018
bios_info_t::low_mem_size
unsigned low_mem_size
Definition hd.h:1354
modinfo_t::device_subclass
unsigned device_subclass
Definition hd.h:1589
usb_s::conns
int conns
Definition hd.h:1078
cpu_info_t::architecture
enum cpu_arch architecture
Definition hd.h:1472
driver_info_x11_t::c16
unsigned c16
Definition hd.h:2004
isdn_parm_s::next
struct isdn_parm_s * next
Definition hd.h:1933
s_hd_t::sysfs_bus_id
char * sysfs_bus_id
sysfs bus id for this hardware, if any.
Definition hd.h:2341
scsi_s::inode_low
unsigned inode_low
Definition hd.h:1157
hddb_list_s::value_mask
hddb_entry_mask_t value_mask
Definition hd.h:1534
edd_info_t::ext_fibre
unsigned ext_fibre
Definition hd.h:1505
smp_info_t::feature
unsigned char feature[5]
MP feature info.
Definition hd.h:458
s_ser_device_t::pnp
int pnp
Definition hd.h:1912
smbios_memdevice_t::error_handle
int error_handle
points to error info record; 0xfffe: not supported, 0xffff: no error
Definition hd.h:826
smbios_memdevice_t::eccbits
unsigned eccbits
ecc bits
Definition hd.h:828
smbios_group_t::handle
int handle
Definition hd.h:787
driver_info_kbd_t::hddb1
str_list_t * hddb1
the actual driver database entries
Definition hd.h:2036
smbios_memarray_t::location
hd_id_t location
memory device location
Definition hd.h:802
res_baud_t::next
union u_hd_res_t * next
Definition hd.h:1739
driver_info_isdn_t::type
enum driver_info_type type
driver info type
Definition hd.h:2016
smbios_memdevicemap_t::interleave_pos
unsigned interleave_pos
dto, in an interleave
Definition hd.h:884
smbios_memdevicemap_t::strings
str_list_t * strings
Definition hd.h:877
smbios_boardinfo_t::serial
char * serial
serial number
Definition hd.h:605
res_init_strings_t::init1
char * init1
Definition hd.h:1772
smbios_memarraymap_t::start_addr
uint64_t start_addr
memory range start address
Definition hd.h:865
cdb_isdn_vario::card_ref
int card_ref
reference to a card
Definition hd.h:2925
driver_info_kbd_t::XkbModel
char * XkbModel
Definition hd.h:2038
hd_data_t::kernel_version
unsigned kernel_version
(Internal) kernel version
Definition hd.h:2717
smbios_chassis_t::manuf
char * manuf
manufacturer
Definition hd.h:624
s_hd_t::is_s::softraiddisk
unsigned softraiddisk
disk belongs to some soft raid array
Definition hd.h:2479
vbe_mode_info_s::width
unsigned width
Definition hd.h:471
s_hd_t::is_s::hd
unsigned hd
HD.
Definition hd.h:2494
s_pci_t::log
char * log
log messages
Definition hd.h:1036
isdn_parm_s::flags
unsigned flags
CDBISDN flags (P_...).
Definition hd.h:1939
isapnp_res_t::type
int type
Definition hd.h:1095
cpq_ctlorder_t::id
unsigned id
Definition hd.h:511
smbios_power_t::handle
int handle
Definition hd.h:925
u_hd_res_t::any
res_any_t any
Definition hd.h:1829
res_baud_t::speed
unsigned speed
Definition hd.h:1741
smbios_mem64error_t::array_addr
uint64_t array_addr
fault address rel.
Definition hd.h:946
smbios_mouse_t::data_len
int data_len
Definition hd.h:893
hal_device_s::parent
struct hal_device_s * parent
Definition hd.h:1630
res_link_t::type
enum resource_types type
Definition hd.h:1799
cdrom_info_s::h
unsigned h
Definition hd.h:1315
s_hd_t::is_s::bd
unsigned bd
BD.
Definition hd.h:2491
modinfo_t::@134006143204174177266301070236220177060114047265::@374004261203273246115204214364325056144341344066::prog_if
unsigned prog_if
Definition hd.h:1581
smbios_memdevicemap_t::data
unsigned char * data
Definition hd.h:876
cdrom_info_s::@310207134272354064030274365047132351104360042124::ok
unsigned ok
Definition hd.h:1305
bios_info_t::par_port1
unsigned par_port1
Definition hd.h:1347
smbios_memarray_t::strings
str_list_t * strings
Definition hd.h:800
smbios_memdevicemap_t::handle
int handle
Definition hd.h:878
s_hd_t::tag_s::fixed
unsigned fixed
fixed, do no longer modify this entry
Definition hd.h:2515
driver_info_x11_t::c15
unsigned c15
Definition hd.h:2004
smbios_power_t::type
hd_smbios_type_t type
Definition hd.h:921
driver_info_kbd_t::XkbRules
char * XkbRules
XF86Config entries.
Definition hd.h:2037
s_ser_device_t::buf_len
int buf_len
Definition hd.h:1911
hd_data_t::klog_raw
str_list_t * klog_raw
(Internal) unmodified kernel log
Definition hd.h:2742
smbios_processor_t::l2_cache
int l2_cache
handle of L2 cache
Definition hd.h:663
res_size_t::unit
enum size_units unit
Definition hd.h:1734
hd_data_t::klog
str_list_t * klog
(Internal) kernel log
Definition hd.h:2700
usb_s::speed
unsigned speed
Definition hd.h:1079
driver_info_x11_t::script
char * script
3d script to run
Definition hd.h:2010
s_hd_t::is_s::hdr
unsigned hdr
HD-R.
Definition hd.h:2495
scsi_s::lgeo_s
unsigned lgeo_s
Definition hd.h:1161
vbe_mode_info_s::win_size
unsigned win_size
window size in bytes
Definition hd.h:479
smbios_secure_t::next
union u_hd_smbios_t * next
Definition hd.h:905
s_pci_t::data_len
unsigned data_len
the actual length of the data field
Definition hd.h:1033
s_hd_t::unique_id1
char * unique_id1
(Internal) location independent unique_id part.
Definition hd.h:2576
s_pci_t::vend
unsigned vend
Definition hd.h:1044
hd_detail_t::prom
hd_detail_prom_t prom
Definition hd.h:2155
cdb_isdn_vario::next_vario
int next_vario
link to alternate vario
Definition hd.h:2906
hal_prop_s::d
double d
Definition hd.h:1619
driver_info_module_t::hddb0
str_list_t * hddb0
Definition hd.h:1975
smbios_connect_t::data_len
int data_len
Definition hd.h:697
scsi_s::wwpn
uint64_t wwpn
Definition hd.h:1172
cpu_info_t::vend_name
char * vend_name
axp: system type
Definition hd.h:1479
cpu_info_t::units
unsigned units
>1 "hyperthreading"
Definition hd.h:1478
cdb_isdn_vario::mod_name
char * mod_name
name of the driver module
Definition hd.h:2911
monitor_info_t::width
unsigned width
Definition hd.h:1421
bios_info_t::type
char * type
Definition hd.h:1371
hd_detail_devtree_t::type
enum hd_detail_type type
Definition hd.h:2132
smbios_oem_t::handle
int handle
Definition hd.h:751
vbe_info_t::ddc_ports
unsigned ddc_ports
max ports to probe
Definition hd.h:502
driver_info_display_t::min_vsync
unsigned min_vsync
Definition hd.h:1963
devtree_s::next
struct devtree_s * next
Definition hd.h:1182
res_phys_mem_t::range
uint64_t range
Definition hd.h:1704
vbe_info_t::oem_name
char * oem_name
oem name
Definition hd.h:495
s_hd_t::unix_dev_num
hd_dev_num_t unix_dev_num
Device type & number according to sysfs.
Definition hd.h:2358
res_mem_t::prefetch
unsigned prefetch
enum yes_no_flag
Definition hd.h:1698
smbios_cache_t::max_size
unsigned max_size
max cache size in kbytes
Definition hd.h:677
smbios_slot_t::next
union u_hd_smbios_t * next
Definition hd.h:711
cdb_isdn_card::device
int device
Device ID for ISAPNP and PCI cards.
Definition hd.h:2893
s_ser_device_t::do_io
unsigned do_io
Definition hd.h:1909
hd_data_t::updated
int updated
Definition hd.h:2729
misc_dma_t::dev
char * dev
Definition hd.h:1865
cdrom_info_s::name
char * name
Definition hd.h:1296
cdb_isdn_vario::cfg_prog
char * cfg_prog
optional cfg prog
Definition hd.h:2914
edd_info_t::ext_fixed_disk
unsigned ext_fixed_disk
Definition hd.h:1499
driver_info_display_t::hsyncstart
unsigned hsyncstart
Definition hd.h:1966
u_hd_res_t::fc
res_fc_t fc
Definition hd.h:1846
edd_info_t::ext_net
unsigned ext_net
Definition hd.h:1506
smbios_mem64error_t::strings
str_list_t * strings
Definition hd.h:940
smbios_biosinfo_t::rom_size
unsigned rom_size
ROM size (in bytes).
Definition hd.h:573
s_hd_t::is_s::pppoe
unsigned pppoe
PPPOE modem connected.
Definition hd.h:2501
driver_info_mouse_t::next
union driver_info_u * next
Definition hd.h:1985
smbios_power_t::second
unsigned second
dto, second
Definition hd.h:930
smbios_memarray_t::use
hd_id_t use
memory usage
Definition hd.h:803
s_pci_t::sysfs_id
char * sysfs_id
sysfs path
Definition hd.h:1051
smbios_sysinfo_t::data_len
int data_len
Definition hd.h:581
smbios_memdevicemap_t::memdevice_handle
int memdevice_handle
memory device handle
Definition hd.h:879
isdn_parm_s::alt_value
unsigned * alt_value
possible values
Definition hd.h:1942
hd_detail_scsi_t::type
enum hd_detail_type type
Definition hd.h:2127
u_hd_res_t::size
res_size_t size
Definition hd.h:1835
hd_data_t::scsi
scsi_t * scsi
(Internal) raw SCSI data
Definition hd.h:2696
smbios_mem64error_t::syndrome
unsigned syndrome
vendor-specific ECC syndrome; 0: unknown
Definition hd.h:945
hd_detail_t::cdrom
hd_detail_cdrom_t cdrom
Definition hd.h:2151
s_pci_t::slot
unsigned slot
Definition hd.h:1042
pmac_mb_def::model
enum pmac_model model
Definition hd.h:1270
driver_info_module_t::modprobe
unsigned modprobe
modprobe or insmod
Definition hd.h:1977
hd_bitmap_t::bitmap
unsigned char bitmap[16]
large enough for all uses
Definition hd.h:420
devtree_s::pci
unsigned pci
Definition hd.h:1186
res_disk_geo_t::next
union u_hd_res_t * next
Definition hd.h:1754
hddb2_data_t::list
hddb_list_t * list
Definition hd.h:1544
smbios_connect_t::port_type
hd_id_t port_type
port type
Definition hd.h:701
smbios_memerror_t::data_len
int data_len
Definition hd.h:842
hd_detail_prom_t::data
prom_info_t * data
Definition hd.h:2112
u_hd_smbios_t::slot
smbios_slot_t slot
Definition hd.h:963
smbios_oem_t::strings
str_list_t * strings
Definition hd.h:750
u_hd_res_t::wlan
res_wlan_t wlan
Definition hd.h:1845
smbios_boardinfo_t::data_len
int data_len
Definition hd.h:598
res_io_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition hd.h:1712
hd_data_t::serial
serial_t * serial
(Internal) /proc's serial info
Definition hd.h:2695
s_hd_t::is_s::mrww
unsigned mrww
MRW-W.
Definition hd.h:2500
s_hd_t::is_s::fcoe
unsigned fcoe
fcoe device
Definition hd.h:2506
s_ser_device_t::dev_id
char * dev_id
Definition hd.h:1914
u_hd_smbios_t::sysinfo
smbios_sysinfo_t sysinfo
Definition hd.h:957
cdrom_info_s::ok
unsigned ok
Definition hd.h:1301
hd_detail_t::floppy
hd_detail_floppy_t floppy
Definition hd.h:2152
scsi_s::size
uint64_t size
Definition hd.h:1163
bios_info_t::apm_supported
unsigned apm_supported
Definition hd.h:1338
bios_info_t::ok
unsigned ok
Definition hd.h:1378
hd_detail_prom_t::type
enum hd_detail_type type
Definition hd.h:2111
smbios_biosinfo_t::feature
hd_bitmap_t feature
BIOS characteristics.
Definition hd.h:571
res_disk_geo_t::size
uint64_t size
Definition hd.h:1757
smbios_processor_t::cpu_status
hd_id_t cpu_status
cpu status
Definition hd.h:661
res_size_t::val1
uint64_t val1
Definition hd.h:1735
hd_data_t::flag_struct::fast
unsigned fast
Don't check tricky hardware.
Definition hd.h:2653
misc_t::irq
misc_irq_t * irq
Definition hd.h:1880
hd_data_t::id
int id
Definition hd.h:2728
smbios_memerror_t::err_type
hd_id_t err_type
error type memory
Definition hd.h:846
driver_info_u::isdn
driver_info_isdn_t isdn
Definition hd.h:2053
modinfo_t::vendor
unsigned vendor
Definition hd.h:1567
hddb_data_t::names
char * names
Definition hd.h:1521
scsi_s::sec_size
unsigned sec_size
Definition hd.h:1164
driver_info_display_t::hdisp
unsigned hdisp
max.
Definition hd.h:1966
smbios_group_t::items_len
int items_len
number of items in this group
Definition hd.h:789
scsi_s::host_info
str_list_t * host_info
Definition hd.h:1166
scsi_s::generic_dev
int generic_dev
Definition hd.h:1153
bios_info_t::vbe_video_mem
unsigned vbe_video_mem
Definition hd.h:1344
vbe_mode_info_s::pixel_size
unsigned pixel_size
bits per pixel
Definition hd.h:473
driver_info_display_t::vsyncend
unsigned vsyncend
Definition hd.h:1967
usb_s::d_cls
int d_cls
Definition hd.h:1084
cdrom_info_s::catalog
unsigned catalog
boot catalog start
Definition hd.h:1313
hd_status_t::needed
unsigned needed
Hardware is needed.
Definition hd.h:357
vbe_mode_info_s::number
unsigned number
mode number
Definition hd.h:469
res_any_t::type
enum resource_types type
Definition hd.h:1688
usb_s::product
char * product
Definition hd.h:1081
hal_prop_s::str
char * str
Definition hd.h:1616
hddb_list_s::value
unsigned value
Definition hd.h:1536
driver_info_dsl_t::hddb1
str_list_t * hddb1
the actual driver database entries
Definition hd.h:2027
cdrom_info_s::publisher
char * publisher
Definition hd.h:1302
hd_manual_s::child_ids
char * child_ids
Definition hd.h:2181
res_wlan_t::bitrates
str_list_t * bitrates
in Mbps units
Definition hd.h:1809
vbe_info_t::oem_version
unsigned oem_version
oem version info
Definition hd.h:492
smbios_processor_t::next
union u_hd_smbios_t * next
Definition hd.h:640
res_dma_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition hd.h:1728
cdb_isdn_vario::mod_preload
char * mod_preload
optional modules to preload
Definition hd.h:2913
isdn_parm_s::valid
unsigned valid
1: entry is valid, 0: some inconsistencies
Definition hd.h:1935
hd_detail_devtree_t::data
devtree_t * data
Definition hd.h:2133
hal_prop_s::list
str_list_t * list
Definition hd.h:1621
smbios_memerror_t::strings
str_list_t * strings
Definition hd.h:844
hd_detail_cpu_t::type
enum hd_detail_type type
Definition hd.h:2106
s_hd_t::is_s::dvdrw
unsigned dvdrw
DVD-RW.
Definition hd.h:2485
usb_s::hd_base_idx
unsigned hd_base_idx
Definition hd.h:1075
smbios_secure_t::keyboard
hd_id_t keyboard
keyboard password status
Definition hd.h:912
bios_info_t::xsize
unsigned xsize
Definition hd.h:1363
usb_s::serial
char * serial
Definition hd.h:1081
s_sysfsdrv_t::driver
char * driver
Definition hd.h:1000
smbios_memdevice_t::speed
unsigned speed
in MHz
Definition hd.h:834
usb_s::driver
char * driver
Definition hd.h:1082
hddb2_data_t::strings_len
unsigned strings_len
Definition hd.h:1547
smbios_chassis_t::version
char * version
version
Definition hd.h:625
hd_data_t::misc
misc_t * misc
(Internal) data gathered in the misc module
Definition hd.h:2694
driver_info_mouse_t::xf86
char * xf86
the XF86 protocol name
Definition hd.h:1988
smbios_processor_t::l1_cache
int l1_cache
handle of L1 cache
Definition hd.h:662
hd_detail_t::devtree
hd_detail_devtree_t devtree
Definition hd.h:2159
s_hd_t::res
hd_res_t * res
Device resources.
Definition hd.h:2432
vbe_mode_info_s::height
unsigned height
mode size
Definition hd.h:471
hd_dev_num_t::range
unsigned range
Definition hd.h:1013
hd_data_t::disks
str_list_t * disks
(Internal) disks according to /proc/partitions
Definition hd.h:2719
res_irq_t::next
union u_hd_res_t * next
Definition hd.h:1717
u_hd_smbios_t::connect
smbios_connect_t connect
Definition hd.h:962
u_hd_smbios_t::next
union u_hd_smbios_t * next
Definition hd.h:954
vbe_mode_info_s::win_A_attr
unsigned win_A_attr
window A attributes
Definition hd.h:476
s_hd_t::driver
char * driver
Currently active driver.
Definition hd.h:2532
smbios_mouse_t::handle
int handle
Definition hd.h:896
cdrom_info_s::id_string
char * id_string
Definition hd.h:1307
s_hd_t::udi
char * udi
HAL udi.
Definition hd.h:2392
res_fc_t::port_id_ok
unsigned port_id_ok
Definition hd.h:1819
res_irq_t::triggered
unsigned triggered
Definition hd.h:1720
smbios_slot_t::slot_type
hd_id_t slot_type
slot type
Definition hd.h:718
smbios_cache_t::ecc
hd_id_t ecc
error correction type
Definition hd.h:685
monitor_info_t::hflag
char hflag
Definition hd.h:1425
s_str_list_t::next
struct s_str_list_t * next
Link to next member.
Definition hd.h:411
s_ser_device_t::is_mouse
unsigned is_mouse
Definition hd.h:1907
scsi_s::guessed_dev_name
char * guessed_dev_name
Definition hd.h:1152
cdb_isdn_vario::name
char * name
driver name
Definition hd.h:2926
hd_data_t::xtra_hd
str_list_t * xtra_hd
(Internal) fake hd entries (for testing)
Definition hd.h:2715
smbios_secure_t::reset
hd_id_t reset
front panel reset status
Definition hd.h:914
smp_info_t::mpconfig_size
unsigned mpconfig_size
dto, size
Definition hd.h:457
isapnp_card_t::csn
int csn
Definition hd.h:1103
s_ser_device_t::is_modem
unsigned is_modem
Definition hd.h:1908
scsi_s::id
unsigned id
Definition hd.h:1154
monitor_info_t::vsyncend
unsigned vsyncend
Definition hd.h:1424
s_ser_device_t::max_baud
unsigned max_baud
Definition hd.h:1906
u_hd_smbios_t::processor
smbios_processor_t processor
Definition hd.h:960
scsi_s::unique
unsigned unique
Definition hd.h:1159
smbios_cache_t::mode
hd_id_t mode
operational mode
Definition hd.h:680
hd_manual_s::status
hd_status_t status
Definition hd.h:2185
s_pci_t::sub_class
unsigned sub_class
Definition hd.h:1043
ccw_s::dev_model
unsigned char dev_model
Definition hd.h:1280
smbios_mouse_t::strings
str_list_t * strings
Definition hd.h:895
smp_info_t::mpconfig
unsigned mpconfig
MP config table.
Definition hd.h:456
s_sysfsdrv_t::next
struct s_sysfsdrv_t * next
Definition hd.h:999
driver_info_isdn_t::params
isdn_parm_t * params
isdn parameters
Definition hd.h:2020
smbios_processor_t::voltage
unsigned voltage
in 0.1 V
Definition hd.h:656
smbios_group_t::strings
str_list_t * strings
Definition hd.h:786
driver_info_kbd_t::keymap
char * keymap
console keymap
Definition hd.h:2040
monitor_info_t::hdisp
unsigned hdisp
Definition hd.h:1423
misc_t::irq_len
unsigned irq_len
Definition hd.h:1877
hd_data_t::cpu
str_list_t * cpu
(Internal) /proc/cpuinfo
Definition hd.h:2699
smp_info_t::prod_id
char prod_id[13]
product id
Definition hd.h:460
isapnp_card_t::serial
unsigned char * serial
Definition hd.h:1105
res_init_strings_t::type
enum resource_types type
Definition hd.h:1771
sys_info_t::model
char * model
Definition hd.h:1405
driver_info_x11_t::dacspeed
unsigned dacspeed
max.
Definition hd.h:2006
u_hd_res_t::phys_mem
res_phys_mem_t phys_mem
Definition hd.h:1832
u_hd_res_t::mem
res_mem_t mem
Definition hd.h:1831
bios_info_t::vbe
vbe_info_t vbe
Definition hd.h:1356
hd_data_t::size
unsigned size
Definition hd.h:2725
s_pci_t::rev
unsigned rev
vendor & device ids
Definition hd.h:1044
bios_info_t::num_lock
unsigned num_lock
Definition hd.h:1380
misc_t::dma_len
unsigned dma_len
Definition hd.h:1877
pmac_mb_def::string
const char * string
Definition hd.h:1271
s_hd_t::is_s::hotpluggable
unsigned hotpluggable
hotpluggable storage device
Definition hd.h:2504
smbios_memarray_t::max_size
unsigned max_size
maximum memory size in kB
Definition hd.h:805
prom_info_t::color
unsigned color
Definition hd.h:1394
smbios_memarray_t::type
hd_smbios_type_t type
Definition hd.h:797
u_hd_smbios_t::boardinfo
smbios_boardinfo_t boardinfo
Definition hd.h:958
driver_info_kbd_t::hddb0
str_list_t * hddb0
Definition hd.h:2036
monitor_info_t::htotal
unsigned htotal
h_timings
Definition hd.h:1423
hd_dev_num_t::type
int type
Definition hd.h:1012
sys_info_t::vendor
char * vendor
Definition hd.h:1404
modinfo_t::@134006143204174177266301070236220177060114047265::@034010113110163233330206323154335324235367173203::device_subclass
unsigned device_subclass
Definition hd.h:1594
monitor_info_t::clock
unsigned clock
pixel clock in kHz
Definition hd.h:1420
smbios_processor_t::sock_status
unsigned sock_status
socket status (1: populated, 0: empty
Definition hd.h:660
smbios_chassis_t::strings
str_list_t * strings
Definition hd.h:622
devtree_s::loc_code
char * loc_code
Definition hd.h:1188
smbios_connect_t::next
union u_hd_smbios_t * next
Definition hd.h:695
s_hd_t::block0
unsigned char * block0
(Internal) First 512 bytes of block devices.
Definition hd.h:2527
modinfo_t::type
modinfo_type_t type
Definition hd.h:1563
vbe_info_t::mode
vbe_mode_info_t * mode
video mode list
Definition hd.h:500
u_hd_res_t::cache
res_cache_t cache
Definition hd.h:1836
cdb_isdn_card::handle
int handle
internal identifier idx in database
Definition hd.h:2885
hd_dev_num_t::minor
unsigned minor
Definition hd.h:1013
u_hd_res_t::init_strings
res_init_strings_t init_strings
Definition hd.h:1840
cdb_isdn_vendor::vnr
int vnr
Definition hd.h:2880
u_hd_res_t::dma
res_dma_t dma
Definition hd.h:1834
devtree_s::parent
struct devtree_s * parent
Definition hd.h:1183
smbios_lang_t::next
union u_hd_smbios_t * next
Definition hd.h:770
hd_data_t::flag_struct::pata
unsigned pata
use new libata modules instead of classical ide modules
Definition hd.h:2665
smbios_onboard_t::name
char * name
device name
Definition hd.h:737
driver_info_display_t::next
union driver_info_u * next
Definition hd.h:1959
monitor_info_t::manu_week
unsigned manu_week
Definition hd.h:1417
hd_manual_s::model
char * model
Definition hd.h:2183
monitor_info_t::max_hsync
unsigned max_hsync
hsync range
Definition hd.h:1419
cdb_isdn_vario::membase
char * membase
possible membase with legacy ISA cards
Definition hd.h:2923
monitor_info_t::name
char * name
Definition hd.h:1427
scsi_s::pgeo_h
unsigned pgeo_h
Definition hd.h:1162
smbios_boardinfo_t::handle
int handle
Definition hd.h:601
s_pci_t::sysfs_bus_id
char * sysfs_bus_id
sysfs bus id
Definition hd.h:1052
misc_t::proc_io
str_list_t * proc_io
Definition hd.h:1881
hd_data_t::progress
void(* progress)(char *pos, char *msg)
A progress indicator.
Definition hd.h:2625
smbios_cache_t::type
hd_smbios_type_t type
Definition hd.h:671
res_pppd_option_t::option
char * option
Definition hd.h:1779
smbios_memarray_t::error_handle
int error_handle
points to error info record; 0xfffe: not supported, 0xffff: no error
Definition hd.h:806
s_hd_t::status
hd_status_t status
Hardware status (if available).
Definition hd.h:2452
res_baud_t::parity
char parity
n, e, o, s, m
Definition hd.h:1743
driver_info_display_t::vdisp
unsigned vdisp
h_timings
Definition hd.h:1967
isapnp_card_t::card_regs
unsigned char * card_regs
Definition hd.h:1106
hd_data_t::last_idx
unsigned last_idx
(Internal) index of the last hd entry generated
Definition hd.h:2685
smbios_cache_t::sram
hd_bitmap_t sram
current SRAM type
Definition hd.h:689
monitor_info_t::vflag
char vflag
h/v flags
Definition hd.h:1425
s_hd_t::tag_s::skip_mouse
unsigned skip_mouse
if serial line, don't scan for mice
Definition hd.h:2516
bios_info_t::ser_port2
unsigned ser_port2
Definition hd.h:1346
hd_manual_s::value
str_list_t * value
Definition hd.h:2192
bios_info_t::@172373003356353222255076322017111031246064175026::vendor
char * vendor
Definition hd.h:1370
hd_data_t::hd
hd_t * hd
Current hardware list.
Definition hd.h:2615
smbios_mouse_t::data
unsigned char * data
Definition hd.h:894
s_hd_t::is_s::dvd
unsigned dvd
DVD.
Definition hd.h:2483
smp_info_t::mpconfig_ok
unsigned mpconfig_ok
MP config table valid.
Definition hd.h:455
edd_info_t::sectors
uint64_t sectors
Definition hd.h:1492
isapnp_dev_t::card
isapnp_card_t * card
Definition hd.h:1126
res_monitor_t::interlaced
unsigned interlaced
0/1
Definition hd.h:1766
smbios_memdevice_t::size
unsigned size
kB
Definition hd.h:829
smbios_biosinfo_t::data
unsigned char * data
Definition hd.h:565
s_hd_t::hotplug_slot
unsigned hotplug_slot
Slot the hotplug device is connected to (e.g.
Definition hd.h:2472
s_hd_t::detail
hd_detail_t * detail
Special info associated with this hardware.
Definition hd.h:2438
u_hd_smbios_t::memarray
smbios_memarray_t memarray
Definition hd.h:969
vbe_info_t::vendor_name
char * vendor_name
vendor name
Definition hd.h:496
monitor_info_t::height_mm
unsigned height_mm
dto, in mm
Definition hd.h:1422
res_baud_t::stopbits
unsigned stopbits
Definition hd.h:1742
s_ser_device_t::user_name
char * user_name
Definition hd.h:1914
smbios_memdevice_t::type_detail
hd_bitmap_t type_detail
memory type details
Definition hd.h:833
smbios_config_t::next
union u_hd_smbios_t * next
Definition hd.h:758
s_hd_t::unix_dev_num2
hd_dev_num_t unix_dev_num2
Device type & number according to sysfs.
Definition hd.h:2379
smbios_connect_t::i_type
hd_id_t i_type
internal connector type
Definition hd.h:703
hd_data_t::pci_config_type
unsigned pci_config_type
(Internal) PCI config type (1 or 2), 0: unknown
Definition hd.h:2731
smbios_slot_t::strings
str_list_t * strings
Definition hd.h:715
u_hd_res_t::pppd_option
res_pppd_option_t pppd_option
Definition hd.h:1841
hd_data_t::flag_struct::vmware
unsigned vmware
running in vmware
Definition hd.h:2667
hal_prop_s::type
hal_prop_type_t type
Definition hd.h:1613
hd_data_t::flag_struct::cpuemu
unsigned cpuemu
use CPU emulation to run BIOS code (i386 only)
Definition hd.h:2658
cdb_isdn_vario::description
char * description
optional description
Definition hd.h:2916
cdrom_info_s::c
unsigned c
Definition hd.h:1315
driver_info_display_t::hddb1
str_list_t * hddb1
the actual driver database entries
Definition hd.h:1961
smbios_any_t::data
unsigned char * data
formatted section
Definition hd.h:554
bios_info_t::pnp_id
unsigned pnp_id
Definition hd.h:1351
u_hd_smbios_t::biosinfo
smbios_biosinfo_t biosinfo
Definition hd.h:956
smbios_power_t::hour
unsigned hour
dto, hour
Definition hd.h:928
s_udevinfo_t::sysfs
char * sysfs
Definition hd.h:989
modinfo_t::@134006143204174177266301070236220177060114047265::@034010113110163233330206323154335324235367173203::product
unsigned product
Definition hd.h:1592
res_size_t::next
union u_hd_res_t * next
Definition hd.h:1732
cdrom_info_s::cdrom
unsigned cdrom
cdrom in drive
Definition hd.h:1299
hd_detail_t::usb
hd_detail_usb_t usb
Definition hd.h:2149
s_pci_t::sub_dev
unsigned sub_dev
Definition hd.h:1044
bios_info_t::apm_subver
unsigned apm_subver
Definition hd.h:1340
s_hd_t::usb_guid
char * usb_guid
USB Global Unique Identifier.
Definition hd.h:2584
cdb_isdn_vario::typ
int typ
Type to identify the driver.
Definition hd.h:2908
hd_data_t::flag_struct::edd_used
unsigned edd_used
internal: edd info has been used
Definition hd.h:2660
res_mem_t::next
union u_hd_res_t * next
Definition hd.h:1692
devtree_s::filename
char * filename
Definition hd.h:1185
hal_prop_s::b
int b
Definition hd.h:1620
smbios_secure_t::strings
str_list_t * strings
Definition hd.h:909
smbios_lang_t::handle
int handle
Definition hd.h:775
s_ser_device_t::hd_idx
unsigned hd_idx
Definition hd.h:1901
smbios_cache_t::handle
int handle
Definition hd.h:675
hd_detail_usb_t::type
enum hd_detail_type type
Definition hd.h:2081
driver_info_module_t::hddb1
str_list_t * hddb1
the actual driver database entries
Definition hd.h:1975
hd_data_t::modinfo
modinfo_t * modinfo
(Internal) module info
Definition hd.h:2704
res_mem_t::range
uint64_t range
Definition hd.h:1694
bios32_info_t::cpq_ctrl
cpq_ctlorder_t cpq_ctrl[32]
32 == MAX_CONTROLLERS
Definition hd.h:523
smbios_any_t::data_len
int data_len
formatted section length
Definition hd.h:553
s_ser_device_t::pppd_option
char * pppd_option
Definition hd.h:1914
scsi_s::pgeo_c
unsigned pgeo_c
Definition hd.h:1162
s_ser_device_t::garbage
int garbage
Definition hd.h:1912
cdb_isdn_card::vhandle
int vhandle
internal identifier to vendor database
Definition hd.h:2886
cdb_isdn_card::bus
char * bus
bus type
Definition hd.h:2890
s_pci_t::label
char * label
Consistant Device Name (CDN), pci firmware spec 3.1, chapter 4.6.7.
Definition hd.h:1054
smbios_biosinfo_t::next
union u_hd_smbios_t * next
Definition hd.h:562
driver_info_u::next
union driver_info_u * next
Definition hd.h:2047
smbios_cache_t::data_len
int data_len
Definition hd.h:672
smbios_processor_t::asset
char * asset
asset tag
Definition hd.h:651
smbios_memarraymap_t::strings
str_list_t * strings
Definition hd.h:862
u_hd_smbios_t::cache
smbios_cache_t cache
Definition hd.h:961
bios_info_t::compat_dev
unsigned compat_dev
Definition hd.h:1374
modinfo_t::product
unsigned product
Definition hd.h:1587
driver_info_dsl_t::hddb0
str_list_t * hddb0
Definition hd.h:2027
smbios_group_t::data_len
int data_len
Definition hd.h:784
cpu_info_t::model_name
char * model_name
axp: cpu model
Definition hd.h:1480
usb_s::i_alt
int i_alt
Definition hd.h:1085
s_hd_t::is_s::bdre
unsigned bdre
BD-RE.
Definition hd.h:2493
edd_info_t::heads
unsigned heads
Definition hd.h:1494
hd_data_t::display
unsigned display
(Internal) hd_idx of the active (vga) display
Definition hd.h:2712
smbios_lang_t::type
hd_smbios_type_t type
Definition hd.h:771
isapnp_t::card
isapnp_card_t * card
Definition hd.h:1119
smbios_oem_t::oem_strings
str_list_t * oem_strings
OEM strings.
Definition hd.h:752
smbios_mem64error_t::type
hd_smbios_type_t type
Definition hd.h:937
hd_data_t::flag_struct::udev
unsigned udev
return first udev symlink as device name
Definition hd.h:2659
hddb2_data_t::list_len
unsigned list_len
Definition hd.h:1543
u_hd_smbios_t::memerror
smbios_memerror_t memerror
Definition hd.h:971
hd_data_t::usb
usb_t * usb
(Internal) usb info
Definition hd.h:2702
hd_data_t::bios_rom
memory_range_t bios_rom
(Internal) BIOS 0xc0000 - 0xfffff
Definition hd.h:2709
res_fc_t::controller_id
char * controller_id
Definition hd.h:1823
driver_info_u::kbd
driver_info_kbd_t kbd
Definition hd.h:2055
smbios_boardinfo_t::next
union u_hd_smbios_t * next
Definition hd.h:596
driver_info_display_t::max_vsync
unsigned max_vsync
vsync range
Definition hd.h:1963
res_link_t::next
union u_hd_res_t * next
Definition hd.h:1798
hd_detail_t::bios
hd_detail_bios_t bios
Definition hd.h:2153
driver_info_u::mouse
driver_info_mouse_t mouse
Definition hd.h:2050
smbios_processor_t::pr_type
hd_id_t pr_type
processor type
Definition hd.h:653
smbios_onboard_t::data_len
int data_len
Definition hd.h:731
hd_data_t::vm
struct vm_s * vm
(Internal) x86emu vm
Definition hd.h:2739
s_pci_t::data_ext_len
unsigned data_ext_len
max.
Definition hd.h:1034
driver_info_dsl_t::next
union driver_info_u * next
Definition hd.h:2025
res_any_t::next
union u_hd_res_t * next
Definition hd.h:1687
smbios_lang_t::strings
str_list_t * strings
list of languages
Definition hd.h:774
s_pci_t::next
struct s_pci_t * next
linked list
Definition hd.h:1032
u_hd_res_t::irq
res_irq_t irq
Definition hd.h:1833
s_pci_t::irq
unsigned irq
used irq, if any
Definition hd.h:1045
s_ser_device_t::at_resp
str_list_t * at_resp
Definition hd.h:1903
driver_info_x11_t::x3d
unsigned x3d
has 3D support
Definition hd.h:2001
smbios_memdevicemap_t::interleave_depth
unsigned interleave_depth
number of consecutive rows
Definition hd.h:885
res_wlan_t::next
union u_hd_res_t * next
Definition hd.h:1805
usb_s::d
str_list_t * d
Definition hd.h:1076
vbe_info_t::product_revision
char * product_revision
product revision
Definition hd.h:498
modinfo_t::device_class
unsigned device_class
Definition hd.h:1588
res_phys_mem_t::next
union u_hd_res_t * next
Definition hd.h:1702
smbios_processor_t::max_speed
unsigned max_speed
MHz.
Definition hd.h:658
res_disk_geo_t::sectors
unsigned sectors
Definition hd.h:1756
s_hd_t::is_s::dvdram
unsigned dvdram
DVDRAM.
Definition hd.h:2497
cdrom_info_s::load_count
unsigned load_count
sectors to load
Definition hd.h:1311
hddb2_data_t::strings
char * strings
Definition hd.h:1548
hd_data_t::cmd_line
char * cmd_line
(Internal) kernel command line
Definition hd.h:2714
usb_s::device
unsigned device
Definition hd.h:1080
scsi_s::fake
unsigned fake
Definition hd.h:1148
hal_prop_s::int32
int32_t int32
Definition hd.h:1617
s_hd_t::device
hd_id_t device
Device id and name.
Definition hd.h:2264
cdrom_info_s::application
char * application
Definition hd.h:1302
smbios_memdevice_t::mem_type
hd_id_t mem_type
memory type
Definition hd.h:832
vbe_info_t::fb_start
unsigned fb_start
!= 0 if framebuffer is supported
Definition hd.h:494
smbios_connect_t::x_des
char * x_des
external reference designator
Definition hd.h:704
smbios_secure_t::admin
hd_id_t admin
admin password status
Definition hd.h:913
usb_s::cloned
struct usb_s * cloned
Definition hd.h:1077
s_ser_device_t::serial
char * serial
Definition hd.h:1914
s_hd_t::is_s::dvdr
unsigned dvdr
DVD-R.
Definition hd.h:2484
bios_info_t::scroll_lock
unsigned scroll_lock
Definition hd.h:1379
s_pci_t::flags
unsigned flags
various info, see enum pci_flags
Definition hd.h:1037
hd_detail_ccw_t::type
enum hd_detail_type type
Definition hd.h:2137
cdrom_info_s::platform
unsigned platform
Definition hd.h:1306
s_hd_t::unix_dev_name
char * unix_dev_name
Special device file.
Definition hd.h:2353
s_hd_t::sysfs_device_link
char * sysfs_device_link
sysfs device link.
Definition hd.h:2346
s_ser_device_t::vend
char * vend
Definition hd.h:1914
edd_info_t::@305052065174015127147365005262261052153044256252::sectors
unsigned sectors
Definition hd.h:1497
smbios_memarraymap_t::handle
int handle
Definition hd.h:863
smbios_slot_t::type
hd_smbios_type_t type
Definition hd.h:712
s_str_list_t::str
char * str
Some string data.
Definition hd.h:412
driver_info_x11_t::raw
str_list_t * raw
extra info to add to XF86Config
Definition hd.h:2009
s_sysfsdrv_t::device
char * device
Definition hd.h:1001
u_hd_res_t::hwaddr
res_hwaddr_t hwaddr
Definition hd.h:1843
edd_info_t::@305052065174015127147365005262261052153044256252::heads
unsigned heads
Definition hd.h:1497
smbios_oem_t::type
hd_smbios_type_t type
Definition hd.h:747
res_irq_t::type
enum resource_types type
Definition hd.h:1718
smbios_slot_t::length
hd_id_t length
slot length
Definition hd.h:721
res_init_strings_t::next
union u_hd_res_t * next
Definition hd.h:1770
u_hd_smbios_t::mem64error
smbios_mem64error_t mem64error
Definition hd.h:977
smbios_sysinfo_t::data
unsigned char * data
Definition hd.h:582
s_hd_t::broken
unsigned broken
Hardware appears to be broken in some way.
Definition hd.h:2215
monitor_info_t::vtotal
unsigned vtotal
v_timings
Definition hd.h:1424
smbios_processor_t::socket
char * socket
socket
Definition hd.h:646
smp_info_t::ok
unsigned ok
data are valid
Definition hd.h:452
misc_io_t::size
uint64_t size
Definition hd.h:1858
cdb_isdn_card::subvendor
int subvendor
Subvendor ID for PCI cards.
Definition hd.h:2894
monitor_info_t::height
unsigned height
display size
Definition hd.h:1421
smbios_chassis_t::oem
unsigned oem
OEM-specific information.
Definition hd.h:634
hd_manual_s::config_string
char * config_string
Definition hd.h:2186
res_hwaddr_t::addr
char * addr
Definition hd.h:1794
u_hd_smbios_t::memarraymap
smbios_memarraymap_t memarraymap
Definition hd.h:972
hd_data_t::flag_struct::internal
unsigned internal
hd_scan() has been called internally.
Definition hd.h:2648
usb_s::manufact
char * manufact
Definition hd.h:1081
misc_io_t::tag
unsigned tag
Definition hd.h:1860
smbios_processor_t::l3_cache
int l3_cache
handle of L3 cache
Definition hd.h:664
smbios_chassis_t::type
hd_smbios_type_t type
Definition hd.h:619
ccw_s::lcss
unsigned char lcss
Definition hd.h:1278
s_hd_t::hw_class_list
unsigned char hw_class_list[(hw_all+7)/8]
Hardware class list.
Definition hd.h:2316
bios_info_t::lba_support
unsigned lba_support
Definition hd.h:1352
smbios_biosinfo_t::date
char * date
date mm/dd/yyyy (old: yy)
Definition hd.h:570
u_hd_smbios_t::config
smbios_config_t config
Definition hd.h:966
res_disk_geo_t::heads
unsigned heads
Definition hd.h:1756
modinfo_t::module
char * module
Definition hd.h:1561
scsi_s::host
unsigned host
Definition hd.h:1154
smbios_power_t::day
unsigned day
dto, day
Definition hd.h:927
monitor_info_t::hsyncstart
unsigned hsyncstart
Definition hd.h:1423
res_dma_t::type
enum resource_types type
Definition hd.h:1726
smbios_memdevice_t::data_len
int data_len
Definition hd.h:815
cdb_isdn_vario::interface
char * interface
supported API interfaces
Definition hd.h:2920
hal_prop_s::next
struct hal_prop_s * next
Definition hd.h:1612
driver_info_x11_t::server
char * server
the server/module name
Definition hd.h:1999
smbios_boardinfo_t::version
char * version
version
Definition hd.h:604
smbios_memdevice_t::width
unsigned width
data width in bits
Definition hd.h:827
driver_info_x11_t::c32
unsigned c32
Definition hd.h:2004
res_hwaddr_t::type
enum resource_types type
Definition hd.h:1793
sys_info_t::formfactor
char * formfactor
Definition hd.h:1408
smbios_memerror_t::array_addr
unsigned array_addr
fault address rel.
Definition hd.h:850
u_hd_res_t::monitor
res_monitor_t monitor
Definition hd.h:1839
hd_detail_cdrom_t::type
enum hd_detail_type type
Definition hd.h:2091
modinfo_t::@134006143204174177266301070236220177060114047265::@034010113110163233330206323154335324235367173203::device_class
unsigned device_class
Definition hd.h:1593
smbios_connect_t::x_type
hd_id_t x_type
external connector type
Definition hd.h:705
scsi_s::deleted
unsigned deleted
Definition hd.h:1146
floppy_info_t::block0
unsigned char block0[512]
Definition hd.h:1330
smp_info_t::rev
unsigned rev
MP spec revision.
Definition hd.h:453
hd_data_t::bios_ebda
memory_range_t bios_ebda
(Internal) EBDA
Definition hd.h:2711
s_hd_t::is_s::bdr
unsigned bdr
BD-R.
Definition hd.h:2492
smbios_onboard_t::dev_len
unsigned dev_len
device list length
Definition hd.h:735
scsi_s::cache
unsigned cache
Definition hd.h:1165
modinfo_t::@134006143204174177266301070236220177060114047265::@374004261203273246115204214364325056144341344066::sub_vendor
unsigned sub_vendor
Definition hd.h:1577
hal_prop_s::key
char * key
Definition hd.h:1614
usb_s::bus
int bus
Definition hd.h:1078
smbios_any_t::next
union u_hd_smbios_t * next
link to next entry
Definition hd.h:551
res_cache_t::type
enum resource_types type
Definition hd.h:1749
hd_data_t::log_max
size_t log_max
(Internal) log buffer size
Definition hd.h:2741
hd_data_t::ser_modem
ser_device_t * ser_modem
(Internal) info about serial modems
Definition hd.h:2698
smbios_any_t::strings
str_list_t * strings
strings taken from the unformed section
Definition hd.h:555
smbios_biosinfo_t::start
unsigned start
start address
Definition hd.h:572
isapnp_card_t::broken
unsigned broken
mark a broken card
Definition hd.h:1109
s_ser_device_t::non_pnp
int non_pnp
Definition hd.h:1912
s_hd_t::unique_ids
str_list_t * unique_ids
List of ids.
Definition hd.h:2412
res_monitor_t::next
union u_hd_res_t * next
Definition hd.h:1762
smbios_mem64error_t::device_addr
uint64_t device_addr
fault address rel to mem device; 0x80000000: unknown
Definition hd.h:947
smbios_boardinfo_t::data
unsigned char * data
Definition hd.h:599
smbios_memdevice_t::strings
str_list_t * strings
Definition hd.h:817
smbios_boardinfo_t::type
hd_smbios_type_t type
Definition hd.h:597
smbios_chassis_t::next
union u_hd_smbios_t * next
Definition hd.h:618
driver_info_module_t::conf
char * conf
conf.modules entry, if any (e.g.
Definition hd.h:1980
driver_info_x11_t::options
str_list_t * options
special server options
Definition hd.h:2008
smbios_memdevicemap_t::start_addr
uint64_t start_addr
memory range start address
Definition hd.h:881
s_hd_t::old_unique_id
char * old_unique_id
Old unique_id for compatibility.
Definition hd.h:2556
s_hd_t::base_class
hd_id_t base_class
Base class (id and name).
Definition hd.h:2236
s_pci_t::edid_len
unsigned edid_len[6]
edid record length
Definition hd.h:1055
smbios_slot_t::feature
hd_bitmap_t feature
slot characteristics
Definition hd.h:723
vbe_mode_info_s::win_gran
unsigned win_gran
window granularity in bytes
Definition hd.h:480
cpu_info_t::features
str_list_t * features
x86: flags
Definition hd.h:1482
res_disk_geo_t::type
enum resource_types type
Definition hd.h:1755
smbios_memerror_t::granularity
hd_id_t granularity
memory array or memory partition
Definition hd.h:847
smbios_memarray_t::ecc
hd_id_t ecc
ECC types.
Definition hd.h:804
smbios_connect_t::handle
int handle
Definition hd.h:700
hd_data_t::flag_struct::biosvram
unsigned biosvram
internal: map Video BIOS RAM (128k at 0xa0000)
Definition hd.h:2663
res_pppd_option_t::next
union u_hd_res_t * next
Definition hd.h:1777
hd_detail_cdrom_t::data
cdrom_info_t * data
Definition hd.h:2092
smbios_memarraymap_t::array_handle
int array_handle
memory array this mapping belongs to
Definition hd.h:864
hd_data_t::log
char * log
Log messages.
Definition hd.h:2631
edd_info_t::cyls
unsigned cyls
Definition hd.h:1494
vbe_info_t::ddc_port
unsigned char ddc_port[4][0x80]
ddc monitor info per port
Definition hd.h:503
driver_info_module_t::names
str_list_t * names
(ordered) list of module names
Definition hd.h:1978
driver_info_dsl_t::mode
char * mode
DSL driver types.
Definition hd.h:2028
vbe_mode_info_s::win_B_start
unsigned win_B_start
window B start address
Definition hd.h:477
usb_s::raw_descr
memory_range_t raw_descr
Definition hd.h:1083
smbios_memarray_t::handle
int handle
Definition hd.h:801
s_hd_t::tag_s::skip_braille
unsigned skip_braille
if serial line, don't scan for braille devices
Definition hd.h:2518
vbe_mode_info_s::attributes
unsigned attributes
mode attributes
Definition hd.h:470
smbios_cache_t::strings
str_list_t * strings
Definition hd.h:674
smp_info_t::mpfp
unsigned mpfp
MP Floating Pointer struct.
Definition hd.h:454
u_hd_res_t::next
union u_hd_res_t * next
Definition hd.h:1828
devtree_s::revision_id
int revision_id
Definition hd.h:1192
smbios_sysinfo_t::strings
str_list_t * strings
Definition hd.h:583
res_cache_t::next
union u_hd_res_t * next
Definition hd.h:1748
hddb_data_t::data_len
unsigned data_len
Definition hd.h:1518
hd_data_t::flag_struct::list_md
unsigned list_md
Report md & lvm devices from /proc/partitions.
Definition hd.h:2654
driver_info_dsl_t::name
char * name
DSL driver name.
Definition hd.h:2029
hd_dev_num_t::major
unsigned major
Definition hd.h:1013
monitor_info_t::max_vsync
unsigned max_vsync
vsync range
Definition hd.h:1418
u_hd_res_t::baud
res_baud_t baud
Definition hd.h:1837
driver_info_display_t::max_hsync
unsigned max_hsync
hsync range
Definition hd.h:1964
misc_t::proc_irq
str_list_t * proc_irq
Definition hd.h:1881
driver_info_x11_t::type
enum driver_info_type type
driver info type
Definition hd.h:1997
s_ser_device_t::bits
unsigned bits
Definition hd.h:1916
hd_data_t::sysfsdrv_id
uint64_t sysfsdrv_id
(Internal) sysfs driver info id
Definition hd.h:2734
isdn_parm_s::name
char * name
parameter name
Definition hd.h:1934
hd_detail_isapnp_t::type
enum hd_detail_type type
Definition hd.h:2086
hd_detail_t::sys
hd_detail_sys_t sys
Definition hd.h:2157
bios_info_t::vendor
char * vendor
Definition hd.h:1365
smbios_cache_t::cache_type
hd_id_t cache_type
logical cache type
Definition hd.h:686
isapnp_res_t::data
unsigned char * data
Definition hd.h:1096
driver_info_mouse_t::wheels
int wheels
dto, wheels
Definition hd.h:1991
smbios_mouse_t::next
union u_hd_smbios_t * next
Definition hd.h:891
cpu_info_t::stepping
unsigned stepping
Definition hd.h:1475
s_hd_t::label
char * label
Consistent Device Name (CDN), pci firmware spec 3.1, chapter 4.6.7.
Definition hd.h:2595
u_hd_smbios_t::secure
smbios_secure_t secure
Definition hd.h:975
scsi_s::type_str
char * type_str
Definition hd.h:1155
usb_s::i_sub
int i_sub
Definition hd.h:1085
cdb_isdn_vario::drvid
int drvid
unique id of the driver vario
Definition hd.h:2907
hd_data_t::probe_val
hal_prop_t * probe_val
(Internal) probing features with arbitrary values
Definition hd.h:2684
bios_info_t::bios32
bios32_info_t bios32
Definition hd.h:1384
s_hd_t::is_s::notready
unsigned notready
block devices: no medium, other: device not configured
Definition hd.h:2477
hd_data_t::modinfo_ext
modinfo_t * modinfo_ext
(Internal) external module info
Definition hd.h:2703
smbios_memarraymap_t::data
unsigned char * data
Definition hd.h:861
hd_data_t::kmods
str_list_t * kmods
(Internal) list of active kernel modules
Definition hd.h:2706
modinfo_t::@134006143204174177266301070236220177060114047265::@374004261203273246115204214364325056144341344066::vendor
unsigned vendor
Definition hd.h:1575
res_baud_t::type
enum resource_types type
Definition hd.h:1740
smbios_processor_t::family
hd_id_t family
processor family
Definition hd.h:654
hd_detail_usb_t::data
usb_t * data
Definition hd.h:2082
smbios_any_t::type
hd_smbios_type_t type
BIOS info type.
Definition hd.h:552
res_fc_t::port_id
unsigned port_id
Definition hd.h:1822
devtree_s::ccin
char * ccin
Definition hd.h:1188
devtree_s::device_id
int device_id
Definition hd.h:1191
bios_info_t::height
unsigned height
Definition hd.h:1362
cdrom_info_s::next
struct cdrom_info_s * next
Definition hd.h:1295
s_pci_t::cmd
unsigned cmd
PCI_COMMAND.
Definition hd.h:1038
hd_data_t::floppy
str_list_t * floppy
(Internal) contents of PROC_NVRAM, used by the floppy module
Definition hd.h:2693
driver_info_any_t::type
enum driver_info_type type
driver info type
Definition hd.h:1953
scsi_s::rev
char * rev
Definition hd.h:1155
misc_irq_t::events
unsigned events
Definition hd.h:1870
usb_s::count
int count
Definition hd.h:1078
s_pci_t::base_addr
uint64_t base_addr[7]
I/O or memory base.
Definition hd.h:1046
driver_info_x11_t::all
unsigned all
the next 5 entries combined
Definition hd.h:2003
hd_data_t::pci
pci_t * pci
(Internal) raw PCI data
Definition hd.h:2689
s_hd_t::is_s::zip
unsigned zip
zip floppy
Definition hd.h:2480
usb_s::i_prot
int i_prot
Definition hd.h:1085
driver_info_mouse_t::type
enum driver_info_type type
driver info type
Definition hd.h:1986
isdn_parm_s::conflict
unsigned conflict
1: ressource conflict (eg.
Definition hd.h:1936
s_ser_device_t::next
struct s_ser_device_t * next
Definition hd.h:1900
bios32_info_t::entry
unsigned entry
entry point
Definition hd.h:521
smp_info_t::cpus
unsigned cpus
Definition hd.h:461
s_hd_t::idx
unsigned idx
Unique index, starting at 1.
Definition hd.h:2208
smbios_chassis_t::thermal
hd_id_t thermal
thermal state (at last boot)
Definition hd.h:632
edd_info_t::signature
unsigned signature
Definition hd.h:1509
smbios_chassis_t::data_len
int data_len
Definition hd.h:620
hd_detail_isapnp_t::data
isapnp_dev_t * data
Definition hd.h:2087
s_hd_t::sub_device
hd_id_t sub_device
Subdevice id and name.
Definition hd.h:2280
misc_irq_t::dev
char ** dev
Definition hd.h:1872
hd_manual_s::parent_id
char * parent_id
Definition hd.h:2180
hd_data_t::lsscsi
str_list_t * lsscsi
(Internal) lsscsi result (if any)
Definition hd.h:2738
smbios_boardinfo_t::location
char * location
location in chassis
Definition hd.h:609
isapnp_card_t::ldev_regs
unsigned char(* ldev_regs)[0xd0]
Definition hd.h:1107
s_hd_t::sysfs_id
char * sysfs_id
sysfs entry for this hardware, if any.
Definition hd.h:2336
res_cache_t::size
unsigned size
in kbyte
Definition hd.h:1750
smbios_cache_t::current_size
unsigned current_size
current size in kbytes
Definition hd.h:678
s_pci_t::addr_flags
unsigned addr_flags[7]
I/O or memory address flags.
Definition hd.h:1048
edd_info_t::hd_idx
unsigned hd_idx
Definition hd.h:1508
s_ser_device_t::dev_name
char * dev_name
Definition hd.h:1902
res_mem_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition hd.h:1696
hd_data_t::used_irqs
uint64_t used_irqs
(Internal) irq usage
Definition hd.h:2707
hd_detail_t::pci
hd_detail_pci_t pci
Definition hd.h:2148
bios_info_t::ser_port1
unsigned ser_port1
Definition hd.h:1346
edd_info_t::assigned
unsigned assigned
Definition hd.h:1503
sys_info_t::generation
char * generation
Definition hd.h:1403
s_serial_t::irq
unsigned irq
Definition hd.h:1893
scsi_s::next
struct scsi_s * next
Definition hd.h:1145
bios_info_t::apm_ver
unsigned apm_ver
Definition hd.h:1340
smbios_slot_t::handle
int handle
Definition hd.h:716
smbios_cache_t::socketed
unsigned socketed
0/1: not socketed/socketed
Definition hd.h:683
hd_data_t::assigned_irqs
uint64_t assigned_irqs
(Internal) irqs automatically assigned by libhd (for driver info)
Definition hd.h:2708
s_pci_t::bus
unsigned bus
PCI bus #, nothing to do with hw_t.bus.
Definition hd.h:1041
smp_info_t::cpus_en
unsigned cpus_en
number of cpus & ennabled cpus
Definition hd.h:461
s_hd_t::attached_to
unsigned attached_to
Device this hardware is attached to.
Definition hd.h:2331
smbios_chassis_t::ch_type
hd_id_t ch_type
chassis type
Definition hd.h:628
smbios_power_t::strings
str_list_t * strings
Definition hd.h:924
s_hd_t::driver_module
char * driver_module
Currently active driver module (if any).
Definition hd.h:2537
s_hd_t::drivers
str_list_t * drivers
List of currently active drivers.
Definition hd.h:2542
devtree_s::compatible
char * compatible
Definition hd.h:1187
hd_bitmap_t::not_empty
unsigned not_empty
at least 1 bit is set
Definition hd.h:422
cpu_info_t::clock
unsigned clock
Definition hd.h:1477
smbios_processor_t::strings
str_list_t * strings
Definition hd.h:644
s_ser_device_t::cur_baud
unsigned cur_baud
Definition hd.h:1906
smbios_memerror_t::syndrome
unsigned syndrome
vendor-specific ECC syndrome; 0: unknown
Definition hd.h:849
smbios_connect_t::data
unsigned char * data
Definition hd.h:698
res_wlan_t::type
enum resource_types type
Definition hd.h:1806
smbios_config_t::type
hd_smbios_type_t type
Definition hd.h:759
misc_dma_t::channel
unsigned channel
Definition hd.h:1864
s_pci_t::base_len
uint64_t base_len[7]
I/O or memory ranges.
Definition hd.h:1047
hd_data_t::cdrom
cdrom_info_t * cdrom
(Internal) CDROM devs from PROC_CDROM_INFO
Definition hd.h:2691
smbios_processor_t::part
char * part
part number
Definition hd.h:652
smbios_processor_t::version
char * version
version
Definition hd.h:649
hd_data_t::flag_struct::list_all
unsigned list_all
Return even devices with status 'not available'.
Definition hd.h:2652
hd_status_t::available_orig
unsigned available_orig
(Internal) original value of available; This is used to keep track of the original value of the hd_st...
Definition hd.h:365
hd_data_t::ok
unsigned ok
Definition hd.h:2724
cdb_isdn_card::name
char * name
cardname
Definition hd.h:2887
hd_data_t::hddb2
hddb2_data_t * hddb2[2]
(Internal) hardware database
Definition hd.h:2705
cpu_info_t::family
unsigned family
axp: cpu variation
Definition hd.h:1473
smbios_group_t::name
char * name
group name
Definition hd.h:788
smbios_group_t::type
hd_smbios_type_t type
Definition hd.h:783
smbios_memerror_t::next
union u_hd_smbios_t * next
Definition hd.h:840
modinfo_t::@134006143204174177266301070236220177060114047265::@374004261203273246115204214364325056144341344066::sub_device
unsigned sub_device
Definition hd.h:1578
hddb2_data_t::ids_max
unsigned ids_max
Definition hd.h:1545
smbios_processor_t::data_len
int data_len
Definition hd.h:642
vbe_mode_info_s::pixel_clock
unsigned pixel_clock
maximum pixel clock
Definition hd.h:481
hd_data_t::flag_struct::vmware_mouse
unsigned vmware_mouse
has vmware mouse
Definition hd.h:2668
cdb_isdn_card::lname
char * lname
vendor short name + cardname
Definition hd.h:2888
u_hd_smbios_t::memdevice
smbios_memdevice_t memdevice
Definition hd.h:970
u_hd_smbios_t::group
smbios_group_t group
Definition hd.h:968
usb_s::hd_idx
unsigned hd_idx
Definition hd.h:1074
isapnp_card_t::res
isapnp_res_t * res
Definition hd.h:1110
devtree_s::edid
unsigned char * edid
128 bytes
Definition hd.h:1193
driver_info_any_t::hddb1
str_list_t * hddb1
the actual driver database entries
Definition hd.h:1954
cpq_ctlorder_t::bus
unsigned char bus
Definition hd.h:513
smbios_processor_t::manuf
char * manuf
manufacturer
Definition hd.h:648
bios_info_t::vbe_ver
unsigned vbe_ver
Definition hd.h:1343
misc_t::io_len
unsigned io_len
Definition hd.h:1877
smbios_mouse_t::buttons
unsigned buttons
number of buttons
Definition hd.h:899
smbios_processor_t::data
unsigned char * data
Definition hd.h:643
smbios_boardinfo_t::objects
int * objects
array of object handles
Definition hd.h:612
res_size_t::type
enum resource_types type
Definition hd.h:1733
scsi_s::serial
char * serial
Definition hd.h:1155
res_monitor_t::type
enum resource_types type
Definition hd.h:1763
smbios_config_t::strings
str_list_t * strings
Definition hd.h:762
isapnp_card_t::res_len
int res_len
Definition hd.h:1108
scsi_s::vendor
char * vendor
Definition hd.h:1155
smbios_connect_t::type
hd_smbios_type_t type
Definition hd.h:696
s_pci_t::dev
unsigned dev
Definition hd.h:1044
cdb_isdn_card::line_cnt
int line_cnt
count of ISDN ports
Definition hd.h:2899
isapnp_card_t::log_devs
int log_devs
Definition hd.h:1104
smbios_sysinfo_t::wake_up
hd_id_t wake_up
wake-up type
Definition hd.h:590
s_ser_device_t::class_name
char * class_name
Definition hd.h:1914
hal_device_s::used
unsigned used
Definition hd.h:1632
hd_data_t::devtree
devtree_t * devtree
(Internal) prom device tree on ppc
Definition hd.h:2716
s_hd_t::is_s::dvdpr
unsigned dvdpr
DVD+R.
Definition hd.h:2487
hd_data_t::used
unsigned used
Definition hd.h:2726
modinfo_t::sub_vendor
unsigned sub_vendor
Definition hd.h:1569
modinfo_t::device
unsigned device
Definition hd.h:1568
smbios_sysinfo_t::manuf
char * manuf
manufacturer
Definition hd.h:585
usb_s::s
str_list_t * s
Definition hd.h:1076
s_serial_t::port
unsigned port
Definition hd.h:1893
modinfo_t::prog_if
unsigned prog_if
Definition hd.h:1573
cpq_ctlorder_t::devfn
unsigned char devfn
Definition hd.h:514
bios_info_t::ser_port3
unsigned ser_port3
Definition hd.h:1346
hd_data_t::module
unsigned module
(Internal) the current probing module we are in
Definition hd.h:2686
cdb_isdn_vario::para_str
char * para_str
optional parameter string
Definition hd.h:2912
memory_range_t::size
unsigned size
base address & size
Definition hd.h:443
smbios_memerror_t::data
unsigned char * data
Definition hd.h:843
smbios_onboard_t::next
union u_hd_smbios_t * next
Definition hd.h:729
hd_detail_t::cpu
hd_detail_cpu_t cpu
Definition hd.h:2154
modinfo_t::base_class
unsigned base_class
Definition hd.h:1571
hd_data_t::probe_set
unsigned char probe_set[(pr_all+7)/8]
(Iternal) bitmask of probing features that will always be set.
Definition hd.h:2682
sys_info_t::lang
char * lang
Definition hd.h:1407
smbios_memdevicemap_t::next
union u_hd_smbios_t * next
Definition hd.h:873
res_pppd_option_t::type
enum resource_types type
Definition hd.h:1778
hd_detail_t::isapnp
hd_detail_isapnp_t isapnp
Definition hd.h:2150
smbios_memarray_t::slots
unsigned slots
slots or sockets for this device
Definition hd.h:807
monitor_info_t::vsyncstart
unsigned vsyncstart
Definition hd.h:1424
smbios_processor_t::ext_clock
unsigned ext_clock
MHz.
Definition hd.h:657
s_hd_t::is_s::dvdrdl
unsigned dvdrdl
DVD-R DL.
Definition hd.h:2486
devtree_s::serial_number
char * serial_number
Definition hd.h:1188
usb_s::dev_nr
int dev_nr
Definition hd.h:1078
smbios_chassis_t::bootup
hd_id_t bootup
bootup state
Definition hd.h:630
hddb_data_t::names_len
unsigned names_len
Definition hd.h:1520
s_ser_device_t::pnp_id
unsigned char pnp_id[8]
Definition hd.h:1913
scsi_s::pci_bus
unsigned pci_bus
Definition hd.h:1169
edd_info_t::ext_edd
unsigned ext_edd
Definition hd.h:1501
scsi_s::fcp_lun_ok
unsigned fcp_lun_ok
Definition hd.h:1150
u_hd_smbios_t::mouse
smbios_mouse_t mouse
Definition hd.h:974
hd_data_t::scanner_db
str_list_t * scanner_db
(Internal) list of scanner modules
Definition hd.h:2735
hd_bitmap_t::bits
unsigned bits
real bitmap length in bits
Definition hd.h:421
hd_data_t::flag_struct::nowpa
unsigned nowpa
no longer used
Definition hd.h:2664
hd_data_t::flag_struct::iseries
unsigned iseries
Set if we are on an iSeries machine.
Definition hd.h:2651
smbios_sysinfo_t::type
hd_smbios_type_t type
Definition hd.h:580
cdb_isdn_vario::need_pkg
char * need_pkg
list of packages needed for function
Definition hd.h:2917
driver_info_isdn_t::next
union driver_info_u * next
Definition hd.h:2015
driver_info_display_t::vflag
char vflag
Definition hd.h:1968
bios_info_t::smbios_ver
unsigned smbios_ver
Definition hd.h:1358
u_hd_res_t::link
res_link_t link
Definition hd.h:1844
smbios_memdevice_t::data
unsigned char * data
Definition hd.h:816
s_hd_t::parent_id
char * parent_id
unique_id of parent (attached_to).
Definition hd.h:2563
usb_s::country
unsigned country
Definition hd.h:1086
res_irq_t::enabled
unsigned enabled
0: disabled, 1 enabled
Definition hd.h:1721
usb_s::next
struct usb_s * next
Definition hd.h:1073
bios_info_t::width
unsigned width
Definition hd.h:1361
cdrom_info_s::dvdram
unsigned dvdram
Definition hd.h:1298
smbios_cache_t::assoc
hd_id_t assoc
cache associativity
Definition hd.h:687
smbios_memdevicemap_t::row_pos
unsigned row_pos
position of the referenced memory device in a row of the address partition
Definition hd.h:883
smbios_lang_t::current
char * current
current language
Definition hd.h:776
smbios_oem_t::data
unsigned char * data
Definition hd.h:749
cdrom_info_s::speed
unsigned speed
Definition hd.h:1297
hd_detail_monitor_s::next
struct hd_detail_monitor_s * next
Definition hd.h:2118
hd_data_t::smbios
hd_smbios_t * smbios
(Internal) smbios data
Definition hd.h:2722
s_pci_t::func
unsigned func
slot & function
Definition hd.h:1042
cdrom_info_s::cdr
unsigned cdr
Definition hd.h:1298
smbios_memarray_t::next
union u_hd_smbios_t * next
Definition hd.h:796
usb_s::i_cls
int i_cls
Definition hd.h:1085
cdrom_info_s::bootable
unsigned bootable
Definition hd.h:1308
ccw_s::cu_model
unsigned char cu_model
Definition hd.h:1279
u_hd_smbios_t::oem
smbios_oem_t oem
Definition hd.h:965
hddb_data_t::data
unsigned * data
Definition hd.h:1519
bios_info_t::caps_lock
unsigned caps_lock
Definition hd.h:1381
hddb2_data_t::strings_max
unsigned strings_max
Definition hd.h:1547
hd_data_t::ser_mouse
ser_device_t * ser_mouse
(Internal) info about serial mice
Definition hd.h:2697
s_pci_t::hdr_type
unsigned hdr_type
PCI_HEADER_TYPE.
Definition hd.h:1039
smbios_onboard_t::data
unsigned char * data
Definition hd.h:732
cdrom_info_s::size
unsigned size
Definition hd.h:1316
hd_detail_t::ccw
hd_detail_ccw_t ccw
Definition hd.h:2160
driver_info_mouse_t::hddb1
str_list_t * hddb1
the actual driver database entries
Definition hd.h:1987
prom_info_t::has_color
unsigned has_color
Definition hd.h:1393
hd_bitmap_t::str
str_list_t * str
interpreted bitmask
Definition hd.h:423
driver_info_x11_t::extensions
str_list_t * extensions
additional X extensions to load ('Module' section)
Definition hd.h:2007
cdb_isdn_vario::subtyp
int subtyp
Subtype of the driver type.
Definition hd.h:2909
smbios_memdevice_t::bank
char * bank
bank location
Definition hd.h:820
smbios_memdevice_t::type
hd_smbios_type_t type
Definition hd.h:814
s_hd_t::hal_prop
str_list_t *hal_prop_t * hal_prop
packages/programs required for this hardware
Definition hd.h:2590
cdrom_info_s::load_address
unsigned load_address
Definition hd.h:1310
s_pci_t::sub_vend
unsigned sub_vend
Definition hd.h:1044
s_hd_t::is_s::hdrw
unsigned hdrw
HD-RW.
Definition hd.h:2496
cdb_isdn_vario::features
char * features
optional features
Definition hd.h:2924
smbios_biosinfo_t::type
hd_smbios_type_t type
Definition hd.h:563
hal_device_s::next
struct hal_device_s * next
Definition hd.h:1630
hd_detail_sys_t::data
sys_info_t * data
Definition hd.h:2123
hd_detail_pci_t::type
enum hd_detail_type type
Definition hd.h:2076
scsi_s::info
char * info
Definition hd.h:1160
u_hd_res_t::disk_geo
res_disk_geo_t disk_geo
Definition hd.h:1838
misc_irq_t::devs
int devs
Definition hd.h:1871
smbios_memdevice_t::serial
char * serial
serial number
Definition hd.h:822
cdb_isdn_vario::protocol
char * protocol
supported D-channel protocols
Definition hd.h:2919
s_hd_t::func
unsigned func
(PCI) function.
Definition hd.h:2231
res_mem_t::access
unsigned access
enum access_flags
Definition hd.h:1697
res_wlan_t::channels
str_list_t * channels
Definition hd.h:1807
driver_info_x11_t::hddb1
str_list_t * hddb1
the actual driver database entries
Definition hd.h:1998
cdb_isdn_vario::smp
int smp
SMP supported ?
Definition hd.h:2910
s_hd_t::module
unsigned module
(Internal) Probing module that created this entry.
Definition hd.h:2417
s_hd_t::is_s::cdr
unsigned cdr
CD-R.
Definition hd.h:2481
s_hd_t::prog_if
hd_id_t prog_if
(PCI) programming interface (id and name).
Definition hd.h:2246
s_pci_t::data
unsigned char data[256]
the PCI data
Definition hd.h:1035
driver_info_display_t::width
unsigned width
Definition hd.h:1962
smbios_memdevice_t::asset
char * asset
asset tag
Definition hd.h:823
hd_data_t::flag_struct::nobioscrc
unsigned nobioscrc
internal: don't check VBIOS crc
Definition hd.h:2662
s_hd_t::vendor
hd_id_t vendor
Vendor id and name.
Definition hd.h:2254
isapnp_t::read_port
int read_port
Definition hd.h:1117
smbios_power_t::next
union u_hd_smbios_t * next
Definition hd.h:920
devtree_s::interrupt
int interrupt
Definition hd.h:1192
hddb_data_t::names_max
unsigned names_max
Definition hd.h:1520
driver_info_x11_t::c8
unsigned c8
Definition hd.h:2004
joystick_s::axes
unsigned char axes
Definition hd.h:1288
smbios_cache_t::socket
char * socket
socket designation
Definition hd.h:676
driver_info_u::x11
driver_info_x11_t x11
Definition hd.h:2051
memory_range_t::data
unsigned char * data
actual data
Definition hd.h:444
s_serial_t::device
char * device
Definition hd.h:1892
smbios_memerror_t::range
unsigned range
range, within which the error can be determined; 0x80000000: unknown
Definition hd.h:852
driver_info_u::module
driver_info_module_t module
Definition hd.h:2049
s_hd_t::is_s::manual
unsigned manual
undetectable, manually configured hardware
Definition hd.h:2478
cpu_info_t::cache
unsigned cache
Definition hd.h:1476
misc_t::proc_dma
str_list_t * proc_dma
Definition hd.h:1881
smbios_biosinfo_t::version
char * version
version (free form)
Definition hd.h:569
driver_info_u::dsl
driver_info_dsl_t dsl
Definition hd.h:2054
res_io_t::base
uint64_t base
Definition hd.h:1710
devtree_s::fru_number
char * fru_number
Definition hd.h:1188
s_pci_t::rom_base_addr
uint64_t rom_base_addr
memory base for card ROM
Definition hd.h:1049
isapnp_t::cards
int cards
Definition hd.h:1118
u_hd_smbios_t::lang
smbios_lang_t lang
Definition hd.h:967
driver_info_x11_t::next
union driver_info_u * next
Definition hd.h:1996
smbios_processor_t::serial
char * serial
serial number
Definition hd.h:650
vbe_info_t::modes
unsigned modes
number of supported video modes
Definition hd.h:499
smbios_memdevice_t::form
hd_id_t form
form factor
Definition hd.h:830
smbios_memerror_t::operation
hd_id_t operation
mem operation causing the error
Definition hd.h:848
cdrom_info_s::start
unsigned start
start sector
Definition hd.h:1312
smbios_cache_t::speed
unsigned speed
cache speed in nanoseconds
Definition hd.h:679
smbios_memarray_t::data_len
int data_len
Definition hd.h:798
smbios_memdevice_t::set
unsigned set
0: does not belong to a set; 1-0xfe: set number; 0xff: unknown
Definition hd.h:831
vbe_mode_info_s::win_A_start
unsigned win_A_start
window A start address
Definition hd.h:475
hd_status_t::configured
unsigned configured
Hardware config status.
Definition hd.h:336
s_hd_t::tag_s::skip_modem
unsigned skip_modem
if serial line, don't scan for modems
Definition hd.h:2517
driver_info_kbd_t::XkbLayout
char * XkbLayout
Definition hd.h:2039
driver_info_isdn_t::hddb0
str_list_t * hddb0
Definition hd.h:2017
memory_range_t::start
unsigned start
Definition hd.h:443
smbios_mem64error_t::range
unsigned range
range, within which the error can be determined; 0x80000000: unknown
Definition hd.h:948
smp_info_t::oem_id
char oem_id[9]
oem id
Definition hd.h:459
cdb_isdn_vendor::shortname
char * shortname
Definition hd.h:2879
res_link_t::state
unsigned state
network link state: 0 - not connected, 1 - connected
Definition hd.h:1800
cdb_isdn_vario::handle
int handle
idx in database
Definition hd.h:2905
smbios_connect_t::strings
str_list_t * strings
Definition hd.h:699
bios_info_t::apm_bios_flags
unsigned apm_bios_flags
Definition hd.h:1341
driver_info_display_t::hddb0
str_list_t * hddb0
Definition hd.h:1961
smbios_memerror_t::device_addr
unsigned device_addr
fault address rel to mem device; 0x80000000: unknown
Definition hd.h:851
smbios_power_t::data_len
int data_len
Definition hd.h:922
s_hd_t::next
struct s_hd_t * next
Link to next hardware item.
Definition hd.h:2202
scsi_s::pci_info
unsigned pci_info
Definition hd.h:1168
hd_data_t::flag_struct::dformat
unsigned dformat
Alternative output format.
Definition hd.h:2649
feature
@ feature
Definition isdn_cdb_def.h:25
hd_data
static hd_data_t * hd_data
Definition pppoe.c:30
bios32_info_t
Definition hd.h:519
bios_info_t
bios data (ix86)
Definition hd.h:1337
ccw_s
Device/CU model numbers for S/390.
Definition hd.h:1277
cdb_isdn_card
Definition hd.h:2884
cdb_isdn_vario
Definition hd.h:2904
cdb_isdn_vendor
vendor info
Definition hd.h:2877
cdrom_info_s
special CDROM entry
Definition hd.h:1294
cpq_ctlorder_t
Compaq Controller Order EV (CQHORD) definition.
Definition hd.h:510
cpu_info_t
special cpu entry
Definition hd.h:1471
devtree_s
PROM tree on PPC.
Definition hd.h:1181
driver_info_any_t
unspecific info
Definition hd.h:1951
driver_info_display_t
display (monitor) info
Definition hd.h:1958
driver_info_dsl_t
dsl info
Definition hd.h:2024
driver_info_isdn_t
isdn info
Definition hd.h:2014
driver_info_kbd_t
keyboard info
Definition hd.h:2033
driver_info_module_t
module info
Definition hd.h:1972
driver_info_mouse_t
mouse protocol info
Definition hd.h:1984
driver_info_x11_t
X11 server info.
Definition hd.h:1995
edd_info_t
enhanced disk data (cf.
Definition hd.h:1491
floppy_info_t
Floppy information note: obsolete, will be removed.
Definition hd.h:1329
hal_device_s
HAL device.
Definition hd.h:1629
hal_prop_s
HAL device properties.
Definition hd.h:1611
hd_bitmap_t
Bitmap data type.
Definition hd.h:419
hd_data_t::flag_struct
Special flags.
Definition hd.h:2647
hd_data_t
Holds all data accumulated during hardware probing.
Definition hd.h:2609
hd_detail_bios_t
Definition hd.h:2100
hd_detail_ccw_t
Definition hd.h:2136
hd_detail_cdrom_t
Definition hd.h:2090
hd_detail_cpu_t
Definition hd.h:2105
hd_detail_devtree_t
Definition hd.h:2131
hd_detail_floppy_t
Definition hd.h:2095
hd_detail_isapnp_t
Definition hd.h:2085
hd_detail_joystick_t
Definition hd.h:2141
hd_detail_monitor_s
Definition hd.h:2115
hd_detail_pci_t
Definition hd.h:2075
hd_detail_prom_t
Definition hd.h:2110
hd_detail_scsi_t
Definition hd.h:2126
hd_detail_sys_t
Definition hd.h:2121
hd_detail_usb_t
Definition hd.h:2080
hd_dev_num_t
device number; type is either 0 or 'b' or 'c'.
Definition hd.h:1011
hd_id_t
Holds ID + name pairs.
Definition hd.h:400
hd_manual_s
Manually configured hardware information.
Definition hd.h:2176
hd_status_t
Hardware status.
Definition hd.h:314
hddb2_data_t
Hardware DB (v2) data.
Definition hd.h:1542
hddb_data_t
Hardware DB (v1) data.
Definition hd.h:1517
hddb_list_s
Hardware DB list item.
Definition hd.h:1532
isapnp_card_t
ISA-PnP card information (raw).
Definition hd.h:1102
isapnp_dev_t
ISA-PnP device information struct.
Definition hd.h:1125
isapnp_res_t
ISA-PnP resource.
Definition hd.h:1093
isapnp_t
ISA-PnP collected card information struct.
Definition hd.h:1116
isdn_parm_s
ISDN configuration parameter Notes on isdn_parm_t:
Definition hd.h:1932
joystick_s
Joystick details.
Definition hd.h:1286
memory_range_t
for memory areas
Definition hd.h:442
misc_dma_t
Definition hd.h:1863
misc_io_t
Definition hd.h:1857
misc_irq_t
Definition hd.h:1869
misc_t
Definition hd.h:1876
modinfo_t
module.alias information
Definition hd.h:1560
monitor_info_t
monitor (DDC) data
Definition hd.h:1415
pmac_mb_def
PowerMac model matching.
Definition hd.h:1269
prom_info_t
prom data (ppc, sparc)
Definition hd.h:1392
res_any_t
Definition hd.h:1686
res_baud_t
Definition hd.h:1738
res_cache_t
Definition hd.h:1747
res_disk_geo_t
Definition hd.h:1753
res_dma_t
Definition hd.h:1724
res_fc_t
Definition hd.h:1814
res_framebuffer_t
Definition hd.h:1782
res_hwaddr_t
Definition hd.h:1791
res_init_strings_t
Definition hd.h:1769
res_io_t
Definition hd.h:1707
res_irq_t
Definition hd.h:1716
res_link_t
Definition hd.h:1797
res_mem_t
Definition hd.h:1691
res_monitor_t
Definition hd.h:1761
res_phys_mem_t
Definition hd.h:1701
res_pppd_option_t
Definition hd.h:1776
res_size_t
Definition hd.h:1731
res_wlan_t
wlan capabilities
Definition hd.h:1804
s_hd_t::is_s
Definition hd.h:2474
s_hd_t::tag_s
Definition hd.h:2512
s_hd_t
Individual hardware item.
Definition hd.h:2201
s_pci_t
structure holding the (raw) PCI data
Definition hd.h:1031
s_ser_device_t
Serial device configuration information.
Definition hd.h:1899
s_serial_t
Serial device resource and hardware information.
Definition hd.h:1889
s_str_list_t
String list type.
Definition hd.h:410
s_sysfsdrv_t
sysfs driver info
Definition hd.h:998
s_udevinfo_t
udev database info
Definition hd.h:987
scsi_s
raw SCSI data
Definition hd.h:1144
smbios_any_t
common part of all smbios_* types
Definition hd.h:550
smbios_biosinfo_t
BIOS related information.
Definition hd.h:561
smbios_boardinfo_t
motherboard related information
Definition hd.h:595
smbios_cache_t
cache information
Definition hd.h:669
smbios_chassis_t
chassis information
Definition hd.h:617
smbios_config_t
system config options
Definition hd.h:757
smbios_connect_t
port connector information
Definition hd.h:694
smbios_group_t
group associations
Definition hd.h:781
smbios_lang_t
language information
Definition hd.h:769
smbios_mem64error_t
64-bit memory error information
Definition hd.h:935
smbios_memarray_t
physical memory array (consists of several memory devices)
Definition hd.h:795
smbios_memarraymap_t
memory array mapped address
Definition hd.h:857
smbios_memdevice_t
memory device
Definition hd.h:812
smbios_memdevicemap_t
memory device mapped address
Definition hd.h:872
smbios_memerror_t
32-bit memory error information
Definition hd.h:839
smbios_mouse_t
pointing device (aka 'mouse') information
Definition hd.h:890
smbios_oem_t
OEM information.
Definition hd.h:745
smbios_onboard_t
on board devices information
Definition hd.h:728
smbios_power_t
system power controls
Definition hd.h:919
smbios_processor_t
processor information
Definition hd.h:639
smbios_secure_t
hardware security
Definition hd.h:904
smbios_slot_t
system slot information
Definition hd.h:710
smbios_sysinfo_t
overall system related information
Definition hd.h:578
smp_info_t
smp info according to Intel smp spec (ia32)
Definition hd.h:451
sys_info_t
general system data
Definition hd.h:1401
usb_s
raw USB data
Definition hd.h:1072
vbe_info_t
VESA BIOS extensions information Also includes a VESA mode list.
Definition hd.h:489
vbe_mode_info_s
VESA BIOS mode information item.
Definition hd.h:468
driver_info_u
Definition hd.h:2046
hd_detail_t
Definition hd.h:2146
u_hd_res_t
libhd resource union
Definition hd.h:1827
u_hd_smbios_t
SMBIOS list item.
Definition hd.h:953