#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <dirent.h>#include <fcntl.h>#include <errno.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/ioctl.h>#include <sys/mount.h>#include <linux/hdreg.h>#include "hd.h"#include "hd_int.h"#include "scsi.h"#include <scsi/scsi.h>Defines | |
| #define | SCSI_IOCTL_SEND_COMMAND 1 |
| #define | SCSI_IOCTL_GET_PCI 0x5387 |
Functions | |
| scsi_t * | do_basic_ioctl (hd_data_t *hdata, scsi_t **ioctl_scsi, int fd) |
| scsi_t * | get_ioctl_scsi (hd_data_t *hd_data) |
| void | get_proc_scsi (hd_data_t *hd_data) |
| void | read_more_proc_info (hd_data_t *hd_data, scsi_t *scsi) |
| scsi_t * | add_scsi_entry (scsi_t **scsi, scsi_t *new) |
| void | dump_proc_scsi_data (hd_data_t *hd_data, str_list_t *proc_scsi) |
| void | dump_scsi_data (hd_data_t *hd_data, scsi_t *scsi, char *text) |
| void | hd_scan_scsi (hd_data_t *hd_data) |
Variables | |
| char * | exlist [][2] |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Initial value:
|