Re: Linux megaraid 1.05 driver patch for doing pass-through ioctl

Matt_Domsch@Dell.com
Fri, 3 Dec 1999 12:54:41 -0600


While you may wish to do this on an individual basis, this will indeed cause
the megamgr MegaRAID configuration utility to not work. Please do not
include this as an official patch of the megaraid 1.05 driver.

Thanks,
Matt Domsch
ESG Linux Development
Dell Computer Corporation

From: ard@wau.mis.ah.nl
Date: Fri, 3 Dec 1999 17:07:26 +0100
Subject: Linux megaraid 1.05 driver patch for doing pass-through ioctl's

Hi,
While trying to do some pass through commands using the megaraid 466 card=
,
I got some bizarre error conditions.
The problem was that the megaraid driver just returned the status without
massageing it into linux-friendly values.
Resulting of course in scsi_obsolete errors and requeueing the command.
This patch fixes this by ALWAYS returning DID_BAD_DRIVE on any status
condition for ioctl's on the megaraid host-adapter.
This patch will not influence normal behavior, but it might however have
influence on the megamgr program (which I am not using anyway), that does
do ioctl's on the host-adapter.
(patch deleted for brevity)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/