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 21
23 #define HD_MINOR_VERSION 38
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 {
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 {
1449  arch_aarch64
1451 
1455 typedef enum boot_arch {
1460 
1461 
1470 typedef struct {
1471  enum cpu_arch architecture;
1472  unsigned family;
1473  unsigned model;
1474  unsigned stepping;
1475  unsigned cache;
1476  unsigned clock;
1477  unsigned units;
1478  char *vend_name;
1479  char *model_name;
1480  char *platform;
1482  double bogo;
1483 } cpu_info_t;
1484 
1485 
1490 typedef struct {
1491  uint64_t sectors;
1492  struct {
1493  unsigned cyls, heads, sectors;
1494  } edd;
1495  struct {
1496  unsigned cyls, heads, sectors;
1497  } legacy;
1498  unsigned ext_fixed_disk:1;
1499  unsigned ext_lock_eject:1;
1500  unsigned ext_edd:1;
1501  unsigned ext_64bit:1;
1502  unsigned assigned:1;
1503  unsigned valid:1;
1504  unsigned ext_fibre:1;
1505  unsigned ext_net:1;
1506  char *sysfs_id;
1507  unsigned hd_idx;
1508  unsigned signature;
1509 } edd_info_t;
1510 
1516 typedef struct {
1517  unsigned data_len, data_max;
1518  unsigned *data;
1519  unsigned names_len, names_max;
1520  char *names;
1521 } hddb_data_t;
1522 
1526 typedef uint32_t hddb_entry_mask_t;
1527 
1531 typedef struct hddb_list_s {
1534  unsigned key;
1535  unsigned value;
1537 
1541 typedef struct {
1542  unsigned list_len, list_max;
1544  unsigned ids_len, ids_max;
1545  unsigned *ids;
1546  unsigned strings_len, strings_max;
1547  char *strings;
1548 } hddb2_data_t;
1549 
1550 
1555 
1559 typedef struct {
1560  char *module;
1561  char *alias;
1563  union {
1564  struct {
1565  struct {
1566  unsigned vendor:1;
1567  unsigned device:1;
1568  unsigned sub_vendor:1;
1569  unsigned sub_device:1;
1570  unsigned base_class:1;
1571  unsigned sub_class:1;
1572  unsigned prog_if:1;
1573  } has;
1574  unsigned vendor;
1575  unsigned device;
1576  unsigned sub_vendor;
1577  unsigned sub_device;
1578  unsigned base_class;
1579  unsigned sub_class;
1580  unsigned prog_if;
1581  } pci;
1582 
1583  struct {
1584  struct {
1585  unsigned vendor:1;
1586  unsigned product:1;
1587  unsigned device_class:1;
1588  unsigned device_subclass:1;
1589  } has;
1590  unsigned vendor;
1591  unsigned product;
1592  unsigned device_class;
1594  } usb;
1595  };
1596 } modinfo_t;
1597 
1598 
1602 typedef enum {
1605 
1606 
1610 typedef struct hal_prop_s {
1611  struct hal_prop_s *next;
1613  char *key;
1614  union {
1615  char *str;
1616  int32_t int32;
1617  uint64_t uint64;
1618  double d;
1619  int b;
1621  } val;
1623 
1624 
1628 typedef struct hal_device_s {
1629  struct hal_device_s *next, *parent;
1630  char *udi;
1631  unsigned used:1;
1634 
1638 typedef enum resource_types {
1643 
1644 
1648 typedef enum size_units {
1652 
1656 typedef enum access_flags {
1660  acc_rw
1662 
1663 
1664 typedef enum yes_no_flag {
1667  flag_yes
1669 
1670 
1671 typedef enum geo_types {
1677 
1678 
1685 typedef struct {
1687  enum resource_types type;
1688 } res_any_t;
1689 
1690 typedef struct {
1692  enum resource_types type;
1693  uint64_t base, range;
1694  unsigned
1698 } res_mem_t;
1699 
1700 typedef struct {
1702  enum resource_types type;
1703  uint64_t range;
1704 } res_phys_mem_t;
1705 
1706 typedef struct {
1708  enum resource_types type;
1709  uint64_t base, range;
1710  unsigned
1713 } res_io_t;
1714 
1715 typedef struct {
1717  enum resource_types type;
1718  unsigned base;
1719  unsigned triggered;
1720  unsigned enabled:1;
1721 } res_irq_t;
1722 
1723 typedef struct {
1725  enum resource_types type;
1726  unsigned base;
1727  unsigned enabled:1;
1728 } res_dma_t;
1729 
1730 typedef struct {
1732  enum resource_types type;
1733  enum size_units unit;
1734  uint64_t val1, val2;
1735 } res_size_t;
1736 
1737 typedef struct {
1739  enum resource_types type;
1740  unsigned speed;
1741  unsigned bits, stopbits;
1742  char parity;
1743  char handshake;
1744 } res_baud_t;
1745 
1746 typedef struct {
1748  enum resource_types type;
1749  unsigned size;
1750 } res_cache_t;
1751 
1752 typedef struct {
1754  enum resource_types type;
1755  unsigned cyls, heads, sectors;
1756  uint64_t size;
1757  enum geo_types geotype;
1758 } res_disk_geo_t;
1759 
1760 typedef struct {
1762  enum resource_types type;
1763  unsigned width, height;
1764  unsigned vfreq;
1765  unsigned interlaced:1;
1766 } res_monitor_t;
1767 
1768 typedef struct {
1770  enum resource_types type;
1771  char *init1;
1772  char *init2;
1774 
1775 typedef struct {
1777  enum resource_types type;
1778  char *option;
1780 
1781 typedef struct {
1783  enum resource_types type;
1784  unsigned width, height;
1785  unsigned bytes_p_line;
1786  unsigned colorbits;
1787  unsigned mode;
1789 
1790 typedef struct {
1792  enum resource_types type;
1793  char *addr;
1794 } res_hwaddr_t;
1795 
1796 typedef struct {
1798  enum resource_types type;
1799  unsigned state:1;
1800 } res_link_t;
1801 
1803 typedef struct {
1805  enum resource_types type;
1811 } res_wlan_t;
1812 
1813 typedef struct {
1815  enum resource_types type;
1816  unsigned wwpn_ok:1;
1817  unsigned fcp_lun_ok:1;
1818  unsigned port_id_ok:1;
1819  uint64_t wwpn;
1820  uint64_t fcp_lun;
1821  unsigned port_id;
1823 } res_fc_t;
1824 
1826 typedef union u_hd_res_t {
1827  union u_hd_res_t *next;
1847 
1856 typedef struct {
1857  uint64_t addr, size;
1858  char *dev;
1859  unsigned tag;
1860 } misc_io_t;
1861 
1862 typedef struct {
1863  unsigned channel;
1864  char *dev;
1865  unsigned tag;
1866 } misc_dma_t;
1867 
1868 typedef struct {
1869  unsigned irq, events;
1870  int devs;
1871  char **dev;
1872  unsigned tag;
1873 } misc_irq_t;
1874 
1875 typedef struct {
1876  unsigned io_len, dma_len, irq_len;
1880  str_list_t *proc_io, *proc_dma, *proc_irq;
1881 } misc_t;
1882 
1888 typedef struct s_serial_t {
1889  struct s_serial_t *next;
1890  char *name;
1891  char *device;
1892  unsigned line, port, irq, baud;
1894 
1898 typedef struct s_ser_device_t {
1900  unsigned hd_idx;
1901  char *dev_name;
1903  int fd;
1904  struct termios tio;
1905  unsigned max_baud, cur_baud;
1906  unsigned is_mouse:1;
1907  unsigned is_modem:1;
1908  unsigned do_io:1;
1909  unsigned char buf[0x1000];
1910  int buf_len;
1911  int garbage, non_pnp, pnp;
1912  unsigned char pnp_id[8];
1913  char *serial, *class_name, *dev_id, *user_name, *vend, *init_string1, *init_string2, *pppd_option;
1914  unsigned pnp_rev;
1915  unsigned bits;
1917 
1931 typedef struct isdn_parm_s {
1933  char *name;
1934  unsigned valid:1;
1935  unsigned conflict:1;
1936  uint64_t value;
1937  unsigned type;
1938  unsigned flags;
1939  unsigned def_value;
1941  unsigned *alt_value;
1943 
1945 typedef enum driver_info_type {
1948 
1950 typedef struct {
1952  enum driver_info_type type;
1953  str_list_t *hddb0, *hddb1;
1955 
1957 typedef struct {
1959  enum driver_info_type type;
1960  str_list_t *hddb0, *hddb1;
1961  unsigned width, height;
1962  unsigned min_vsync, max_vsync;
1963  unsigned min_hsync, max_hsync;
1964  unsigned bandwidth;
1965  unsigned hdisp, hsyncstart, hsyncend, htotal;
1966  unsigned vdisp, vsyncstart, vsyncend, vtotal;
1967  char hflag,vflag;
1969 
1971 typedef struct {
1973  enum driver_info_type type;
1974  str_list_t *hddb0, *hddb1;
1975  unsigned active:1;
1976  unsigned modprobe:1;
1979  char *conf;
1981 
1983 typedef struct {
1985  enum driver_info_type type;
1986  str_list_t *hddb0, *hddb1;
1987  char *xf86;
1988  char *gpm;
1989  int buttons;
1990  int wheels;
1992 
1994 typedef struct {
1996  enum driver_info_type type;
1997  str_list_t *hddb0, *hddb1;
1998  char *server;
1999  char *xf86_ver;
2000  unsigned x3d:1;
2001  struct {
2002  unsigned all:5;
2003  unsigned c8:1, c15:1, c16:1, c24:1, c32:1;
2004  } colors;
2005  unsigned dacspeed;
2009  char *script;
2011 
2013 typedef struct {
2015  enum driver_info_type type;
2016  str_list_t *hddb0, *hddb1;
2017  int i4l_type, i4l_subtype;
2018  char *i4l_name;
2021 
2023 typedef struct {
2025  enum driver_info_type type;
2026  str_list_t *hddb0, *hddb1;
2027  char *mode;
2028  char *name;
2030 
2032 typedef struct {
2034  enum driver_info_type type;
2035  str_list_t *hddb0, *hddb1;
2036  char *XkbRules;
2037  char *XkbModel;
2038  char *XkbLayout;
2039  char *keymap;
2041 
2042 /*
2043  * holds device driver info
2044  */
2045 typedef union driver_info_u {
2056 
2067 typedef enum hd_detail_type {
2073 
2074 typedef struct {
2075  enum hd_detail_type type;
2077 } hd_detail_pci_t;
2078 
2079 typedef struct {
2080  enum hd_detail_type type;
2082 } hd_detail_usb_t;
2083 
2084 typedef struct {
2085  enum hd_detail_type type;
2088 
2089 typedef struct {
2090  enum hd_detail_type type;
2093 
2094 typedef struct {
2095  enum hd_detail_type type;
2098 
2099 typedef struct {
2100  enum hd_detail_type type;
2103 
2104 typedef struct {
2105  enum hd_detail_type type;
2107 } hd_detail_cpu_t;
2108 
2109 typedef struct {
2110  enum hd_detail_type type;
2113 
2114 typedef struct hd_detail_monitor_s {
2115  enum hd_detail_type type;
2119 
2120 typedef struct {
2121  enum hd_detail_type type;
2123 } hd_detail_sys_t;
2124 
2125 typedef struct {
2126  enum hd_detail_type type;
2129 
2130 typedef struct {
2131  enum hd_detail_type type;
2134 
2135 typedef struct {
2136  enum hd_detail_type type;
2138 } hd_detail_ccw_t;
2139 
2140 typedef struct {
2141  enum hd_detail_type type;
2144 
2145 typedef union {
2146  enum hd_detail_type type;
2161 } hd_detail_t;
2162 
2175 typedef struct hd_manual_s {
2177 
2178  char *unique_id;
2179  char *parent_id;
2180  char *child_ids;
2181  unsigned hw_class;
2182  char *model;
2183 
2186 
2187  /* More or less free-form key, value pairs.
2188  * key should not contain '=', however.
2189  */
2193 
2194 
2200 typedef struct s_hd_t {
2201  struct s_hd_t *next;
2207  unsigned idx;
2208 
2214  unsigned broken:1;
2215 
2220 
2225  unsigned slot;
2226 
2230  unsigned func;
2231 
2236 
2241 
2246 
2254 
2264 
2272 
2280 
2287 
2291  char *serial;
2292 
2298 
2304 
2310 
2315  unsigned char hw_class_list[(hw_all + 7) / 8];
2323  char *model;
2324 
2330  unsigned attached_to;
2331 
2335  char *sysfs_id;
2336 
2341 
2346 
2353 
2358 
2366 
2374 
2379 
2386  char *rom_id;
2387 
2391  char *udi;
2392 
2396  char *parent_udi;
2397 
2408  char *unique_id;
2409 
2412 
2416  unsigned module;
2417 
2421  unsigned line;
2422 
2426  unsigned count;
2427 
2432 
2438 
2445 
2452 
2460 
2466 
2471  unsigned hotplug_slot;
2472 
2473  struct is_s {
2474  unsigned agp:1;
2475  unsigned isapnp:1;
2476  unsigned notready:1;
2477  unsigned manual:1;
2478  unsigned softraiddisk:1;
2479  unsigned zip:1;
2480  unsigned cdr:1;
2481  unsigned cdrw:1;
2482  unsigned dvd:1;
2483  unsigned dvdr:1;
2484  unsigned dvdrw:1;
2485  unsigned dvdrdl:1;
2486  unsigned dvdpr:1;
2487  unsigned dvdprw:1;
2488  unsigned dvdprdl:1;
2489  unsigned dvdprwdl:1;
2490  unsigned bd:1;
2491  unsigned bdr:1;
2492  unsigned bdre:1;
2493  unsigned hd:1;
2494  unsigned hdr:1;
2495  unsigned hdrw:1;
2496  unsigned dvdram:1;
2497  unsigned mo:1;
2498  unsigned mrw:1;
2499  unsigned mrww:1;
2500  unsigned pppoe:1;
2501  unsigned wlan:1;
2502  unsigned with_acpi:1;
2503  unsigned hotpluggable:1;
2504  unsigned dualport:1;
2505  unsigned fcoe:1;
2506  unsigned fcoe_offload:2;
2507  unsigned iscsi_offload:2;
2508  unsigned storage_only:2;
2509  } is;
2510 
2511  struct tag_s {
2512  unsigned remove:1;
2513  unsigned freeit:1;
2514  unsigned fixed:1;
2515  unsigned skip_mouse:1;
2516  unsigned skip_modem:1;
2517  unsigned skip_braille:1;
2518  unsigned ser_device:2;
2519  } tag;
2520 
2526  unsigned char *block0;
2527 
2531  char *driver;
2532 
2537 
2542 
2547 
2556 
2562  char *parent_id;
2563 
2570 
2575  char *unique_id1;
2576 
2583  char *usb_guid;
2584 
2593  char *modalias;
2594  char *label;
2596  /*
2597  * These are used internally for memory management.
2598  * Do not even _think_ of modifying these!
2599  */
2600  unsigned ref_cnt;
2601  struct s_hd_t *ref;
2603 
2604 
2608 typedef struct {
2615 
2624  void (*progress)(char *pos, char *msg);
2625 
2630  char *log;
2631 
2639  unsigned debug;
2640 
2646  struct flag_struct {
2647  unsigned internal:1;
2648  unsigned dformat:2;
2649  unsigned no_parport:1;
2650  unsigned iseries:1;
2651  unsigned list_all:1;
2652  unsigned fast:1;
2653  unsigned list_md:1;
2654  unsigned nofork:1;
2655  unsigned nosysfs:1;
2656  unsigned forked:1;
2657  unsigned cpuemu:1;
2658  unsigned udev:1;
2659  unsigned edd_used:1;
2660  unsigned keep_kmods:2;
2661  unsigned nobioscrc:1;
2662  unsigned biosvram:1;
2663  unsigned nowpa:1;
2664  unsigned pata:1;
2665  unsigned vbox:1;
2666  unsigned vmware:1;
2667  unsigned vmware_mouse:1;
2668  } flags;
2669 
2670 
2676 
2677  /*
2678  * The following entries should *not* be accessed outside of libhd!
2679  */
2680  unsigned char probe[(pr_all + 7) / 8];
2681  unsigned char probe_set[(pr_all + 7) / 8];
2682  unsigned char probe_clr[(pr_all + 7) / 8];
2684  unsigned last_idx;
2685  unsigned module;
2686  enum boot_arch boot;
2704  hddb2_data_t *hddb2[2];
2706  uint64_t used_irqs;
2707  uint64_t assigned_irqs;
2711  unsigned display;
2712  unsigned color_code;
2713  char *cmd_line;
2716  unsigned kernel_version;
2722  struct {
2723  unsigned ok:1;
2724  unsigned size;
2725  unsigned used;
2726  void *data;
2727  int id;
2728  int updated;
2729  } shm;
2730  unsigned pci_config_type;
2733  uint64_t sysfsdrv_id;
2735  edd_info_t edd[0x80];
2738  struct vm_s *vm;
2739  size_t log_size;
2740  size_t log_max;
2742 } hd_data_t;
2743 
2744 
2745 /* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2746  *
2747  * libhd interface functions
2748  *
2749  * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2750  */
2751 
2752 /* implemented in hd.c */
2753 
2755 void hd_scan(hd_data_t *hd_data);
2756 
2759 
2761 hd_t *hd_free_hd_list(hd_t *hd);
2762 
2767 
2768 enum probe_feature hd_probe_feature_by_name(char *name);
2770 
2771 int hd_module_is_active(hd_data_t *hd_data, char *mod);
2772 
2773 hd_t *hd_base_class_list(hd_data_t *hd_data, unsigned base_class);
2774 hd_t *hd_sub_class_list(hd_data_t *hd_data, unsigned base_class, unsigned sub_class);
2775 hd_t *hd_bus_list(hd_data_t *hd_data, unsigned bus);
2776 const char* hd_busid_to_hwcfg(int busid);
2777 hd_t *hd_list(hd_data_t *hd_data, hd_hw_item_t item, int rescan, hd_t *hd_old);
2779 hd_t *hd_list2(hd_data_t *hd_data, hd_hw_item_t *items, int rescan);
2781 
2783 
2785 #if 0
2791 #endif
2795 int hd_color(hd_data_t *hd_data);
2799 unsigned hd_boot_disk(hd_data_t *hd_data, int *matches);
2802 
2803 hd_t *hd_get_device_by_idx(hd_data_t *hd_data, unsigned idx);
2804 
2805 void hd_set_hw_class(hd_t *hd, hd_hw_item_t hw_class);
2806 int hd_is_hw_class(hd_t *hd, hd_hw_item_t hw_class);
2807 
2809 
2810 char *hd_version(void);
2811 
2813 hal_prop_t *hd_read_properties(const char *udi);
2814 int hd_write_properties(const char *udi, hal_prop_t *prop);
2815 
2816 int hd_change_status(const char *id, hd_status_t status, const char *config_string);
2817 int hd_change_config_status(hd_data_t *hd_data, const char *id, hd_status_t status, const char *config_string);
2818 int hd_read_mmap(hd_data_t *hd_data, char *name, unsigned char *buf, off_t start, unsigned size);
2819 
2820 /* implemented in hddb.c */
2821 
2826 void hddb_add_info(hd_data_t *hd_data, hd_t *hd);
2827 
2828 void hddb_dump_raw(hddb2_data_t *hddb, FILE *f);
2829 void hddb_dump(hddb2_data_t *hddb, FILE *f);
2830 
2831 
2832 /* implemented in hdp.c */
2833 void hd_dump_entry(hd_data_t *hd_data, hd_t *hd, FILE *f);
2834 
2835 /* implemented in cdrom.c */
2837 
2848 hd_t *hd_read_config(hd_data_t *hd_data, const char *id);
2850 char *hd_hw_item_name(hd_hw_item_t item);
2851 hd_hw_item_t hd_hw_item_type(char *name);
2853 
2864 #define CDBISDN_VERSION 0x0101
2865 
2866 #ifndef PCI_ANY_ID
2867 #define PCI_ANY_ID 0xffff
2868 #endif
2869 
2870 #define CDBISDN_P_NONE 0x0
2871 #define CDBISDN_P_IRQ 0x1
2872 #define CDBISDN_P_MEM 0x2
2873 #define CDBISDN_P_IO 0x3
2874 
2876 typedef struct {
2877  char *name;
2878  char *shortname;
2879  int vnr;
2880  int refcnt;
2881 } cdb_isdn_vendor;
2882 
2883 typedef struct {
2884  int handle;
2885  int vhandle;
2886  char *name;
2887  char *lname;
2888  char *Class;
2889  char *bus;
2890  int revision;
2891  int vendor;
2892  int device;
2897  unsigned int features;
2898  int line_cnt;
2900  int vario;
2901 } cdb_isdn_card;
2902 
2903 typedef struct {
2904  int handle;
2906  int drvid;
2907  int typ;
2908  int subtyp;
2909  int smp;
2910  char *mod_name;
2911  char *para_str;
2912  char *mod_preload;
2913  char *cfg_prog;
2914  char *firmware;
2915  char *description;
2916  char *need_pkg;
2917  char *info;
2918  char *protocol;
2919  char *interface;
2920  char *io;
2921  char *irq;
2922  char *membase;
2923  char *features;
2924  int card_ref;
2925  char *name;
2926 } cdb_isdn_vario;
2927 
2928 
2930 extern cdb_isdn_card *hd_cdbisdn_get_card(int);
2933 extern cdb_isdn_card *hd_cdbisdn_get_card_from_id(int, int, int, int);
2935 extern int hd_cdbisdn_get_version(void);
2936 extern int hd_cdbisdn_get_db_version(void);
2937 extern char *hd_cdbisdn_get_db_date(void);
2938 
2944 #ifdef __cplusplus
2945 }
2946 #endif
2947 
2950 #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_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:1945
@ di_mouse
Definition: hd.h:1946
@ di_module
Definition: hd.h:1946
@ di_isdn
Definition: hd.h:1946
@ di_display
Definition: hd.h:1946
@ di_kbd
Definition: hd.h:1946
@ di_any
Definition: hd.h:1946
@ di_dsl
Definition: hd.h:1946
@ di_x11
Definition: hd.h:1946
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:2067
@ 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:2068
@ hd_detail_usb
Definition: hd.h:2068
@ hd_detail_floppy
Definition: hd.h:2069
@ hd_detail_sys
Definition: hd.h:2070
@ hd_detail_bios
Definition: hd.h:2069
@ hd_detail_devtree
Definition: hd.h:2070
@ hd_detail_monitor
Definition: hd.h:2070
@ hd_detail_isapnp
Definition: hd.h:2068
@ hd_detail_scsi
Definition: hd.h:2070
@ hd_detail_ccw
Definition: hd.h:2071
@ hd_detail_joystick
Definition: hd.h:2071
@ hd_detail_cpu
Definition: hd.h:2069
@ hd_detail_cdrom
Definition: hd.h:2068
@ hd_detail_prom
Definition: hd.h:2069
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:1509
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:587
enum cpu_arch hd_cpu_arch(hd_data_t *hd_data)
Definition: hd.c:3028
hd_t * hd_list_with_status(hd_data_t *hd_data, hd_hw_item_t item, hd_status_t status)
Definition: hd.c:3281
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:3467
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:4989
enum probe_feature hd_probe_feature_by_name(char *name)
Definition: hd.c:2684
void hd_clear_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:556
void hddb_dump(hddb2_data_t *hddb, FILE *f)
Definition: hddb.c:1285
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:1847
enum probe_feature hd_probe_feature_t
flags to control the probing.
int hd_has_pcmcia(hd_data_t *hd_data)
Definition: hd.c:2824
hd_t * hd_list2(hd_data_t *hd_data, hd_hw_item_t *items, int rescan)
Definition: hd.c:3331
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:1251
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:579
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:1196
int hd_usb_support(hd_data_t *hd_data)
Definition: hd.c:2856
yes_no_flag
Definition: hd.h:1664
int hd_mac_color(hd_data_t *hd_data)
Definition: hd.c:2960
int hd_change_config_status(hd_data_t *hd_data, const char *id, hd_status_t status, const char *config_string)
Definition: hd.c:4961
enum boot_arch hd_boot_arch(hd_data_t *hd_data)
Definition: hd.c:3090
char * hd_version(void)
Definition: hd.c:5695
struct s_udevinfo_t hd_udevinfo_t
udev database info
uint32_t hddb_entry_mask_t
Hardware DB item entry mask.
Definition: hd.h:1526
int hd_is_uml(hd_data_t *hd_data)
Definition: hd.c:3096
int hd_is_hw_class(hd_t *hd, hd_hw_item_t hw_class)
Definition: hd.c:5257
int hd_is_sgi_altix(hd_data_t *hd_data)
Definition: hd.c:3139
size_units
size units (cf.
Definition: hd.h:1648
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:5244
modinfo_type_e
module information type
Definition: hd.h:1554
boot_arch
Definition: hd.h:1455
const char * hd_busid_to_hwcfg(int busid)
Definition: hd.c:3482
hd_data_t * hd_free_hd_data(hd_data_t *hd_data)
Free all data.
Definition: hd.c:970
hal_prop_t * hd_free_hal_properties(hal_prop_t *prop)
Definition: hd.c:1069
enum geo_types hd_geo_types_t
hd_t * hd_base_class_list(hd_data_t *hd_data, unsigned base_class)
Definition: hd.c:3430
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:1656
hal_prop_type_t
HAL device property types.
Definition: hd.h:1602
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:1801
probe_feature
flags to control the probing.
Definition: hd.h:112
geo_types
Definition: hd.h:1671
enum yes_no_flag hd_yes_no_flag_t
unsigned hd_boot_disk(hd_data_t *hd_data, int *matches)
Definition: hd.c:3697
hd_t * hd_sub_class_list(hd_data_t *hd_data, unsigned base_class, unsigned sub_class)
Definition: hd.c:3453
int hd_module_is_active(hd_data_t *hd_data, char *mod)
Definition: hd.c:2751
hd_t * hd_list_with_status2(hd_data_t *hd_data, hd_hw_item_t *items, hd_status_t status)
Definition: hd.c:3399
int hd_color(hd_data_t *hd_data)
Definition: hd.c:2936
unsigned hd_display_adapter(hd_data_t *hd_data)
Definition: hd.c:2966
char * hd_probe_feature_by_value(enum probe_feature feature)
Definition: hd.c:2698
enum modinfo_type_e modinfo_type_t
module information type
resource_types
resource types: see Resource structures
Definition: hd.h:1638
void hd_add_driver_data(hd_data_t *hd_data, hd_t *hd)
Definition: int.c:1326
int hd_smp_support(hd_data_t *hd_data)
Definition: hd.c:2874
hd_t * hd_get_device_by_idx(hd_data_t *hd_data, unsigned idx)
Definition: hd.c:2291
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:3220
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:1796
int hd_read_mmap(hd_data_t *hd_data, char *name, unsigned char *buf, off_t start, unsigned size)
Definition: hd.c:5872
int hd_is_xen(hd_data_t *hd_data)
Definition: hd.c:3152
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:528
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_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:1667
@ flag_no
no
Definition: hd.h:1666
@ flag_unknown
unknown
Definition: hd.h:1665
@ size_unit_kbyte
Definition: hd.h:1650
@ size_unit_gbyte
Definition: hd.h:1650
@ size_unit_mbyte
Definition: hd.h:1650
@ size_unit_mm
Definition: hd.h:1650
@ size_unit_cinch
Definition: hd.h:1649
@ size_unit_cm
Definition: hd.h:1649
@ size_unit_sectors
Definition: hd.h:1649
@ size_unit_byte
Definition: hd.h:1649
@ mi_pci
Definition: hd.h:1554
@ mi_none
Definition: hd.h:1554
@ mi_other
Definition: hd.h:1554
@ boot_milo
Definition: hd.h:1457
@ boot_elilo
Definition: hd.h:1457
@ boot_grub
Definition: hd.h:1458
@ boot_aboot
Definition: hd.h:1457
@ boot_unknown
Definition: hd.h:1456
@ boot_silo
Definition: hd.h:1457
@ boot_ppc
Definition: hd.h:1457
@ boot_uboot
Definition: hd.h:1458
@ boot_mips
Definition: hd.h:1458
@ boot_lilo
Definition: hd.h:1457
@ boot_s390
Definition: hd.h:1457
@ acc_rw
read/write
Definition: hd.h:1660
@ acc_unknown
unknown
Definition: hd.h:1657
@ acc_wo
write only
Definition: hd.h:1659
@ acc_ro
read only
Definition: hd.h:1658
@ p_list
Definition: hd.h:1603
@ p_int32
Definition: hd.h:1603
@ p_string
Definition: hd.h:1603
@ p_uint64
Definition: hd.h:1603
@ p_invalid
Definition: hd.h:1603
@ p_bool
Definition: hd.h:1603
@ p_double
Definition: hd.h:1603
@ 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:1675
@ geo_bios_edd
Definition: hd.h:1674
@ geo_logical
Definition: hd.h:1673
@ geo_physical
Definition: hd.h:1672
@ res_phys_mem
Definition: hd.h:1639
@ res_any
Definition: hd.h:1639
@ res_size
Definition: hd.h:1640
@ res_cache
Definition: hd.h:1640
@ res_dma
Definition: hd.h:1639
@ res_monitor
Definition: hd.h:1639
@ res_hwaddr
Definition: hd.h:1641
@ res_wlan
Definition: hd.h:1641
@ res_disk_geo
Definition: hd.h:1640
@ res_mem
Definition: hd.h:1639
@ res_init_strings
Definition: hd.h:1640
@ res_baud
Definition: hd.h:1640
@ res_irq
Definition: hd.h:1639
@ res_framebuffer
Definition: hd.h:1641
@ res_pppd_option
Definition: hd.h:1640
@ res_io
Definition: hd.h:1639
@ res_phwaddr
Definition: hd.h:1641
@ res_fc
Definition: hd.h:1641
@ res_link
Definition: hd.h:1641
@ 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:2836
void progress(hd_data_t *hd_data, unsigned pos, unsigned count, char *msg)
Definition: hd.c:2653
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:1473
int handle
Definition: hd.h:734
char * xf86_ver
XFree86 version (3 or 4)
Definition: hd.h:1999
hd_t * manual
(Internal) hardware config info
Definition: hd.h:2717
char * irq
possible interrupts with legacy ISA cards
Definition: hd.h:2921
char * name
Definition: hd.h:990
char * desig
slot designation
Definition: hd.h:717
uint64_t addr
Definition: hd.h:1857
unsigned current_mode
current video mode
Definition: hd.h:501
driver_info_any_t any
Definition: hd.h:2047
int data_len
Definition: hd.h:564
int alt_values
length of alt_value[]
Definition: hd.h:1940
union u_hd_smbios_t * next
Definition: hd.h:746
char * serial
Serial id.
Definition: hd.h:2291
str_list_t * strings
Definition: hd.h:566
unsigned remove
< this struct is for internal purposes only
Definition: hd.h:2512
int data_len
Definition: hd.h:907
unsigned def_value
default value
Definition: hd.h:1939
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:1791
misc_dma_t * dma
Definition: hd.h:1878
unsigned * ids
Definition: hd.h:1545
str_list_t * options
system config options
Definition: hd.h:764
unsigned dvdprw
DVD+RW.
Definition: hd.h:2487
unsigned nosysfs
don't ask sysfs
Definition: hd.h:2655
void * data
Definition: hd.h:2726
unsigned tag
Definition: hd.h:1872
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:2181
char * product
product name
Definition: hd.h:603
struct s_hd_t * ref
(Internal) if set, this is only a reference.
Definition: hd.h:2601
monitor_info_t * data
Definition: hd.h:2116
res_io_t io
Definition: hd.h:1829
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:2465
unsigned ser_port0
Definition: hd.h:1346
unsigned bytes_p_line
line length in bytes (do not confuse with 'width')
Definition: hd.h:1785
hd_id_t upgrade
socket type
Definition: hd.h:647
str_list_t * extra_info
(Internal) Unspecific text info.
Definition: hd.h:2444
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:1503
unsigned reconfig
Hardware should be reconfigured.
Definition: hd.h:329
char * init2
Definition: hd.h:1772
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:1967
unsigned wlan
WLAN card.
Definition: hd.h:2501
unsigned prog_if
Definition: hd.h:1580
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:2240
smbios_chassis_t chassis
Definition: hd.h:959
hd_smbios_type_t type
Definition: hd.h:841
unsigned wwpn_ok
Definition: hd.h:1816
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:2396
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:2665
uint64_t cpu_id
processor id
Definition: hd.h:655
unsigned ext_64bit
Definition: hd.h:1501
unsigned mode
mode number for kernel
Definition: hd.h:1787
unsigned colorbits
4, 8, 15, 16, 24, 32
Definition: hd.h:1786
hd_udevinfo_t * udevinfo
(Internal) udev info
Definition: hd.h:2731
unsigned access
enum access_flags
Definition: hd.h:1712
memory_range_t bios_ram
(Internal) BIOS 0x00400 - 0x004ff
Definition: hd.h:2709
str_list_t * frequencies
in GHz units
Definition: hd.h:1807
uint64_t base
Definition: hd.h:1693
unsigned cdrw
CD-RW.
Definition: hd.h:2481
unsigned iscsi_offload
iscsi offload capable device
Definition: hd.h:2507
pci_t * data
Definition: hd.h:2076
unsigned char buttons
Definition: hd.h:1287
double bogo
bogo mips
Definition: hd.h:1482
union driver_info_u * next
Definition: hd.h:2033
struct s_serial_t * next
Definition: hd.h:1889
char * unique_id
Definition: hd.h:2178
str_list_t * t
Definition: hd.h:1076
int vendor
Vendor ID for ISAPNP and PCI cards.
Definition: hd.h:2891
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:2459
char * part
part number
Definition: hd.h:824
unsigned freeit
for internal memory management
Definition: hd.h:2513
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:1961
str_list_t * p
Definition: hd.h:1076
hal_prop_t * prop
Definition: hd.h:1632
int refcnt
Definition: hd.h:2880
unsigned flags
cf.
Definition: hd.h:1128
union u_hd_res_t * next
Definition: hd.h:1782
unsigned ref
internally used flag
Definition: hd.h:1129
str_list_t * hddb0
Definition: hd.h:1986
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:1630
unsigned debug
Debug flags.
Definition: hd.h:2639
char * firmware
optional firmware to load
Definition: hd.h:2914
unsigned pgeo_s
Definition: hd.h:1162
unsigned no_parport
Don't do parport probing: parport modules (used to) crash pmacs.
Definition: hd.h:2649
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:2018
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:1819
union u_hd_res_t * next
Definition: hd.h:1707
int parent
Definition: hd.h:1078
hal_device_t * hal
(Internal) HAL data (if any)
Definition: hd.h:2736
unsigned state
0/1: disabled/enabled
Definition: hd.h:681
unsigned agp
AGP device.
Definition: hd.h:2474
unsigned active
Hardware is active.
Definition: hd.h:370
unsigned char * data
Definition: hd.h:761
char * dev
Definition: hd.h:1858
int vario
referenz to driver vario record
Definition: hd.h:2900
cpu_info_t * data
Definition: hd.h:2106
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:1532
union u_hd_res_t * next
Definition: hd.h:1814
int handle
Definition: hd.h:910
char * name
Definition: hd.h:1890
str_list_t * hddb0
Definition: hd.h:1953
int buttons
number of buttons, -1 --> unknown
Definition: hd.h:1989
hd_id_t board_type
board type
Definition: hd.h:607
unsigned height
in pixel
Definition: hd.h:1763
hd_sysfsdrv_t * sysfsdrv
(Internal) sysfs driver info
Definition: hd.h:2732
unsigned pci_slot
Definition: hd.h:1170
res_framebuffer_t framebuffer
Definition: hd.h:1841
unsigned color_code
(Internal) color, if any
Definition: hd.h:2712
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:1764
int handle
Definition: hd.h:645
char * system_type
Definition: hd.h:1402
char * name
Definition: hd.h:2877
hd_detail_scsi_t scsi
Definition: hd.h:2157
int handle
Definition: hd.h:623
char * model
Model name.
Definition: hd.h:2323
unsigned char edid_data[6][0x80]
edid record
Definition: hd.h:1056
unsigned ids_len
Definition: hd.h:1544
char * proc_dir
Definition: hd.h:1158
hd_id_t bus
Bus type (id and name).
Definition: hd.h:2219
uint64_t end_addr
end address
Definition: hd.h:866
unsigned sub_class
Definition: hd.h:1571
str_list_t * auth_modes
open, sharedkey, wpa-psk, wpa-eap, wpa-leap
Definition: hd.h:1809
unsigned key
Definition: hd.h:1534
unsigned count
(Internal) Counter, used in combination with hd_t::module and hd_t::line.
Definition: hd.h:2426
char * modalias
module alias
Definition: hd.h:2593
unsigned int features
feature flags
Definition: hd.h:2897
str_list_t * only
Concentrate on these devices.
Definition: hd.h:2675
hd_bitmap_t feature
board features
Definition: hd.h:608
unsigned bits
Definition: hd.h:1741
unsigned idx
Definition: hd.h:1184
char * Class
CLASS of the card.
Definition: hd.h:2888
unsigned sub_device
Definition: hd.h:1569
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:2160
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:1975
unsigned height
in pixel
Definition: hd.h:1784
unsigned pnp_rev
Definition: hd.h:1914
char * alias
Definition: hd.h:1561
char * io
possible IO ports with legacy ISA cards
Definition: hd.h:2920
union u_hd_smbios_t * next
Definition: hd.h:813
unsigned with_acpi
acpi works fine
Definition: hd.h:2502
hd_id_t compat_vendor
Vendor id and name of some compatible hardware.
Definition: hd.h:2297
hd_smbios_type_t type
Definition: hd.h:906
unsigned vendor
Definition: hd.h:1080
uint64_t uint64
Definition: hd.h:1617
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:2373
unsigned char * data
Definition: hd.h:621
unsigned line
(Internal) Source code line where this entry was created.
Definition: hd.h:2421
uint64_t value
value of the parameter
Definition: hd.h:1936
str_list_t * cdroms
(Internal) cdroms according to PROC_CDROM_INFO
Definition: hd.h:2720
hd_id_t power
power-on password status
Definition: hd.h:911
unsigned cyls
Definition: hd.h:1755
struct hd_manual_s * next
Definition: hd.h:2176
unsigned fcoe_offload
fcoe offload capable device
Definition: hd.h:2506
joystick_t * data
Definition: hd.h:2142
driver_info_display_t display
Definition: hd.h:2051
hd_id_t sub_vendor
Subvendor id and name.
Definition: hd.h:2271
char * serial
serial number
Definition: hd.h:626
unsigned ref_cnt
(Internal) memory reference count.
Definition: hd.h:2600
unsigned device_class
Definition: hd.h:1592
str_list_t * mod_args
list of module args (corresponds to the module name list)
Definition: hd.h:1978
uint64_t fcp_lun
Definition: hd.h:1820
unsigned tag
Definition: hd.h:1865
unsigned isapnp
ISA-PnP device.
Definition: hd.h:2475
str_list_t * driver_modules
List of currently active driver modules.
Definition: hd.h:2546
int subdevice
Subdevice ID for PCI cards.
Definition: hd.h:2895
union u_hd_smbios_t * next
Definition: hd.h:670
unsigned base
Definition: hd.h:1726
char * driver
Definition: hd.h:1158
int fd
Definition: hd.h:1903
unsigned current_speed
MHz.
Definition: hd.h:659
char * sysfs_id
Definition: hd.h:1506
str_list_t * net
(Internal) list of network interfaces
Definition: hd.h:2691
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:2587
unsigned rev
Definition: hd.h:1080
int data_len
Definition: hd.h:938
unsigned slot
Slot and bus number.
Definition: hd.h:2225
str_list_t * proc_usb
(Internal) /proc/bus/usb info
Definition: hd.h:2700
isapnp_t * isapnp
(Internal) raw ISA-PnP data
Definition: hd.h:2689
char * usb_guid
Definition: hd.h:1167
misc_io_t * io
Definition: hd.h:1877
unsigned baud
Definition: hd.h:1892
hd_t * old_hd
(Internal) old (outdated) entries (if you scan more than once)
Definition: hd.h:2687
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:2654
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:2286
unsigned dvdprdl
DVD+R DL.
Definition: hd.h:2488
int revision
revision used with USB
Definition: hd.h:2890
smbios_memdevicemap_t memdevicemap
Definition: hd.h:973
char * rom_id
BIOS/PROM id.
Definition: hd.h:2386
unsigned lun
Definition: hd.h:1154
union u_hd_smbios_t * next
Definition: hd.h:858
unsigned bandwidth
Definition: hd.h:1964
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:1593
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:2504
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:2899
unsigned compat_vend
Definition: hd.h:1373
str_list_t * partitions
(Internal) dto, partitions
Definition: hd.h:2719
hal_prop_t * persistent_prop
persistent property list
Definition: hd.h:2591
bios_info_t * data
Definition: hd.h:2101
unsigned ser_device
if != 0: info about attached serial device; see serial.c
Definition: hd.h:2518
int data_len
Definition: hd.h:748
unsigned base_class
Definition: hd.h:1043
unsigned ext_lock_eject
Definition: hd.h:1499
unsigned type
CDBISDN type (P_...)
Definition: hd.h:1937
smbios_any_t any
Definition: hd.h:955
unsigned storage_only
storage only network interface
Definition: hd.h:2508
smbios_onboard_t onboard
Definition: hd.h:964
char * module
Definition: hd.h:1002
hd_detail_monitor_t monitor
Definition: hd.h:2155
char * manuf
manufacturer
Definition: hd.h:602
unsigned mo
MO.
Definition: hd.h:2497
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:2127
str_list_t * key
Definition: hd.h:2190
char * unique_id
Unique id for this hardware.
Definition: hd.h:2408
driver_info_t * driver_info
device driver info
Definition: hd.h:2585
unsigned forked
we're running in a subprocess
Definition: hd.h:2656
char handshake
-, h, s
Definition: hd.h:1743
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:1591
unsigned dvdprwdl
DVD+RW DL.
Definition: hd.h:2489
str_list_t * child_ids
unique_ids of children (parent_id).
Definition: hd.h:2569
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:1972
str_list_t * hddb0
Definition: hd.h:1997
unsigned base
Definition: hd.h:1718
unsigned char * data
Definition: hd.h:785
str_list_t * enc_modes
WEP40, WEP104, WEP128, WEP232, TKIP, CCMP.
Definition: hd.h:1810
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:2309
str_list_t * strings
Definition: hd.h:733
unsigned keep_kmods
internal: don't reread kmods
Definition: hd.h:2660
hd_id_t compat_device
Device id and name of some compatible hardware.
Definition: hd.h:2303
unsigned vdisp
Definition: hd.h:1424
unsigned device
Definition: hd.h:1575
unsigned lgeo_h
Definition: hd.h:1161
int ifdescr
Definition: hd.h:1078
char * gpm
dto, gpm
Definition: hd.h:1988
int handle
Definition: hd.h:567
int i4l_subtype
I4L types.
Definition: hd.h:2017
unsigned mrw
MRW.
Definition: hd.h:2498
int class_code
class : sub_class : prog-if
Definition: hd.h:1190
ccw_t * data
Definition: hd.h:2137
int data_len
Definition: hd.h:860
union u_hd_res_t * next
Definition: hd.h:1724
str_list_t * unix_dev_names
List of device names.
Definition: hd.h:2365
unsigned manu_year
Definition: hd.h:1416
unsigned fcp_lun_ok
Definition: hd.h:1817
char * info
optional additional info
Definition: hd.h:2917
floppy_info_t * data
Definition: hd.h:2096
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:1951
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:1480
size_t log_size
(Internal) current log size (including final 0)
Definition: hd.h:2739
unsigned lgeo_c
Definition: hd.h:1161
str_list_t * c
Definition: hd.h:1076
unsigned cyls
Definition: hd.h:1496
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:1588
int conns
Definition: hd.h:1078
struct isdn_parm_s * next
Definition: hd.h:1932
char * sysfs_bus_id
sysfs bus id for this hardware, if any.
Definition: hd.h:2340
unsigned inode_low
Definition: hd.h:1157
hddb_entry_mask_t value_mask
Definition: hd.h:1533
unsigned ext_fibre
Definition: hd.h:1504
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:1738
unsigned vendor
Definition: hd.h:1590
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:1771
uint64_t start_addr
memory range start address
Definition: hd.h:865
int card_ref
reference to a card
Definition: hd.h:2924
char * XkbModel
Definition: hd.h:2037
unsigned kernel_version
(Internal) kernel version
Definition: hd.h:2716
char * manuf
manufacturer
Definition: hd.h:624
unsigned softraiddisk
disk belongs to some soft raid array
Definition: hd.h:2478
unsigned width
Definition: hd.h:471
unsigned hd
HD.
Definition: hd.h:2493
char * log
log messages
Definition: hd.h:1036
unsigned flags
CDBISDN flags (P_...)
Definition: hd.h:1938
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:1828
unsigned speed
Definition: hd.h:1740
uint64_t array_addr
fault address rel.
Definition: hd.h:946
int data_len
Definition: hd.h:893
unsigned bd
BD.
Definition: hd.h:2490
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:2514
unsigned c15
Definition: hd.h:2003
hd_smbios_type_t type
Definition: hd.h:921
char * XkbRules
XF86Config entries.
Definition: hd.h:2036
int buf_len
Definition: hd.h:1910
str_list_t * klog_raw
(Internal) unmodified kernel log
Definition: hd.h:2741
int l2_cache
handle of L2 cache
Definition: hd.h:663
str_list_t * klog
(Internal) kernel log
Definition: hd.h:2699
unsigned speed
Definition: hd.h:1079
char * script
3d script to run
Definition: hd.h:2009
unsigned hdr
HD-R.
Definition: hd.h:2494
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:2575
unsigned vend
Definition: hd.h:1044
hd_detail_prom_t prom
Definition: hd.h:2154
int next_vario
link to alternate vario
Definition: hd.h:2905
double d
Definition: hd.h:1618
str_list_t * hddb0
Definition: hd.h:1974
int data_len
Definition: hd.h:697
uint64_t wwpn
Definition: hd.h:1172
char * vend_name
axp: system type
Definition: hd.h:1478
unsigned units
>1 "hyperthreading"
Definition: hd.h:1477
char * mod_name
name of the driver module
Definition: hd.h:2910
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:1703
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:2357
unsigned prefetch
enum yes_no_flag
Definition: hd.h:1697
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:2892
unsigned do_io
Definition: hd.h:1908
int updated
Definition: hd.h:2728
char * dev
Definition: hd.h:1864
char * name
Definition: hd.h:1296
char * cfg_prog
optional cfg prog
Definition: hd.h:2913
unsigned ext_fixed_disk
Definition: hd.h:1498
res_fc_t fc
Definition: hd.h:1845
unsigned ext_net
Definition: hd.h:1505
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:2500
unsigned vendor
Definition: hd.h:1574
union driver_info_u * next
Definition: hd.h:1984
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:1941
res_size_t size
Definition: hd.h:1834
scsi_t * scsi
(Internal) raw SCSI data
Definition: hd.h:2695
unsigned syndrome
vendor-specific ECC syndrome; 0: unknown
Definition: hd.h:945
hd_detail_cdrom_t cdrom
Definition: hd.h:2150
unsigned slot
Definition: hd.h:1042
unsigned modprobe
modprobe or insmod
Definition: hd.h:1976
unsigned pci
Definition: hd.h:1186
union u_hd_res_t * next
Definition: hd.h:1753
hddb_list_t * list
Definition: hd.h:1543
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:2111
smbios_slot_t slot
Definition: hd.h:963
str_list_t * strings
Definition: hd.h:750
res_wlan_t wlan
Definition: hd.h:1844
int data_len
Definition: hd.h:598
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1711
serial_t * serial
(Internal) /proc's serial info
Definition: hd.h:2694
unsigned mrww
MRW-W.
Definition: hd.h:2499
unsigned fcoe
fcoe device
Definition: hd.h:2505
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:2151
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:1734
unsigned fast
Don't check tricky hardware.
Definition: hd.h:2652
misc_irq_t * irq
Definition: hd.h:1879
int id
Definition: hd.h:2727
hd_id_t err_type
error type memory
Definition: hd.h:846
driver_info_isdn_t isdn
Definition: hd.h:2052
unsigned vendor
Definition: hd.h:1566
char * names
Definition: hd.h:1520
unsigned sec_size
Definition: hd.h:1164
unsigned hdisp
max.
Definition: hd.h:1965
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:1615
unsigned value
Definition: hd.h:1535
char * child_ids
Definition: hd.h:2180
char * vendor
Definition: hd.h:1370
str_list_t * bitrates
in Mbps units
Definition: hd.h:1808
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:1727
char * mod_preload
optional modules to preload
Definition: hd.h:2912
unsigned valid
1: entry is valid, 0: some inconsistencies
Definition: hd.h:1934
devtree_t * data
Definition: hd.h:2132
str_list_t * list
Definition: hd.h:1620
str_list_t * strings
Definition: hd.h:844
unsigned dvdrw
DVD-RW.
Definition: hd.h:2484
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:1546
char * version
version
Definition: hd.h:625
misc_t * misc
(Internal) data gathered in the misc module
Definition: hd.h:2693
char * xf86
the XF86 protocol name
Definition: hd.h:1987
int l1_cache
handle of L1 cache
Definition: hd.h:662
hd_detail_devtree_t devtree
Definition: hd.h:2158
hd_res_t * res
Device resources.
Definition: hd.h:2431
unsigned height
mode size
Definition: hd.h:471
str_list_t * disks
(Internal) disks according to /proc/partitions
Definition: hd.h:2718
union u_hd_res_t * next
Definition: hd.h:1716
smbios_connect_t connect
Definition: hd.h:962
unsigned sub_device
Definition: hd.h:1577
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:2531
int handle
Definition: hd.h:896
char * id_string
Definition: hd.h:1307
char * udi
HAL udi.
Definition: hd.h:2391
unsigned port_id_ok
Definition: hd.h:1818
unsigned triggered
Definition: hd.h:1719
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:1906
char * guessed_dev_name
Definition: hd.h:1152
char * name
driver name
Definition: hd.h:2925
str_list_t * xtra_hd
(Internal) fake hd entries (for testing)
Definition: hd.h:2714
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:1907
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:2184
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:2019
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:2039
unsigned hdisp
Definition: hd.h:1423
str_list_t * cpu
(Internal) /proc/cpuinfo
Definition: hd.h:2698
unsigned char * serial
Definition: hd.h:1105
char * model
Definition: hd.h:1405
unsigned dacspeed
max.
Definition: hd.h:2005
res_phys_mem_t phys_mem
Definition: hd.h:1831
res_mem_t mem
Definition: hd.h:1830
vbe_info_t vbe
Definition: hd.h:1356
unsigned size
Definition: hd.h:2724
unsigned rev
vendor & device ids
Definition: hd.h:1044
unsigned num_lock
Definition: hd.h:1380
unsigned dma_len
Definition: hd.h:1876
const char * string
Definition: hd.h:1271
unsigned hotpluggable
hotpluggable storage device
Definition: hd.h:2503
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:2035
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:1579
union u_hd_smbios_t * next
Definition: hd.h:695
unsigned char * block0
(Internal) First 512 bytes of block devices.
Definition: hd.h:2526
modinfo_type_t type
Definition: hd.h:1562
vbe_mode_info_t * mode
video mode list
Definition: hd.h:500
res_cache_t cache
Definition: hd.h:1835
int handle
internal identifier idx in database
Definition: hd.h:2884
res_init_strings_t init_strings
Definition: hd.h:1839
int vnr
Definition: hd.h:2879
res_dma_t dma
Definition: hd.h:1833
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:2664
char * name
device name
Definition: hd.h:737
union driver_info_u * next
Definition: hd.h:1958
unsigned manu_week
Definition: hd.h:1417
char * model
Definition: hd.h:2182
unsigned max_hsync
hsync range
Definition: hd.h:1419
char * membase
possible membase with legacy ISA cards
Definition: hd.h:2922
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:1778
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:2451
char parity
n, e, o, s, m
Definition: hd.h:1742
unsigned vdisp
h_timings
Definition: hd.h:1966
unsigned char * card_regs
Definition: hd.h:1106
unsigned last_idx
(Internal) index of the last hd entry generated
Definition: hd.h:2684
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:2515
str_list_t * value
Definition: hd.h:2191
hd_t * hd
Current hardware list.
Definition: hd.h:2614
unsigned char * data
Definition: hd.h:894
unsigned dvd
DVD.
Definition: hd.h:2482
unsigned mpconfig_ok
MP config table valid.
Definition: hd.h:455
uint64_t sectors
Definition: hd.h:1491
isapnp_card_t * card
Definition: hd.h:1126
unsigned interlaced
0/1
Definition: hd.h:1765
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:2471
hd_detail_t * detail
Special info associated with this hardware.
Definition: hd.h:2437
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:1578
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:2378
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:2730
str_list_t * strings
Definition: hd.h:715
res_pppd_option_t pppd_option
Definition: hd.h:1840
unsigned vmware
running in vmware
Definition: hd.h:2666
hal_prop_type_t type
Definition: hd.h:1612
unsigned cpuemu
use CPU emulation to run BIOS code (i386 only)
Definition: hd.h:2657
char * description
optional description
Definition: hd.h:2915
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:1585
unsigned hour
dto, hour
Definition: hd.h:928
char * sysfs
Definition: hd.h:989
union u_hd_res_t * next
Definition: hd.h:1731
unsigned cdrom
cdrom in drive
Definition: hd.h:1299
hd_detail_usb_t usb
Definition: hd.h:2148
unsigned sub_dev
Definition: hd.h:1044
unsigned apm_subver
Definition: hd.h:1340
char * usb_guid
USB Global Unique Identifier.
Definition: hd.h:2583
int typ
Type to identify the driver.
Definition: hd.h:2907
unsigned edd_used
internal: edd info has been used
Definition: hd.h:2659
union u_hd_res_t * next
Definition: hd.h:1691
char * filename
Definition: hd.h:1185
int b
Definition: hd.h:1619
str_list_t * strings
Definition: hd.h:909
int handle
Definition: hd.h:775
unsigned hd_idx
Definition: hd.h:1900
int handle
Definition: hd.h:675
modinfo_t * modinfo
(Internal) module info
Definition: hd.h:2703
int data_len
formatted section length
Definition: hd.h:553
unsigned pgeo_c
Definition: hd.h:1162
int garbage
Definition: hd.h:1911
int vhandle
internal identifier to vendor database
Definition: hd.h:2885
char * bus
bus type
Definition: hd.h:2889
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:2046
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:1586
str_list_t * hddb0
Definition: hd.h:2026
int data_len
Definition: hd.h:784
char * model_name
axp: cpu model
Definition: hd.h:1479
int i_alt
Definition: hd.h:1085
unsigned bdre
BD-RE.
Definition: hd.h:2492
unsigned display
(Internal) hd_idx of the active (vga) display
Definition: hd.h:2711
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:2658
unsigned list_len
Definition: hd.h:1542
smbios_memerror_t memerror
Definition: hd.h:971
usb_t * usb
(Internal) usb info
Definition: hd.h:2701
memory_range_t bios_rom
(Internal) BIOS 0xc0000 - 0xfffff
Definition: hd.h:2708
char * controller_id
Definition: hd.h:1822
driver_info_kbd_t kbd
Definition: hd.h:2054
union u_hd_smbios_t * next
Definition: hd.h:596
unsigned max_vsync
vsync range
Definition: hd.h:1962
union u_hd_res_t * next
Definition: hd.h:1797
hd_detail_bios_t bios
Definition: hd.h:2152
driver_info_mouse_t mouse
Definition: hd.h:2049
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:2738
unsigned data_ext_len
max.
Definition: hd.h:1034
union driver_info_u * next
Definition: hd.h:2024
union u_hd_res_t * next
Definition: hd.h:1686
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:1832
unsigned irq
used irq, if any
Definition: hd.h:1045
str_list_t * at_resp
Definition: hd.h:1902
unsigned x3d
has 3D support
Definition: hd.h:2000
unsigned interleave_depth
number of consecutive rows
Definition: hd.h:885
union u_hd_res_t * next
Definition: hd.h:1804
str_list_t * d
Definition: hd.h:1076
char * product_revision
product revision
Definition: hd.h:498
unsigned device_class
Definition: hd.h:1587
union u_hd_res_t * next
Definition: hd.h:1701
unsigned max_speed
MHz.
Definition: hd.h:658
unsigned dvdram
DVDRAM.
Definition: hd.h:2496
unsigned load_count
sectors to load
Definition: hd.h:1311
char * strings
Definition: hd.h:1547
char * cmd_line
(Internal) kernel command line
Definition: hd.h:2713
unsigned device
Definition: hd.h:1080
unsigned fake
Definition: hd.h:1148
int32_t int32
Definition: hd.h:1616
hd_id_t device
Device id and name.
Definition: hd.h:2263
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:2483
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:2352
char * sysfs_device_link
sysfs device link.
Definition: hd.h:2345
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:2008
char * device
Definition: hd.h:1001
res_hwaddr_t hwaddr
Definition: hd.h:1842
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:1769
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:2214
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:2893
unsigned height
display size
Definition: hd.h:1421
unsigned oem
OEM-specific information.
Definition: hd.h:634
char * config_string
Definition: hd.h:2185
char * addr
Definition: hd.h:1793
smbios_memarraymap_t memarraymap
Definition: hd.h:972
char * manufact
Definition: hd.h:1081
unsigned tag
Definition: hd.h:1859
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:1560
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:2919
struct hal_prop_s * next
Definition: hd.h:1611
char * server
the server/module name
Definition: hd.h:1998
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:1838
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:2710
unsigned bdr
BD-R.
Definition: hd.h:2491
unsigned dev_len
device list length
Definition: hd.h:735
unsigned cache
Definition: hd.h:1165
char * key
Definition: hd.h:1613
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:2740
ser_device_t * ser_modem
(Internal) info about serial modems
Definition: hd.h:2697
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:2411
union u_hd_res_t * next
Definition: hd.h:1761
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:1979
str_list_t * options
special server options
Definition: hd.h:2007
uint64_t start_addr
memory range start address
Definition: hd.h:881
char * old_unique_id
Old unique_id for compatibility.
Definition: hd.h:2555
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2235
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:1481
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:2662
union u_hd_res_t * next
Definition: hd.h:1776
cdrom_info_t * data
Definition: hd.h:2091
int array_handle
memory array this mapping belongs to
Definition: hd.h:864
char * log
Log messages.
Definition: hd.h:2630
unsigned cyls
Definition: hd.h:1493
str_list_t * names
(ordered) list of module names
Definition: hd.h:1977
char * mode
DSL driver types.
Definition: hd.h:2027
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:2517
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:1827
str_list_t * strings
Definition: hd.h:583
union u_hd_res_t * next
Definition: hd.h:1747
unsigned data_len
Definition: hd.h:1517
unsigned list_md
Report md & lvm devices from /proc/partitions.
Definition: hd.h:2653
char * name
DSL driver name.
Definition: hd.h:2028
unsigned major
Definition: hd.h:1013
unsigned max_vsync
vsync range
Definition: hd.h:1418
res_baud_t baud
Definition: hd.h:1836
unsigned max_hsync
hsync range
Definition: hd.h:1963
unsigned bits
Definition: hd.h:1915
uint64_t sysfsdrv_id
(Internal) sysfs driver info id
Definition: hd.h:2733
char * name
parameter name
Definition: hd.h:1933
hd_detail_sys_t sys
Definition: hd.h:2156
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:1990
union u_hd_smbios_t * next
Definition: hd.h:891
unsigned stepping
Definition: hd.h:1474
char * label
Consistent Device Name (CDN), pci firmware spec 3.1, chapter 4.6.7.
Definition: hd.h:2594
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:2906
hal_prop_t * probe_val
(Internal) probing features with arbitrary values
Definition: hd.h:2683
bios32_info_t bios32
Definition: hd.h:1384
unsigned notready
block devices: no medium, other: device not configured
Definition: hd.h:2476
modinfo_t * modinfo_ext
(Internal) external module info
Definition: hd.h:2702
unsigned char * data
Definition: hd.h:861
str_list_t * kmods
(Internal) list of active kernel modules
Definition: hd.h:2705
hd_id_t family
processor family
Definition: hd.h:654
usb_t * data
Definition: hd.h:2081
hd_smbios_type_t type
BIOS info type.
Definition: hd.h:552
unsigned port_id
Definition: hd.h:1821
char * ccin
Definition: hd.h:1188
int device_id
Definition: hd.h:1191
hal_prop_t * hal_prop
hal property list
Definition: hd.h:2589
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:2692
char * rev
Definition: hd.h:1155
unsigned events
Definition: hd.h:1869
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:2002
pci_t * pci
(Internal) raw PCI data
Definition: hd.h:2688
unsigned zip
zip floppy
Definition: hd.h:2479
int i_prot
Definition: hd.h:1085
unsigned conflict
1: ressource conflict (eg.
Definition: hd.h:1935
struct s_ser_device_t * next
Definition: hd.h:1899
unsigned entry
entry point
Definition: hd.h:521
unsigned cpus
Definition: hd.h:461
unsigned idx
Unique index, starting at 1.
Definition: hd.h:2207
hd_id_t thermal
thermal state (at last boot)
Definition: hd.h:632
unsigned signature
Definition: hd.h:1508
int data_len
Definition: hd.h:620
isapnp_dev_t * data
Definition: hd.h:2086
hd_id_t sub_device
Subdevice id and name.
Definition: hd.h:2279
char ** dev
Definition: hd.h:1871
char * parent_id
Definition: hd.h:2179
str_list_t * lsscsi
(Internal) lsscsi result (if any)
Definition: hd.h:2737
char * location
location in chassis
Definition: hd.h:609
char * sysfs_id
sysfs entry for this hardware, if any.
Definition: hd.h:2335
unsigned size
in kbyte
Definition: hd.h:1749
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:1507
char * dev_name
Definition: hd.h:1901
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1695
uint64_t used_irqs
(Internal) irq usage
Definition: hd.h:2706
hd_detail_pci_t pci
Definition: hd.h:2147
unsigned assigned
Definition: hd.h:1502
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:2707
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:2330
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:2536
str_list_t * drivers
List of currently active drivers.
Definition: hd.h:2541
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:1476
str_list_t * strings
Definition: hd.h:644
unsigned cur_baud
Definition: hd.h:1905
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:1863
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:2690
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:2651
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:2723
char * name
cardname
Definition: hd.h:2886
unsigned family
axp: cpu variation
Definition: hd.h:1472
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:2667
char * lname
vendor short name + cardname
Definition: hd.h:2887
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:2898
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:1913
unsigned used
Definition: hd.h:1631
devtree_t * devtree
(Internal) prom device tree on ppc
Definition: hd.h:2715
unsigned dvdpr
DVD+R.
Definition: hd.h:2486
unsigned used
Definition: hd.h:2725
unsigned sub_vendor
Definition: hd.h:1568
unsigned device
Definition: hd.h:1567
char * manuf
manufacturer
Definition: hd.h:585
str_list_t * s
Definition: hd.h:1076
unsigned prog_if
Definition: hd.h:1572
unsigned char devfn
Definition: hd.h:514
char * para_str
optional parameter string
Definition: hd.h:2911
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:2153
unsigned base_class
Definition: hd.h:1570
char * lang
Definition: hd.h:1407
union u_hd_smbios_t * next
Definition: hd.h:873
hd_detail_isapnp_t isapnp
Definition: hd.h:2149
unsigned slots
slots or sockets for this device
Definition: hd.h:807
unsigned sub_vendor
Definition: hd.h:1576
unsigned ext_clock
MHz.
Definition: hd.h:657
unsigned dvdrdl
DVD-R DL.
Definition: hd.h:2485
int dev_nr
Definition: hd.h:1078
hd_id_t bootup
bootup state
Definition: hd.h:630
unsigned names_len
Definition: hd.h:1519
unsigned pci_bus
Definition: hd.h:1169
unsigned ext_edd
Definition: hd.h:1500
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:2734
unsigned bits
real bitmap length in bits
Definition: hd.h:421
unsigned nowpa
no longer used
Definition: hd.h:2663
unsigned iseries
Set if we are on an iSeries machine.
Definition: hd.h:2650
hd_smbios_type_t type
Definition: hd.h:580
char * need_pkg
list of packages needed for function
Definition: hd.h:2916
union driver_info_u * next
Definition: hd.h:2014
unsigned smbios_ver
Definition: hd.h:1358
res_link_t link
Definition: hd.h:1843
unsigned char * data
Definition: hd.h:816
char * parent_id
unique_id of parent (attached_to).
Definition: hd.h:2562
unsigned country
Definition: hd.h:1086
unsigned enabled
0: disabled, 1 enabled
Definition: hd.h:1720
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:2117
hd_smbios_t * smbios
(Internal) smbios data
Definition: hd.h:2721
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:1518
unsigned caps_lock
Definition: hd.h:1381
ser_device_t * ser_mouse
(Internal) info about serial mice
Definition: hd.h:2696
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:2159
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:2006
int subtyp
Subtype of the driver type.
Definition: hd.h:2908
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:2495
char * features
optional features
Definition: hd.h:2923
hd_smbios_type_t type
Definition: hd.h:563
struct hal_device_s * next
Definition: hd.h:1629
sys_info_t * data
Definition: hd.h:2122
char * info
Definition: hd.h:1160
res_disk_geo_t disk_geo
Definition: hd.h:1837
int devs
Definition: hd.h:1870
char * serial
serial number
Definition: hd.h:822
char * protocol
supported D-channel protocols
Definition: hd.h:2918
unsigned func
(PCI) function.
Definition: hd.h:2230
unsigned access
enum access_flags
Definition: hd.h:1696
str_list_t * channels
Definition: hd.h:1806
int smp
SMP supported ?
Definition: hd.h:2909
unsigned module
(Internal) Probing module that created this entry.
Definition: hd.h:2416
unsigned cdr
CD-R.
Definition: hd.h:2480
hd_id_t prog_if
(PCI) programming interface (id and name).
Definition: hd.h:2245
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:2661
hd_id_t vendor
Vendor id and name.
Definition: hd.h:2253
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:2050
unsigned char * data
actual data
Definition: hd.h:444
char * device
Definition: hd.h:1891
unsigned range
range, within which the error can be determined; 0x80000000: unknown
Definition: hd.h:852
driver_info_module_t module
Definition: hd.h:2048
unsigned manual
undetectable, manually configured hardware
Definition: hd.h:2477
unsigned cache
Definition: hd.h:1475
str_list_t * proc_dma
Definition: hd.h:1880
char * version
version (free form)
Definition: hd.h:569
driver_info_dsl_t dsl
Definition: hd.h:2053
uint64_t base
Definition: hd.h:1709
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:1995
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:2516
char * XkbLayout
Definition: hd.h:2038
str_list_t * hddb0
Definition: hd.h:2016
unsigned range
range, within which the error can be determined; 0x80000000: unknown
Definition: hd.h:948
char * shortname
Definition: hd.h:2878
unsigned state
network link state: 0 - not connected, 1 - connected
Definition: hd.h:1799
int handle
idx in database
Definition: hd.h:2904
str_list_t * strings
Definition: hd.h:699
unsigned apm_bios_flags
Definition: hd.h:1341
str_list_t * hddb0
Definition: hd.h:1960
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:2201
unsigned pci_info
Definition: hd.h:1168
unsigned dformat
Alternative output format.
Definition: hd.h:2648
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:29
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:2883
Definition: hd.h:2903
vendor info
Definition: hd.h:2876
special CDROM entry
Definition: hd.h:1294
Compaq Controller Order EV (CQHORD) definition.
Definition: hd.h:510
special cpu entry
Definition: hd.h:1470
PROM tree on PPC.
Definition: hd.h:1181
unspecific info
Definition: hd.h:1950
display (monitor) info
Definition: hd.h:1957
dsl info
Definition: hd.h:2023
isdn info
Definition: hd.h:2013
keyboard info
Definition: hd.h:2032
module info
Definition: hd.h:1971
mouse protocol info
Definition: hd.h:1983
X11 server info.
Definition: hd.h:1994
enhanced disk data (cf.
Definition: hd.h:1490
Floppy information note: obsolete, will be removed.
Definition: hd.h:1329
HAL device.
Definition: hd.h:1628
HAL device properties.
Definition: hd.h:1610
Bitmap data type.
Definition: hd.h:419
Special flags.
Definition: hd.h:2646
Holds all data accumulated during hardware probing.
Definition: hd.h:2608
Definition: hd.h:2099
Definition: hd.h:2135
Definition: hd.h:2089
Definition: hd.h:2104
Definition: hd.h:2130
Definition: hd.h:2094
Definition: hd.h:2084
Definition: hd.h:2140
Definition: hd.h:2114
Definition: hd.h:2074
Definition: hd.h:2109
Definition: hd.h:2125
Definition: hd.h:2120
Definition: hd.h:2079
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:2175
Hardware status.
Definition: hd.h:314
Hardware DB (v2) data.
Definition: hd.h:1541
Hardware DB (v1) data.
Definition: hd.h:1516
Hardware DB list item.
Definition: hd.h:1531
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:1931
Joystick details.
Definition: hd.h:1286
for memory areas
Definition: hd.h:442
Definition: hd.h:1862
Definition: hd.h:1856
Definition: hd.h:1868
Definition: hd.h:1875
module.alias information
Definition: hd.h:1559
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:1685
Definition: hd.h:1737
Definition: hd.h:1746
Definition: hd.h:1752
Definition: hd.h:1723
Definition: hd.h:1813
Definition: hd.h:1781
Definition: hd.h:1790
Definition: hd.h:1768
Definition: hd.h:1706
Definition: hd.h:1715
Definition: hd.h:1690
Definition: hd.h:1760
Definition: hd.h:1700
Definition: hd.h:1775
Definition: hd.h:1730
wlan capabilities
Definition: hd.h:1803
Definition: hd.h:2473
Definition: hd.h:2511
Individual hardware item.
Definition: hd.h:2200
structure holding the (raw) PCI data
Definition: hd.h:1031
Serial device configuration information.
Definition: hd.h:1898
Serial device resource and hardware information.
Definition: hd.h:1888
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:2045
Definition: hd.h:2145
libhd resource union
Definition: hd.h:1826
SMBIOS list item.
Definition: hd.h:953