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

Next file: linux/drivers/scsi/scsi.c
Previous file: linux/drivers/scsi/qlogicisp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/scsi/qlogicpti.c linux/drivers/scsi/qlogicpti.c
@@ -132,11 +132,6 @@
 						    QLOGICISP_REQ_QUEUE_LEN)
 #define RES_QUEUE_DEPTH(in, out)	QUEUE_DEPTH(in, out, RES_QUEUE_LEN)
 
-static struct proc_dir_entry proc_scsi_qlogicpti = {
-	PROC_SCSI_QLOGICPTI, 7, "qlogicpti",
-	S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
 static inline void qlogicpti_enable_irqs(struct qlogicpti_regs *qregs)
 {
 	qregs->sbus_ctrl = SBUS_CTRL_ERIRQ | SBUS_CTRL_GENAB;
@@ -596,7 +591,7 @@
 	int qpti_node;
 	int is_pti;
 
-	tpnt->proc_dir = &proc_scsi_qlogicpti;
+	tpnt->proc_name = "qlogicpti";
 	qptichain = 0;
 	if(!SBus_chain)
 		return 0;

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