xref: /linux/Documentation/scsi/ChangeLog.megaraid (revision 672b2d38da4fff4c4452685a25fb88b65243d1a6)
1*672b2d38SJu, Seokmann Release Date	: Mon Mar 07 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com>
2*672b2d38SJu, Seokmann Current Version : 2.20.4.6 (scsi module), 2.20.2.6 (cmm module)
3*672b2d38SJu, Seokmann Older Version	: 2.20.4.5 (scsi module), 2.20.2.5 (cmm module)
4*672b2d38SJu, Seokmann 
5*672b2d38SJu, Seokmann 1.	Added IOCTL backward compatibility.
6*672b2d38SJu, Seokmann 	Convert megaraid_mm driver to new compat_ioctl entry points.
7*672b2d38SJu, Seokmann 	I don't have easy access to hardware, so only compile tested.
8*672b2d38SJu, Seokmann 		- Signed-off-by:Andi Kleen <ak@muc.de>
9*672b2d38SJu, Seokmann 
10*672b2d38SJu, Seokmann 2.	megaraid_mbox fix: wrong order of arguments in memset()
11*672b2d38SJu, Seokmann 	That, BTW, shows why cross-builds are useful-the only indication of
12*672b2d38SJu, Seokmann 	problem had been a new warning showing up in sparse output on alpha
13*672b2d38SJu, Seokmann 	build (number of exceeding 256 got truncated).
14*672b2d38SJu, Seokmann 		- Signed-off-by: Al Viro
15*672b2d38SJu, Seokmann 		<viro@parcelfarce.linux.theplanet.co.uk>
16*672b2d38SJu, Seokmann 
17*672b2d38SJu, Seokmann 3.	Convert pci_module_init to pci_register_driver
18*672b2d38SJu, Seokmann 	Convert from pci_module_init to pci_register_driver
19*672b2d38SJu, Seokmann 	(from:http://kerneljanitors.org/TODO)
20*672b2d38SJu, Seokmann 		- Signed-off-by: Domen Puncer <domen@coderock.org>
21*672b2d38SJu, Seokmann 
22*672b2d38SJu, Seokmann 4.	Use the pre defined DMA mask constants from dma-mapping.h
23*672b2d38SJu, Seokmann 	Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h when calling
24*672b2d38SJu, Seokmann 	pci_set_dma_mask() or pci_set_consistend_dma_mask(). See
25*672b2d38SJu, Seokmann 	http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for more
26*672b2d38SJu, Seokmann 	details.
27*672b2d38SJu, Seokmann 		Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
28*672b2d38SJu, Seokmann 		Signed-off-by: Domen Puncer <domen@coderock.org>
29*672b2d38SJu, Seokmann 
30*672b2d38SJu, Seokmann 5.	Remove SSID checking for Dobson, Lindsay, and Verde based products.
31*672b2d38SJu, Seokmann 	Checking the SSVID/SSID for controllers which have Dobson, Lindsay,
32*672b2d38SJu, Seokmann 	and Verde is unnecessary because device ID has been assigned by LSI
33*672b2d38SJu, Seokmann 	and it is unique value. So, all controllers with these IOPs have to be
34*672b2d38SJu, Seokmann 	supported by the driver regardless SSVID/SSID.
35*672b2d38SJu, Seokmann 
36*672b2d38SJu, Seokmann 6.	Date Thu, 27 Jan 2005 04:31:09 +0100
37*672b2d38SJu, Seokmann 	From Herbert Poetzl <>
38*672b2d38SJu, Seokmann 	Subject RFC: assert_spin_locked() for 2.6
39*672b2d38SJu, Seokmann 
40*672b2d38SJu, Seokmann 	Greetings!
41*672b2d38SJu, Seokmann 
42*672b2d38SJu, Seokmann 	overcautious programming will kill your kernel ;)
43*672b2d38SJu, Seokmann 	ever thought about checking a spin_lock or even
44*672b2d38SJu, Seokmann 	asserting that it must be held (maybe just for
45*672b2d38SJu, Seokmann 	spinlock debugging?) ...
46*672b2d38SJu, Seokmann 
47*672b2d38SJu, Seokmann 	there are several checks present in the kernel
48*672b2d38SJu, Seokmann 	where somebody does a variation on the following:
49*672b2d38SJu, Seokmann 
50*672b2d38SJu, Seokmann 	  BUG_ON(!spin_is_locked(&some_lock));
51*672b2d38SJu, Seokmann 
52*672b2d38SJu, Seokmann 	so what's wrong about that? nothing, unless you
53*672b2d38SJu, Seokmann 	compile the code with CONFIG_DEBUG_SPINLOCK but
54*672b2d38SJu, Seokmann 	without CONFIG_SMP ... in which case the BUG()
55*672b2d38SJu, Seokmann 	will kill your kernel ...
56*672b2d38SJu, Seokmann 
57*672b2d38SJu, Seokmann 	maybe it's not advised to make such assertions,
58*672b2d38SJu, Seokmann 	but here is a solution which works for me ...
59*672b2d38SJu, Seokmann 	(compile tested for sh, x86_64 and x86, boot/run
60*672b2d38SJu, Seokmann 	tested for x86 only)
61*672b2d38SJu, Seokmann 
62*672b2d38SJu, Seokmann 	best,
63*672b2d38SJu, Seokmann 	Herbert
64*672b2d38SJu, Seokmann 
65*672b2d38SJu, Seokmann 		- Herbert Poetzl <herbert@13thfloor.at>, Thu, 27 Jan 2005
66*672b2d38SJu, Seokmann 
671da177e4SLinus TorvaldsRelease Date	: Thu Feb 03 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com>
681da177e4SLinus TorvaldsCurrent Version	: 2.20.4.5 (scsi module), 2.20.2.5 (cmm module)
691da177e4SLinus TorvaldsOlder Version	: 2.20.4.4 (scsi module), 2.20.2.4 (cmm module)
701da177e4SLinus Torvalds
711da177e4SLinus Torvalds1.	Modified name of two attributes in scsi_host_template.
721da177e4SLinus Torvalds	On Wed, 2005-02-02 at 10:56 -0500, Ju, Seokmann wrote:
731da177e4SLinus Torvalds	> +	.sdev_attrs			= megaraid_device_attrs,
741da177e4SLinus Torvalds	> +	.shost_attrs			= megaraid_class_device_attrs,
751da177e4SLinus Torvalds
761da177e4SLinus Torvalds	These are, perhaps, slightly confusing names.
771da177e4SLinus Torvalds	The terms device and class_device have well defined meanings in the
781da177e4SLinus Torvalds	generic device model, neither of which is what you mean here.
791da177e4SLinus Torvalds	Why not simply megaraid_sdev_attrs and megaraid_shost_attrs?
801da177e4SLinus Torvalds
811da177e4SLinus Torvalds	Other than this, it looks fine to me too.
821da177e4SLinus Torvalds
831da177e4SLinus TorvaldsRelease Date	: Thu Jan 27 00:01:03 EST 2005 - Atul Mukker <atulm@lsil.com>
841da177e4SLinus TorvaldsCurrent Version	: 2.20.4.4 (scsi module), 2.20.2.5 (cmm module)
851da177e4SLinus TorvaldsOlder Version	: 2.20.4.3 (scsi module), 2.20.2.4 (cmm module)
861da177e4SLinus Torvalds
871da177e4SLinus Torvalds1.	Bump up the version of scsi module due to its conflict.
881da177e4SLinus Torvalds
891da177e4SLinus TorvaldsRelease Date	: Thu Jan 21 00:01:03 EST 2005 - Atul Mukker <atulm@lsil.com>
901da177e4SLinus TorvaldsCurrent Version	: 2.20.4.3 (scsi module), 2.20.2.5 (cmm module)
911da177e4SLinus TorvaldsOlder Version	: 2.20.4.2 (scsi module), 2.20.2.4 (cmm module)
921da177e4SLinus Torvalds
931da177e4SLinus Torvalds1.	Remove driver ioctl for logical drive to scsi address translation and
941da177e4SLinus Torvalds	replace with the sysfs attribute. To remove drives and change
951da177e4SLinus Torvalds	capacity, application shall now use the device attribute to get the
961da177e4SLinus Torvalds	logical drive number for a scsi device. For adding newly created
971da177e4SLinus Torvalds	logical drives, class device attribute would be required to uniquely
981da177e4SLinus Torvalds	identify each controller.
991da177e4SLinus Torvalds		- Atul Mukker <atulm@lsil.com>
1001da177e4SLinus Torvalds
1011da177e4SLinus Torvalds	"James, I've been thinking about this a little more, and you may be on
1021da177e4SLinus Torvalds	to something here. Let each driver add files as such:"
1031da177e4SLinus Torvalds
1041da177e4SLinus Torvalds		- Matt Domsch <Matt_Domsch@dell.com>, 12.15.2004
1051da177e4SLinus Torvalds		 linux-scsi mailing list
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvalds	"Then, if you simply publish your LD number as an extra parameter of
1091da177e4SLinus Torvalds	the device, you can look through /sys to find it."
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvalds		- James Bottomley <James.Bottomley@SteelEye.com>, 01.03.2005
1121da177e4SLinus Torvalds		 linux-scsi mailing list
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvalds
1151da177e4SLinus Torvalds	"I don't see why not ... it's your driver, you can publish whatever
1161da177e4SLinus Torvalds	extra information you need as scsi_device attributes; that was one of
1171da177e4SLinus Torvalds	the designs of the extensible attribute system."
1181da177e4SLinus Torvalds
1191da177e4SLinus Torvalds		- James Bottomley <James.Bottomley@SteelEye.com>, 01.06.2005
1201da177e4SLinus Torvalds		 linux-scsi mailing list
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvalds2.	Add AMI megaraid support - Brian King <brking@charter.net>
1231da177e4SLinus Torvalds		PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID3,
1241da177e4SLinus Torvalds		PCI_VENDOR_ID_AMI, PCI_SUBSYS_ID_PERC3_DC,
1251da177e4SLinus Torvalds
1261da177e4SLinus Torvalds3.	Make some code static - Adrian Bunk <bunk@stusta.de>
1271da177e4SLinus Torvalds	Date:	Mon, 15 Nov 2004 03:14:57 +0100
1281da177e4SLinus Torvalds
1291da177e4SLinus Torvalds	The patch below makes some needlessly global code static.
1301da177e4SLinus Torvalds	-wait_queue_head_t wait_q;
1311da177e4SLinus Torvalds	+static wait_queue_head_t wait_q;
1321da177e4SLinus Torvalds
1331da177e4SLinus Torvalds	Signed-off-by: Adrian Bunk <bunk@stusta.de>
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvalds4.	Added NEC ROMB support - NEC MegaRAID PCI Express ROMB controller
1361da177e4SLinus Torvalds		PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_MEGARAID_NEC_ROMB_2E,
1371da177e4SLinus Torvalds		PCI_SUBSYS_ID_NEC, PCI_SUBSYS_ID_MEGARAID_NEC_ROMB_2E,
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvalds5.	Fixed Tape drive issue : For any Direct CDB command to physical device
1401da177e4SLinus Torvalds	including tape, timeout value set by driver was 10 minutes. With this
1411da177e4SLinus Torvalds	value, most of command will return within timeout. However, for those
1421da177e4SLinus Torvalds	command like ERASE or FORMAT, it takes more than an hour depends on
1431da177e4SLinus Torvalds	capacity of the device and the command could be terminated before it
1441da177e4SLinus Torvalds	completes.
1451da177e4SLinus Torvalds	To address this issue, the 'timeout' field in the DCDB command will
1461da177e4SLinus Torvalds	have NO TIMEOUT (i.e., 4) value as its timeout on DCDB command.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvalds
1491da177e4SLinus Torvalds
1501da177e4SLinus TorvaldsRelease Date	: Thu Dec  9 19:10:23 EST 2004
1511da177e4SLinus Torvalds	- Sreenivas Bagalkote <sreenib@lsil.com>
1521da177e4SLinus Torvalds
1531da177e4SLinus TorvaldsCurrent Version	: 2.20.4.2 (scsi module), 2.20.2.4 (cmm module)
1541da177e4SLinus TorvaldsOlder Version	: 2.20.4.1 (scsi module), 2.20.2.3 (cmm module)
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvaldsi.	Introduced driver ioctl that returns scsi address for a given ld.
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvalds	"Why can't the existing sysfs interfaces be used to do this?"
1591da177e4SLinus Torvalds		- Brian King (brking@us.ibm.com)
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvalds	"I've looked into solving this another way, but I cannot see how
1621da177e4SLinus Torvalds	to get this driver-private mapping of logical drive number-> HCTL
1631da177e4SLinus Torvalds	without putting code something like this into the driver."
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvalds	"...and by providing a mapping a function to userspace, the driver
1661da177e4SLinus Torvalds	is free to change its mapping algorithm in the future if necessary .."
1671da177e4SLinus Torvalds		- Matt Domsch (Matt_Domsch@dell.com)
1681da177e4SLinus Torvalds
1691da177e4SLinus TorvaldsRelease Date	: Thu Dec  9 19:02:14 EST 2004 - Sreenivas Bagalkote <sreenib@lsil.com>
1701da177e4SLinus Torvalds
1711da177e4SLinus TorvaldsCurrent Version	: 2.20.4.1 (scsi module), 2.20.2.3 (cmm module)
1721da177e4SLinus TorvaldsOlder Version	: 2.20.4.1 (scsi module), 2.20.2.2 (cmm module)
1731da177e4SLinus Torvalds
1741da177e4SLinus Torvaldsi.	Fix a bug in kioc's dma buffer deallocation
1751da177e4SLinus Torvalds
1761da177e4SLinus TorvaldsRelease Date	: Thu Nov  4 18:24:56 EST 2004 - Sreenivas Bagalkote <sreenib@lsil.com>
1771da177e4SLinus Torvalds
1781da177e4SLinus TorvaldsCurrent Version	: 2.20.4.1 (scsi module), 2.20.2.2 (cmm module)
1791da177e4SLinus TorvaldsOlder Version	: 2.20.4.0 (scsi module), 2.20.2.1 (cmm module)
1801da177e4SLinus Torvalds
1811da177e4SLinus Torvaldsi.	Handle IOCTL cmd timeouts more properly.
1821da177e4SLinus Torvalds
1831da177e4SLinus Torvaldsii.	pci_dma_sync_{sg,single}_for_cpu was introduced into megaraid_mbox
1841da177e4SLinus Torvalds	incorrectly (instead of _for_device). Changed to appropriate
1851da177e4SLinus Torvalds	pci_dma_sync_{sg,single}_for_device.
1861da177e4SLinus Torvalds
1871da177e4SLinus TorvaldsRelease Date	: Wed Oct 06 11:15:29 EDT 2004 - Sreenivas Bagalkote <sreenib@lsil.com>
1881da177e4SLinus TorvaldsCurrent Version	: 2.20.4.0 (scsi module), 2.20.2.1 (cmm module)
1891da177e4SLinus TorvaldsOlder Version	: 2.20.4.0 (scsi module), 2.20.2.0 (cmm module)
1901da177e4SLinus Torvalds
1911da177e4SLinus Torvaldsi.	Remove CONFIG_COMPAT around register_ioctl32_conversion
1921da177e4SLinus Torvalds
1931da177e4SLinus TorvaldsRelease Date	: Mon Sep 27 22:15:07 EDT 2004 - Atul Mukker <atulm@lsil.com>
1941da177e4SLinus TorvaldsCurrent Version	: 2.20.4.0 (scsi module), 2.20.2.0 (cmm module)
1951da177e4SLinus TorvaldsOlder Version	: 2.20.3.1 (scsi module), 2.20.2.0 (cmm module)
1961da177e4SLinus Torvalds
1971da177e4SLinus Torvaldsi.	Fix data corruption. Because of a typo in the driver, the IO packets
1981da177e4SLinus Torvalds	were wrongly shared by the ioctl path. This causes a whole IO command
1991da177e4SLinus Torvalds	to be replaced by an incoming ioctl command.
2001da177e4SLinus Torvalds
2011da177e4SLinus TorvaldsRelease Date	: Tue Aug 24 09:43:35 EDT 2004 - Atul Mukker <atulm@lsil.com>
2021da177e4SLinus TorvaldsCurrent Version	: 2.20.3.1 (scsi module), 2.20.2.0 (cmm module)
2031da177e4SLinus TorvaldsOlder Version	: 2.20.3.0 (scsi module), 2.20.2.0 (cmm module)
2041da177e4SLinus Torvalds
2051da177e4SLinus Torvaldsi.	Function reordering so that inline functions are defined before they
2061da177e4SLinus Torvalds	are actually used. It is now mandatory for GCC 3.4.1 (current stable)
2071da177e4SLinus Torvalds
2081da177e4SLinus Torvalds	Declare some heavy-weight functions to be non-inlined,
2091da177e4SLinus Torvalds	megaraid_mbox_build_cmd, megaraid_mbox_runpendq,
2101da177e4SLinus Torvalds	megaraid_mbox_prepare_pthru, megaraid_mbox_prepare_epthru,
2111da177e4SLinus Torvalds	megaraid_busywait_mbox
2121da177e4SLinus Torvalds
2131da177e4SLinus Torvalds		- Andrew Morton <akpm@osdl.org>, 08.19.2004
2141da177e4SLinus Torvalds		linux-scsi mailing list
2151da177e4SLinus Torvalds
2161da177e4SLinus Torvalds	"Something else to clean up after inclusion: every instance of an
2171da177e4SLinus Torvalds	inline function is actually rendered as a full function call, because
2181da177e4SLinus Torvalds	the function is always used before it is defined.  Atul, please
2191da177e4SLinus Torvalds	re-arrange the code to eliminate the need for most (all) of the
2201da177e4SLinus Torvalds	function prototypes at the top of each file, and define (not just
2211da177e4SLinus Torvalds	declare with a prototype) each inline function before its first use"
2221da177e4SLinus Torvalds
2231da177e4SLinus Torvalds		- Matt Domsch <Matt_Domsch@dell.com>, 07.27.2004
2241da177e4SLinus Torvalds		linux-scsi mailing list
2251da177e4SLinus Torvalds
2261da177e4SLinus Torvalds
2271da177e4SLinus Torvaldsii.	Display elapsed time (countdown) while waiting for FW to boot.
2281da177e4SLinus Torvalds
2291da177e4SLinus Torvaldsiii.	Module compilation reorder in Makefile so that unresolved symbols do
2301da177e4SLinus Torvalds	not occur when driver is compiled non-modular.
2311da177e4SLinus Torvalds
2321da177e4SLinus Torvalds		Patrick J. LoPresti <patl@users.sourceforge.net>, 8.22.2004
2331da177e4SLinus Torvalds		linux-scsi mailing list
2341da177e4SLinus Torvalds
2351da177e4SLinus Torvalds
2361da177e4SLinus TorvaldsRelease Date	: Thu Aug 19 09:58:33 EDT 2004 - Atul Mukker <atulm@lsil.com>
2371da177e4SLinus TorvaldsCurrent Version	: 2.20.3.0 (scsi module), 2.20.2.0 (cmm module)
2381da177e4SLinus TorvaldsOlder Version	: 2.20.2.0 (scsi module), 2.20.1.0 (cmm module)
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvaldsi.	When copying the mailbox packets, copy only first 14 bytes (for 32-bit
2411da177e4SLinus Torvalds	mailboxes) and only first 22 bytes (for 64-bit mailboxes). This is to
2421da177e4SLinus Torvalds	avoid getting the stale values for busy bit. We want to set the busy
2431da177e4SLinus Torvalds	bit just before issuing command to the FW.
2441da177e4SLinus Torvalds
2451da177e4SLinus Torvaldsii.	In the reset handling, if the reseted command is not owned by the
2461da177e4SLinus Torvalds	driver, do not (wrongly) print information for the "attached" driver
2471da177e4SLinus Torvalds	packet.
2481da177e4SLinus Torvalds
2491da177e4SLinus Torvaldsiii.	Have extended wait when issuing command in synchronous mode. This is
2501da177e4SLinus Torvalds	required for the cases where the option ROM is disabled and there is
2511da177e4SLinus Torvalds	no BIOS to start the controller. The FW starts to boot after receiving
2521da177e4SLinus Torvalds	the first command from the driver. The current driver has 1 second
2531da177e4SLinus Torvalds	timeout for the synchronous commands, which is far less than what is
2541da177e4SLinus Torvalds	actually required. We now wait up to MBOX_RESET_TIME (180 seconds) for
2551da177e4SLinus Torvalds	FW boot process.
2561da177e4SLinus Torvalds
2571da177e4SLinus Torvaldsiv.	In megaraid_mbox_product_info, clear the mailbox contents completely
2581da177e4SLinus Torvalds	before preparing the command for inquiry3. This is to ensure that the
2591da177e4SLinus Torvalds	FW does not get junk values in the command.
2601da177e4SLinus Torvalds
2611da177e4SLinus Torvaldsv.	Do away with the redundant LSI_CONFIG_COMPAT redefinition for
2621da177e4SLinus Torvalds	CONFIG_COMPAT. Replace <asm/ioctl32.h> with <linux/ioctl32.h>
2631da177e4SLinus Torvalds
2641da177e4SLinus Torvalds		- James Bottomley <James.Bottomley@SteelEye.com>, 08.17.2004
2651da177e4SLinus Torvalds		 linux-scsi mailing list
2661da177e4SLinus Torvalds
2671da177e4SLinus Torvaldsvi.	Add support for 64-bit applications. Current drivers assume only
2681da177e4SLinus Torvalds	32-bit applications, even on 64-bit platforms. Use the "data" and
2691da177e4SLinus Torvalds	"buffer" fields of the mimd_t structure, instead of embedded 32-bit
2701da177e4SLinus Torvalds	addresses in application mailbox and passthru structures.
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvaldsvii.	Move the function declarations for the management module from
2731da177e4SLinus Torvalds	megaraid_mm.h to megaraid_mm.c
2741da177e4SLinus Torvalds
2751da177e4SLinus Torvalds		- Andrew Morton <akpm@osdl.org>, 08.19.2004
2761da177e4SLinus Torvalds		linux-scsi mailing list
2771da177e4SLinus Torvalds
2781da177e4SLinus Torvaldsviii.	Change default values for MEGARAID_NEWGEN, MEGARAID_MM, and
2791da177e4SLinus Torvalds	MEGARAID_MAILBOX to 'n' in Kconfig.megaraid
2801da177e4SLinus Torvalds
2811da177e4SLinus Torvalds		- Andrew Morton <akpm@osdl.org>, 08.19.2004
2821da177e4SLinus Torvalds		linux-scsi mailing list
2831da177e4SLinus Torvalds
2841da177e4SLinus Torvaldsix.	replace udelay with msleep
2851da177e4SLinus Torvalds
2861da177e4SLinus Torvaldsx.	Typos corrected in comments and whitespace adjustments, explicit
2871da177e4SLinus Torvalds	grouping of expressions.
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvalds
2901da177e4SLinus TorvaldsRelease Date	: Fri Jul 23 15:22:07 EDT 2004 - Atul Mukker <atulm@lsil.com>
2911da177e4SLinus TorvaldsCurrent Version	: 2.20.2.0 (scsi module), 2.20.1.0 (cmm module)
2921da177e4SLinus TorvaldsOlder Version	: 2.20.1.0 (scsi module), 2.20.0.0 (cmm module)
2931da177e4SLinus Torvalds
2941da177e4SLinus Torvaldsi.	Add PCI ids for Acer ROMB 2E solution
2951da177e4SLinus Torvalds
2961da177e4SLinus Torvaldsii.	Add PCI ids for I4
2971da177e4SLinus Torvalds
2981da177e4SLinus Torvaldsiii.	Typo corrected for subsys id for megaraid sata 300-4x
2991da177e4SLinus Torvalds
3001da177e4SLinus Torvaldsiv.	Remove yield() while mailbox handshake in synchronous commands
3011da177e4SLinus Torvalds
3021da177e4SLinus Torvalds
3031da177e4SLinus Torvalds	"My other main gripe is things like this:
3041da177e4SLinus Torvalds
3051da177e4SLinus Torvalds	+	// wait for maximum 1 second for status to post
3061da177e4SLinus Torvalds	+	for (i = 0; i < 40000; i++) {
3071da177e4SLinus Torvalds	+		if (mbox->numstatus != 0xFF) break;
3081da177e4SLinus Torvalds	+		udelay(25); yield();
3091da177e4SLinus Torvalds	+	}
3101da177e4SLinus Torvalds
3111da177e4SLinus Torvalds	which litter the driver.  Use of yield() in drivers is deprecated."
3121da177e4SLinus Torvalds
3131da177e4SLinus Torvalds		- James Bottomley <James.Bottomley@SteelEye.com>, 07.14.2004
3141da177e4SLinus Torvalds		 linux-scsi mailing list
3151da177e4SLinus Torvalds
3161da177e4SLinus Torvaldsv.	Remove redundant __megaraid_busywait_mbox routine
3171da177e4SLinus Torvalds
3181da177e4SLinus Torvaldsvi.	Fix bug in the managment module, which causes a system lockup when the
3191da177e4SLinus Torvalds	IO module is loaded and then unloaded, followed by executing any
3201da177e4SLinus Torvalds	management utility. The current version of management module does not
3211da177e4SLinus Torvalds	handle the adapter unregister properly.
3221da177e4SLinus Torvalds
3231da177e4SLinus Torvalds	Specifically, it still keeps a reference to the unregistered
3241da177e4SLinus Torvalds	controllers. To avoid this, the static array adapters has been
3251da177e4SLinus Torvalds	replaced by a dynamic list, which gets updated every time an adapter
3261da177e4SLinus Torvalds	is added or removed.
3271da177e4SLinus Torvalds
3281da177e4SLinus Torvalds	Also, during unregistration of the IO module, the resources are
3291da177e4SLinus Torvalds	now released in the exact reverse order of the allocation time
3301da177e4SLinus Torvalds	sequence.
3311da177e4SLinus Torvalds
3321da177e4SLinus Torvalds
3331da177e4SLinus TorvaldsRelease Date	: Fri Jun 25 18:58:43 EDT 2004 - Atul Mukker <atulm@lsil.com>
3341da177e4SLinus TorvaldsCurrent Version	: 2.20.1.0
3351da177e4SLinus TorvaldsOlder Version	: megaraid 2.20.0.1
3361da177e4SLinus Torvalds
3371da177e4SLinus Torvaldsi.	Stale list pointer in adapter causes kernel panic when module
3381da177e4SLinus Torvalds	megaraid_mbox is unloaded
3391da177e4SLinus Torvalds
3401da177e4SLinus Torvalds
3411da177e4SLinus TorvaldsRelease Date	: Thu Jun 24 20:37:11 EDT 2004 - Atul Mukker <atulm@lsil.com>
3421da177e4SLinus TorvaldsCurrent Version	: 2.20.0.1
3431da177e4SLinus TorvaldsOlder Version	: megaraid 2.20.0.00
3441da177e4SLinus Torvalds
3451da177e4SLinus Torvaldsi.	Modules are not 'y' by default, but depend on current definition of
3461da177e4SLinus Torvalds	SCSI & PCI.
3471da177e4SLinus Torvalds
3481da177e4SLinus Torvaldsii.	Redundant structure mraid_driver_t removed.
3491da177e4SLinus Torvalds
3501da177e4SLinus Torvaldsiii.	Miscellaneous indentation and goto/label fixes.
3511da177e4SLinus Torvalds		- Christoph Hellwig <hch@infradead.org>, 06.24.2004 linux-scsi
3521da177e4SLinus Torvalds
3531da177e4SLinus Torvaldsiv.	scsi_host_put(), do just before completing HBA shutdown.
3541da177e4SLinus Torvalds
3551da177e4SLinus Torvalds
3561da177e4SLinus Torvalds
3571da177e4SLinus TorvaldsRelease Date	: Mon Jun 21 19:53:54 EDT 2004 - Atul Mukker <atulm@lsil.com>
3581da177e4SLinus TorvaldsCurrent Version	: 2.20.0.0
3591da177e4SLinus TorvaldsOlder Version	: megaraid 2.20.0.rc2 and 2.00.3
3601da177e4SLinus Torvalds
3611da177e4SLinus Torvaldsi.	Independent module to interact with userland applications and
3621da177e4SLinus Torvalds	multiplex command to low level RAID module(s).
3631da177e4SLinus Torvalds
3641da177e4SLinus Torvalds	"Shared code in a third module, a "library module", is an acceptable
3651da177e4SLinus Torvalds	solution. modprobe automatically loads dependent modules, so users
3661da177e4SLinus Torvalds	running "modprobe driver1" or "modprobe driver2" would automatically
3671da177e4SLinus Torvalds	load the shared library module."
3681da177e4SLinus Torvalds
3691da177e4SLinus Torvalds		- Jeff Garzik <jgarzik@pobox.com> 02.25.2004 LKML
3701da177e4SLinus Torvalds
3711da177e4SLinus Torvalds	"As Jeff hinted, if your userspace<->driver API is consistent between
3721da177e4SLinus Torvalds	your new MPT-based RAID controllers and your existing megaraid driver,
3731da177e4SLinus Torvalds	then perhaps you need a single small helper module (lsiioctl or some
3741da177e4SLinus Torvalds	better name), loaded by both mptraid and megaraid automatically, which
3751da177e4SLinus Torvalds	handles registering the /dev/megaraid node dynamically. In this case,
3761da177e4SLinus Torvalds	both mptraid and megaraid would register with lsiioctl for each
3771da177e4SLinus Torvalds	adapter discovered, and lsiioctl would essentially be a switch,
3781da177e4SLinus Torvalds	redirecting userspace tool ioctls to the appropriate driver."
3791da177e4SLinus Torvalds
3801da177e4SLinus Torvalds		- Matt Domsch <Matt_Domsch@dell.com> 02.25.2004 LKML
3811da177e4SLinus Torvalds
3821da177e4SLinus Torvaldsii.	Remove C99 initializations from pci_device id.
3831da177e4SLinus Torvalds
3841da177e4SLinus Torvalds	"pci_id_table_g would be much more readable when not using C99
3851da177e4SLinus Torvalds	initializers.
3861da177e4SLinus Torvalds	PCI table doesn't change, there's lots of users that prefer the more
3871da177e4SLinus Torvalds	readable variant.  And it's really far less and much easier to grok
3881da177e4SLinus Torvalds	lines without C99 initializers."
3891da177e4SLinus Torvalds
3901da177e4SLinus Torvalds		- Christoph Hellwig <hch@infradead.org>, 05.28.2004 linux-scsi
3911da177e4SLinus Torvalds
3921da177e4SLinus Torvaldsiii.	Many fixes as suggested by Christoph Hellwig <hch@infradead.org> on
3931da177e4SLinus Torvalds	linux-scsi, 05.28.2004
3941da177e4SLinus Torvalds
3951da177e4SLinus Torvaldsiv.	We now support up to 32 parallel ioctl commands instead of current 1.
3961da177e4SLinus Torvalds	There is a conscious effort to let memory allocation not fail for ioctl
3971da177e4SLinus Torvalds	commands.
3981da177e4SLinus Torvalds
3991da177e4SLinus Torvaldsv.	Do away with internal memory management. Use pci_pool_(create|alloc)
4001da177e4SLinus Torvalds	instead.
4011da177e4SLinus Torvalds
4021da177e4SLinus Torvaldsvi.	Kill tasklet when unloading the driver.
4031da177e4SLinus Torvalds
4041da177e4SLinus Torvaldsvii.	Do not use "host_lock', driver has fine-grain locks now to protect all
4051da177e4SLinus Torvalds	data structures.
4061da177e4SLinus Torvalds
4071da177e4SLinus Torvaldsviii.	Optimize the build scatter-gather list routine. The callers already
4081da177e4SLinus Torvalds	know the data transfer address and length.
4091da177e4SLinus Torvalds
4101da177e4SLinus Torvaldsix.	Better implementation of error handling and recovery. Driver now
4111da177e4SLinus Torvalds	performs extended errors recovery for instances like scsi cable pull.
4121da177e4SLinus Torvalds
4131da177e4SLinus Torvaldsx.	Disassociate the management commands with an overlaid scsi command.
4141da177e4SLinus Torvalds	Driver now treats the management packets as special packets and has a
4151da177e4SLinus Torvalds	dedicated callback routine.
416