#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: {
{ "esp", "NCR53C9x" },
{ "A2091", "a2091" },
{ "A3000", "a3000" },
{ "Amiga7xx", "amiga7xx" },
{ "Atari", "atari_scsi" },
{ "BVME6000", "bvme6000" },
{ "dpt-I2O", "dpt_i2o" },
{ "dtc3x80", "dtc" },
{ "eata2x", "eata" },
{ "GVP11", "gvp11" },
{ "INI9100U", "ini9100u" },
{ "INIA100", "inia100" },
{ "53c94", "mac53c94" },
{ "mac_5380", "mac_scsi" },
{ "MVME16x", "mvme16x" },
{ "isp2x00", "qlogicfc" },
{ "isp1020", "qlogicisp" },
{ "SGIWD93", "sgiwd93" },
{ "u14_34f", "u14-34f" }
}
|