31 #define HD_DEB_SHOW_LOG (1 << 0)
32 #define HD_DEB_PROGRESS (1 << 1)
33 #define HD_DEB_CREATION (1 << 2)
34 #define HD_DEB_DRIVER_INFO (1 << 3)
35 #define HD_DEB_PCI (1 << 4)
36 #define HD_DEB_ISAPNP (1 << 5)
37 #define HD_DEB_CDROM (1 << 6)
38 #define HD_DEB_NET (1 << 7)
39 #define HD_DEB_FLOPPY (1 << 8)
40 #define HD_DEB_MISC (1 << 9)
41 #define HD_DEB_SERIAL (1 << 10)
42 #define HD_DEB_MONITOR (1 << 11)
43 #define HD_DEB_CPU (1 << 12)
44 #define HD_DEB_BIOS (1 << 13)
45 #define HD_DEB_MOUSE (1 << 14)
46 #define HD_DEB_IDE (1 << 15)
47 #define HD_DEB_SCSI (1 << 16)
48 #define HD_DEB_USB (1 << 17)
49 #define HD_DEB_ADB (1 << 18)
50 #define HD_DEB_MODEM (1 << 19)
51 #define HD_DEB_PARALLEL (1 << 20)
52 #define HD_DEB_ISA (1 << 21)
53 #define HD_DEB_BOOT (1 << 22)
54 #define HD_DEB_HDDB (1 << 23)
60 #include <sys/types.h>
65 #define HARDWARE_DIR "/var/lib/hardware"
90 #define ID_VALUE(id) ((id) & 0xffff)
95 #define ID_TAG(id) (((id) >> 16) & 0xf)
100 #define MAKE_ID(tag, id_val) ((tag << 16) | (id_val))
330 unsigned configured:3;
342 unsigned available:3;
359 unsigned available_orig:3;
414 unsigned char bitmap[16];
416 unsigned not_empty:1;
449 unsigned mpconfig_ok:1;
497 unsigned char ddc_port[4][0x80];
583 unsigned char uuid[16];
1100 unsigned char (*ldev_regs)[0xd0];
1282 unsigned cdr:1, cdrw:1, dvd:1, dvdr:1, dvdram:1;
1286 char *
volume, *publisher, *preparer, *application, *creation_date;
1292 unsigned bootable:1;
1314 unsigned char block0[512];
1322 unsigned apm_supported:1;
1323 unsigned apm_enabled:1;
1334 unsigned is_pnp_bios:1;
1336 unsigned lba_support:1;
1363 unsigned scroll_lock:1;
1364 unsigned num_lock:1;
1365 unsigned caps_lock:1;
1377 unsigned has_color:1;
1406 unsigned hdisp, hsyncstart, hsyncend,
htotal;
1407 unsigned vdisp, vsyncstart, vsyncend,
vtotal;
1478 unsigned cyls, heads, sectors;
1480 unsigned ext_fixed_disk:1;
1481 unsigned ext_lock_eject:1;
1483 unsigned ext_64bit:1;
1484 unsigned assigned:1;
1548 unsigned sub_vendor:1;
1549 unsigned sub_device:1;
1550 unsigned base_class:1;
1551 unsigned sub_class:1;
1556 unsigned sub_vendor;
1557 unsigned sub_device;
1558 unsigned base_class;
1568 unsigned device_subclass:1;
1573 unsigned device_subclass;
1746 unsigned interlaced:1;
1799 unsigned port_id_ok:1;
1887 unsigned is_mouse:1;
1890 unsigned char buf[0x1000];
1893 unsigned char pnp_id[8];
1894 char *
serial, *class_name, *dev_id, *user_name, *
vend, *init_string1, *init_string2, *pppd_option;
1916 unsigned conflict:1;
1946 unsigned hdisp, hsyncstart, hsyncend,
htotal;
1947 unsigned vdisp, vsyncstart, vsyncend,
vtotal;
1957 unsigned modprobe:1;
1984 unsigned c8:1, c15:1, c16:1, c24:1, c32:1;
2290 unsigned char hw_class_list[(
hw_all + 7) / 8];
2451 unsigned notready:1;
2453 unsigned softraiddisk:1;
2466 unsigned with_acpi:1;
2467 unsigned hotpluggable:1;
2468 unsigned dualport:1;
2475 unsigned skip_mouse:1;
2476 unsigned skip_modem:1;
2477 unsigned skip_braille:1;
2478 unsigned ser_device:2;
2606 unsigned internal:1;
2608 unsigned no_parport:1;
2610 unsigned list_all:1;
2618 unsigned edd_used:1;
2619 unsigned keep_kmods:2;
2620 unsigned nobioscrc:1;
2621 unsigned biosvram:1;
2626 unsigned vmware_mouse:1;
2819 #define CDBISDN_VERSION 0x0101
2822 #define PCI_ANY_ID 0xffff
2825 #define CDBISDN_P_NONE 0x0
2826 #define CDBISDN_P_IRQ 0x1
2827 #define CDBISDN_P_MEM 0x2
2828 #define CDBISDN_P_IO 0x3