patch-2.3.27 linux/drivers/scsi/advansys.c

Next file: linux/drivers/scsi/advansys.h
Previous file: linux/drivers/scsi/a3000.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/advansys.c linux/drivers/scsi/advansys.c
@@ -4011,19 +4011,6 @@
  * --- Driver Data
  */
 
-/* Note: All driver global data should be initialized. */
-
-#if LINUX_VERSION_CODE >= ASC_LINUX_VERSION(1,3,0)
-struct proc_dir_entry proc_scsi_advansys =
-{
-    PROC_SCSI_ADVANSYS,              /* unsigned short low_ino */
-    8,                               /* unsigned short namelen */
-    "advansys",                      /* const char *name */
-    S_IFDIR | S_IRUGO | S_IXUGO,     /* mode_t mode */
-    2                                /* nlink_t nlink */
-};
-#endif /* version >= v1.3.0 */
-
 /* Number of boards detected in system. */
 STATIC int asc_board_count = 0;
 STATIC struct Scsi_Host    *asc_host[ASC_NUM_BOARD_SUPPORTED] = { 0 };
@@ -4481,9 +4468,7 @@
 
     ASC_DBG(1, "advansys_detect: begin\n");
 
-#if LINUX_VERSION_CODE >= ASC_LINUX_VERSION(1,3,0)
-    tpnt->proc_dir = &proc_scsi_advansys;
-#endif /* version >= v1.3.0 */
+    tpnt->proc_name = "advansys";
 
     asc_board_count = 0;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)