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:1507
unsigned assigned
Definition: hd.h:1503
hd_id_t base_class
Base class (id and name).
Definition: hd.h:2236
struct edd_info_t::@9 legacy
@ mod_edd
Definition: hd_int.h:83
@ pr_edd
Definition: hd.h:122
unsigned cyls
Definition: hd.h:1494
hd_t * hd
Current hardware list.
Definition: hd.h:2615
str_list_t * search_str_list(str_list_t *sl, char *str)
Definition: hd.c:2481
void remove_hd_entries(hd_data_t *hd_data)
Definition: hd.c:2728
char * serial
Serial id.
Definition: hd.h:2292
char * canon_str(char *s, int len)
Definition: hd.c:2208
uint64_t sectors
Definition: hd.h:1492
unsigned lba_support
Definition: hd.h:1352
str_list_t * read_dir(char *dir_name, int type)
Definition: hd.c:2593
#define PROGRESS(a, b, c)
Definition: hd_int.h:65
unsigned heads
Definition: hd.h:1494
enum hd_detail_type type
Definition: hd.h:2147
@ hd_detail_bios
Definition: hd.h:2070
struct s_str_list_t * next
Link to next member.
Definition: hd.h:411
@ sc_sdev_disk
Definition: hd.h:237
unsigned ext_fibre
Definition: hd.h:1505
enhanced disk data (cf.
Definition: hd.h:1491
char * unix_dev_name
Special device file.
Definition: hd.h:2353
str_list_t * unix_dev_names
List of device names.
Definition: hd.h:2366
Individual hardware item.
Definition: hd.h:2201
unsigned signature
Definition: hd.h:1509
char * rom_id
BIOS/PROM id.
Definition: hd.h:2387
libhd resource union
Definition: hd.h:1827
@ pr_edd_mod
Definition: hd.h:122
unsigned ext_lock_eject
Definition: hd.h:1500
bios_info_t * data
Definition: hd.h:2102
struct s_hd_t * next
Link to next hardware item.
Definition: hd.h:2202
unsigned edd_used
internal: edd info has been used
Definition: hd.h:2660
str_list_t * free_str_list(str_list_t *list)
Definition: hd.c:2510
enum resource_types type
Definition: hd.h:1688
char * get_sysfs_attr_by_path2(const char *path, const char *attr, unsigned *len)
Definition: hd.c:6107
union u_hd_res_t * next
Definition: hd.h:1828
unsigned module
(Internal) the current probing module we are in
Definition: hd.h:2686
#define ADD2LOG(a...)
Definition: hd_int.h:66
String list type.
Definition: hd.h:410
int load_module(hd_data_t *hd_data, char *module)
Definition: hd.c:3878
hd_detail_t * detail
Special info associated with this hardware.
Definition: hd.h:2438
struct hd_data_t::flag_struct flags
unsigned ext_fixed_disk
Definition: hd.h:1499
int hd_probe_feature(hd_data_t *hd_data, enum probe_feature feature)
Definition: hd.c:595
@ bc_storage_device
Definition: hd.h:168
unsigned id
Numeric id.
Definition: hd.h:401
#define u64
Definition: hd.c:51
unsigned ext_edd
Definition: hd.h:1501
int hd_attr_uint(char *attr, uint64_t *u, int base)
Definition: hd.c:6000
hd_res_t * res
Device resources.
Definition: hd.h:2432
hd_id_t sub_class
Sub class (id and name).
Definition: hd.h:2241
str_list_t * hd_attr_list(char *str)
Definition: hd.c:6018
unsigned valid
Definition: hd.h:1504
edd_info_t edd[0x80]
(Internal) enhanced disk drive data
Definition: hd.h:2736
static hd_data_t * hd_data
Definition: pppoe.c:29
void str_printf(char **buf, int offset, char *format,...)
Definition: hd.c:2418
enum size_units unit
Definition: hd.h:1734
char * hd_read_sysfs_link(char *base_dir, char *link_name)
Definition: hd.c:2648
bios data (ix86)
Definition: hd.h:1337
uint64_t val1
Definition: hd.h:1735
unsigned ext_64bit
Definition: hd.h:1502
@ size_unit_sectors
Definition: hd.h:1650
unsigned ext_net
Definition: hd.h:1506
@ sc_int_bios
Definition: hd.h:226
Holds all data accumulated during hardware probing.
Definition: hd.h:2609
@ res_size
Definition: hd.h:1641
struct edd_info_t::@8 edd
res_any_t any
Definition: hd.h:1829
char * str
Some string data.
Definition: hd.h:412
void * free_mem(void *p)
Definition: hd.c:1611
res_size_t size
Definition: hd.h:1835
hd_detail_bios_t bios
Definition: hd.h:2153
@ bc_internal
Definition: hd.h:167
char * get_sysfs_attr_by_path(const char *path, const char *attr)
Definition: hd.c:6098
unsigned char * block0
(Internal) First 512 bytes of block devices.
Definition: hd.h:2527