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