xfs
[Top] [All Lists]

Found bug preventing CPQFC driver from building

To: Andy Kwong <iserlohn@xxxxxxxxxxxx>
Subject: Found bug preventing CPQFC driver from building
From: Alan Eldridge <alane@xxxxxxxxxxxx>
Date: Mon, 17 Sep 2001 22:42:47 -0400
Cc: XFS list <linux-xfs@xxxxxxxxxxx>
In-reply-to: <1000770384.14257.29.camel@xxxxxxxxxxxxxxxxxxxxx>
Organization: a local lack of entropy
References: <20010915131859.A8702@xxxxxxxxxxxxxxxxxxxxx> <20010917180503.A10536@xxxxxxxxxxxxxxxxxxxxx> <1000770384.14257.29.camel@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: alane@xxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
On Monday September 17 2001 19:46, you wrote:

> Yup, that's right in B.C. So how are doing out there right now? Is
> everything back to normal for you?

Reasonably so. I'll go into the office again for the first time tomorrow. 
Subways are running at about 80% normal, which means just a bit more fucked 
up than usual. At least now they're being honest about it being fucked up.

Didn't lose anyone in the disaster. That's a blessing. Life will be running a 
bit slower than normal for a good while here, I think. That's not bad ... NYC 
needs to relax a bit.

Now...

I found the bug. Somebody deleted two #defines from 
linux/include/scsi/scsi.h, that cpqfc needs in order to build. (That was 
smart.)
---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<---
--- linux/include/scsi/scsi.h.ioctl_fc  Wed May  2 02:22:13 2001
+++ linux/include/scsi/scsi.h   Mon Sep 17 20:41:38 2001
@@ -214,6 +214,14 @@
 /* Used to get the PCI location of a device */
 #define SCSI_IOCTL_GET_PCI 0x5387

+#ifndef NO_IOCTL_FC
+/* These got removed somehow and broke the CPQFC driver */
+/* Used to get Fibre Channel WWN and port_id from device */
+#define SCSI_IOCTL_FC_TARGET_ADDRESS 0x5387
+/* Used to invoke Target Defice Reset for Fibre Channel */
+#define SCSI_IOCTL_FC_TDR 0x5388
+#endif /* ifndef NO_IOCTL_FC */
+
 /*
  * Overrides for Emacs so that we follow Linus's tabbing style.
  * Emacs will notice this stuff at the end of the file and automatically
---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<-snip---8<---

I'll let you know when it's building everything correctly.


-- 
Alan Eldridge
from std_disclaimer import *


<Prev in Thread] Current Thread [Next in Thread>
  • Found bug preventing CPQFC driver from building, Alan Eldridge <=