Go to the documentation of this file. 1 #if defined(__i386__) || defined(__x86_64__)
3 unsigned edd_disk_signature(
hd_t *hd);
char * sysfs_id
Definition: hd.h:1502
unsigned assigned
Definition: hd.h:1498
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2231
struct edd_info_t::@9 legacy
@ mod_edd
Definition: hd_int.h:79
@ pr_edd
Definition: hd.h:119
unsigned cyls
Definition: hd.h:1489
hd_t * hd
Current hardware list.
Definition: hd.h:2610
str_list_t * search_str_list(str_list_t *sl, char *str)
Definition: hd.c:2464
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2711
char * serial
Serial id.
Definition: hd.h:2287
char * canon_str(char *s, int len)
Definition: hd.c:2191
uint64_t sectors
Definition: hd.h:1487
unsigned lba_support
Definition: hd.h:1348
str_list_t * read_dir(char *dir_name, int type)
Definition: hd.c:2576
#define PROGRESS(a, b, c)
Definition: hd_int.h:61
unsigned heads
Definition: hd.h:1489
enum hd_detail_type type
Definition: hd.h:2142
@ hd_detail_bios
Definition: hd.h:2065
struct s_str_list_t * next
Link to next member.
Definition: hd.h:407
@ sc_sdev_disk
Definition: hd.h:233
unsigned ext_fibre
Definition: hd.h:1500
enhanced disk data (cf.
Definition: hd.h:1486
char * unix_dev_name
Special device file.
Definition: hd.h:2348
str_list_t * unix_dev_names
List of device names.
Definition: hd.h:2361
Individual hardware item.
Definition: hd.h:2196
unsigned signature
Definition: hd.h:1504
char * rom_id
BIOS/PROM id.
Definition: hd.h:2382
libhd resource union
Definition: hd.h:1822
@ pr_edd_mod
Definition: hd.h:119
unsigned ext_lock_eject
Definition: hd.h:1495
bios_info_t * data
Definition: hd.h:2097
struct s_hd_t * next
Link to next hardware item.
Definition: hd.h:2197
unsigned edd_used
internal: edd info has been used
Definition: hd.h:2655
str_list_t * free_str_list(str_list_t *list)
Definition: hd.c:2493
enum resource_types type
Definition: hd.h:1683
char * get_sysfs_attr_by_path2(const char *path, const char *attr, unsigned *len)
Definition: hd.c:6062
union u_hd_res_t * next
Definition: hd.h:1823
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2681
#define ADD2LOG(a...)
Definition: hd_int.h:62
String list type.
Definition: hd.h:406
int load_module(hd_data_t *hd_data, char *module)
Definition: hd.c:3859
hd_detail_t * detail
Special info associated with this hardware.
Definition: hd.h:2433
struct hd_data_t::flag_struct flags
unsigned ext_fixed_disk
Definition: hd.h:1494
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:579
@ bc_storage_device
Definition: hd.h:165
unsigned id
Numeric id.
Definition: hd.h:397
#define u64
Definition: hd.c:51
unsigned ext_edd
Definition: hd.h:1496
int hd_attr_uint(char *attr, uint64_t *u, int base)
Definition: hd.c:5955
hd_res_t * res
Device resources.
Definition: hd.h:2427
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2236
str_list_t * hd_attr_list(char *str)
Definition: hd.c:5973
unsigned valid
Definition: hd.h:1499
edd_info_t edd[0x80]
(Internal) enhanced disk drive data
Definition: hd.h:2731
static hd_data_t * hd_data
Definition: pppoe.c:29
void str_printf(char **buf, int offset, char *format,...)
Definition: hd.c:2401
enum size_units unit
Definition: hd.h:1729
char * hd_read_sysfs_link(char *base_dir, char *link_name)
Definition: hd.c:2631
bios data (ix86)
Definition: hd.h:1333
uint64_t val1
Definition: hd.h:1730
unsigned ext_64bit
Definition: hd.h:1497
@ size_unit_sectors
Definition: hd.h:1645
unsigned ext_net
Definition: hd.h:1501
@ sc_int_bios
Definition: hd.h:222
Holds all data accumulated during hardware probing.
Definition: hd.h:2604
@ res_size
Definition: hd.h:1636
struct edd_info_t::@8 edd
res_any_t any
Definition: hd.h:1824
char * str
Some string data.
Definition: hd.h:408
void * free_mem(void *p)
Definition: hd.c:1594
res_size_t size
Definition: hd.h:1830
hd_detail_bios_t bios
Definition: hd.h:2148
@ bc_internal
Definition: hd.h:164
char * get_sysfs_attr_by_path(const char *path, const char *attr)
Definition: hd.c:6053
unsigned char * block0
(Internal) First 512 bytes of block devices.
Definition: hd.h:2522