#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <errno.h>#include <fcntl.h>#include <sys/stat.h>#include <sys/types.h>#include <sys/pci.h>#include "hd.h"#include "hd_int.h"#include "hddb.h"#include "pci.h"Functions | |
| void | add_driver_info (hd_data_t *hd_data) |
| unsigned char | pci_cfg_byte (pci_t *pci, int fd, unsigned idx) |
| void | get_pci_data (hd_data_t *hd_data) |
| void | dump_pci_data (hd_data_t *hd_data) |
| int | f_read (int fd, off_t ofs, void *buf, size_t len) |
| int | f_write (int fd, off_t ofs, void *buf, size_t len) |
| unsigned | get_pci_addr_range (hd_data_t *hd_data, pci_t *pci, int fd, unsigned addr, unsigned mask) |
| pci_t * | add_pci_entry (hd_data_t *hd_data, pci_t *new_pci) |
| void | hd_scan_pci (hd_data_t *hd_data) |
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|