patch-1.3.28 linux/drivers/scsi/seagate.c
Next file: linux/drivers/scsi/seagate.h
Previous file: linux/drivers/scsi/sd_ioctl.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Mon Sep 18 08:54:09 1995
- Orig file:
v1.3.27/linux/drivers/scsi/seagate.c
- Orig date:
Wed Aug 2 13:21:14 1995
diff -u --recursive --new-file v1.3.27/linux/drivers/scsi/seagate.c linux/drivers/scsi/seagate.c
@@ -63,6 +63,12 @@
#include "hosts.h"
#include "seagate.h"
#include "constants.h"
+#include<linux/stat.h>
+
+struct proc_dir_entry proc_scsi_seagate = {
+ PROC_SCSI_SEAGATE, 7, "seagate",
+ S_IFDIR | S_IRUGO | S_IXUGO, 2
+};
#ifndef IRQ
@@ -284,6 +290,7 @@
int i,j;
#endif
+ tpnt->proc_dir = &proc_scsi_seagate;
/*
* First, we try for the manual override.
*/
@@ -1600,7 +1607,7 @@
#include "sd.h"
#include "scsi_ioctl.h"
-int seagate_st0x_biosparam(Disk * disk, int dev, int* ip) {
+int seagate_st0x_biosparam(Disk * disk, kdev_t dev, int* ip) {
unsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page;
int *sizes, result, formatted_sectors, total_sectors;
int cylinders, heads, sectors;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this