ChangeLog.megaraid 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543
  1. Release Date : Fri May 19 09:31:45 EST 2006 - Seokmann Ju <sju@lsil.com>
  2. Current Version : 2.20.4.9 (scsi module), 2.20.2.6 (cmm module)
  3. Older Version : 2.20.4.8 (scsi module), 2.20.2.6 (cmm module)
  4. 1. Fixed a bug in megaraid_init_mbox().
  5. Customer reported "garbage in file on x86_64 platform".
  6. Root Cause: the driver registered controllers as 64-bit DMA capable
  7. for those which are not support it.
  8. Fix: Made change in the function inserting identification machanism
  9. identifying 64-bit DMA capable controllers.
  10. > -----Original Message-----
  11. > From: Vasily Averin [mailto:vvs@sw.ru]
  12. > Sent: Thursday, May 04, 2006 2:49 PM
  13. > To: linux-scsi@vger.kernel.org; Kolli, Neela; Mukker, Atul;
  14. > Ju, Seokmann; Bagalkote, Sreenivas;
  15. > James.Bottomley@SteelEye.com; devel@openvz.org
  16. > Subject: megaraid_mbox: garbage in file
  17. >
  18. > Hello all,
  19. >
  20. > I've investigated customers claim on the unstable work of
  21. > their node and found a
  22. > strange effect: reading from some files leads to the
  23. > "attempt to access beyond end of device" messages.
  24. >
  25. > I've checked filesystem, memory on the node, motherboard BIOS
  26. > version, but it
  27. > does not help and issue still has been reproduced by simple
  28. > file reading.
  29. >
  30. > Reproducer is simple:
  31. >
  32. > echo 0xffffffff >/proc/sys/dev/scsi/logging_level ;
  33. > cat /vz/private/101/root/etc/ld.so.cache >/tmp/ttt ;
  34. > echo 0 >/proc/sys/dev/scsi/logging
  35. >
  36. > It leads to the following messages in dmesg
  37. >
  38. > sd_init_command: disk=sda, block=871769260, count=26
  39. > sda : block=871769260
  40. > sda : reading 26/26 512 byte blocks.
  41. > scsi_add_timer: scmd: f79ed980, time: 7500, (c02b1420)
  42. > sd 0:1:0:0: send 0xf79ed980 sd 0:1:0:0:
  43. > command: Read (10): 28 00 33 f6 24 ac 00 00 1a 00
  44. > buffer = 0xf7cfb540, bufflen = 13312, done = 0xc0366b40,
  45. > queuecommand 0xc0344010
  46. > leaving scsi_dispatch_cmnd()
  47. > scsi_delete_timer: scmd: f79ed980, rtn: 1
  48. > sd 0:1:0:0: done 0xf79ed980 SUCCESS 0 sd 0:1:0:0:
  49. > command: Read (10): 28 00 33 f6 24 ac 00 00 1a 00
  50. > scsi host busy 1 failed 0
  51. > sd 0:1:0:0: Notifying upper driver of completion (result 0)
  52. > sd_rw_intr: sda: res=0x0
  53. > 26 sectors total, 13312 bytes done.
  54. > use_sg is 4
  55. > attempt to access beyond end of device
  56. > sda6: rw=0, want=1044134458, limit=951401367
  57. > Buffer I/O error on device sda6, logical block 522067228
  58. > attempt to access beyond end of device
  59. 2. When INQUIRY with EVPD bit set issued to the MegaRAID controller,
  60. system memory gets corrupted.
  61. Root Cause: MegaRAID F/W handle the INQUIRY with EVPD bit set
  62. incorrectly.
  63. Fix: MegaRAID F/W has fixed the problem and being process of release,
  64. soon. Meanwhile, driver will filter out the request.
  65. Release Date : Mon Apr 11 12:27:22 EST 2006 - Seokmann Ju <sju@lsil.com>
  66. Current Version : 2.20.4.8 (scsi module), 2.20.2.6 (cmm module)
  67. Older Version : 2.20.4.7 (scsi module), 2.20.2.6 (cmm module)
  68. 1. Fixed a bug in megaraid_reset_handler().
  69. Customer reported "Unable to handle kernel NULL pointer dereference
  70. at virtual address 00000000" when system goes to reset condition
  71. for some reason. It happened randomly.
  72. Root Cause: in the megaraid_reset_handler(), there is possibility not
  73. returning pending packets in the pend_list if there are multiple
  74. pending packets.
  75. Fix: Made the change in the driver so that it will return all packets
  76. in the pend_list.
  77. 2. Added change request.
  78. As found in the following URL, rmb() only didn't help the
  79. problem. I had to increase the loop counter to 0xFFFFFF. (6 F's)
  80. http://marc.theaimsgroup.com/?l=linux-scsi&m=110971060502497&w=2
  81. I attached a patch for your reference, too.
  82. Could you check and get this fix in your driver?
  83. Best Regards,
  84. Jun'ichi Nomura
  85. Release Date : Fri Nov 11 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com>
  86. Current Version : 2.20.4.7 (scsi module), 2.20.2.6 (cmm module)
  87. Older Version : 2.20.4.6 (scsi module), 2.20.2.6 (cmm module)
  88. 1. Sorted out PCI IDs to remove megaraid support overlaps.
  89. Based on the patch from Daniel, sorted out PCI IDs along with
  90. charactor node name change from 'megadev' to 'megadev_legacy' to avoid
  91. conflict.
  92. ---
  93. Hopefully we'll be getting the build restriction zapped much sooner,
  94. but we should also be thinking about totally removing the hardware
  95. support overlap in the megaraid drivers.
  96. This patch pencils in a date of Feb 06 for this, and performs some
  97. printk abuse in hope that existing legacy users might pick up on what's
  98. going on.
  99. Signed-off-by: Daniel Drake <dsd@gentoo.org>
  100. ---
  101. 2. Fixed a issue: megaraid always fails to reset handler.
  102. ---
  103. I found that the megaraid driver always fails to reset the
  104. adapter with the following message:
  105. megaraid: resetting the host...
  106. megaraid mbox: reset sequence completed successfully
  107. megaraid: fast sync command timed out
  108. megaraid: reservation reset failed
  109. when the "Cluster mode" of the adapter BIOS is enabled.
  110. So, whenever the reset occurs, the adapter goes to
  111. offline and just become unavailable.
  112. Jun'ichi Nomura [mailto:jnomura@mtc.biglobe.ne.jp]
  113. ---
  114. Release Date : Mon Mar 07 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com>
  115. Current Version : 2.20.4.6 (scsi module), 2.20.2.6 (cmm module)
  116. Older Version : 2.20.4.5 (scsi module), 2.20.2.5 (cmm module)
  117. 1. Added IOCTL backward compatibility.
  118. Convert megaraid_mm driver to new compat_ioctl entry points.
  119. I don't have easy access to hardware, so only compile tested.
  120. - Signed-off-by:Andi Kleen <ak@muc.de>
  121. 2. megaraid_mbox fix: wrong order of arguments in memset()
  122. That, BTW, shows why cross-builds are useful-the only indication of
  123. problem had been a new warning showing up in sparse output on alpha
  124. build (number of exceeding 256 got truncated).
  125. - Signed-off-by: Al Viro
  126. <viro@parcelfarce.linux.theplanet.co.uk>
  127. 3. Convert pci_module_init to pci_register_driver
  128. Convert from pci_module_init to pci_register_driver
  129. (from:http://kerneljanitors.org/TODO)
  130. - Signed-off-by: Domen Puncer <domen@coderock.org>
  131. 4. Use the pre defined DMA mask constants from dma-mapping.h
  132. Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h when calling
  133. pci_set_dma_mask() or pci_set_consistend_dma_mask(). See
  134. http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for more
  135. details.
  136. Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
  137. Signed-off-by: Domen Puncer <domen@coderock.org>
  138. 5. Remove SSID checking for Dobson, Lindsay, and Verde based products.
  139. Checking the SSVID/SSID for controllers which have Dobson, Lindsay,
  140. and Verde is unnecessary because device ID has been assigned by LSI
  141. and it is unique value. So, all controllers with these IOPs have to be
  142. supported by the driver regardless SSVID/SSID.
  143. 6. Date Thu, 27 Jan 2005 04:31:09 +0100
  144. From Herbert Poetzl <>
  145. Subject RFC: assert_spin_locked() for 2.6
  146. Greetings!
  147. overcautious programming will kill your kernel ;)
  148. ever thought about checking a spin_lock or even
  149. asserting that it must be held (maybe just for
  150. spinlock debugging?) ...
  151. there are several checks present in the kernel
  152. where somebody does a variation on the following:
  153. BUG_ON(!spin_is_locked(&some_lock));
  154. so what's wrong about that? nothing, unless you
  155. compile the code with CONFIG_DEBUG_SPINLOCK but
  156. without CONFIG_SMP ... in which case the BUG()
  157. will kill your kernel ...
  158. maybe it's not advised to make such assertions,
  159. but here is a solution which works for me ...
  160. (compile tested for sh, x86_64 and x86, boot/run
  161. tested for x86 only)
  162. best,
  163. Herbert
  164. - Herbert Poetzl <herbert@13thfloor.at>, Thu, 27 Jan 2005
  165. Release Date : Thu Feb 03 12:27:22 EST 2005 - Seokmann Ju <sju@lsil.com>
  166. Current Version : 2.20.4.5 (scsi module), 2.20.2.5 (cmm module)
  167. Older Version : 2.20.4.4 (scsi module), 2.20.2.4 (cmm module)
  168. 1. Modified name of two attributes in scsi_host_template.
  169. On Wed, 2005-02-02 at 10:56 -0500, Ju, Seokmann wrote:
  170. > + .sdev_attrs = megaraid_device_attrs,
  171. > + .shost_attrs = megaraid_class_device_attrs,
  172. These are, perhaps, slightly confusing names.
  173. The terms device and class_device have well defined meanings in the
  174. generic device model, neither of which is what you mean here.
  175. Why not simply megaraid_sdev_attrs and megaraid_shost_attrs?
  176. Other than this, it looks fine to me too.
  177. Release Date : Thu Jan 27 00:01:03 EST 2005 - Atul Mukker <atulm@lsil.com>
  178. Current Version : 2.20.4.4 (scsi module), 2.20.2.5 (cmm module)
  179. Older Version : 2.20.4.3 (scsi module), 2.20.2.4 (cmm module)
  180. 1. Bump up the version of scsi module due to its conflict.
  181. Release Date : Thu Jan 21 00:01:03 EST 2005 - Atul Mukker <atulm@lsil.com>
  182. Current Version : 2.20.4.3 (scsi module), 2.20.2.5 (cmm module)
  183. Older Version : 2.20.4.2 (scsi module), 2.20.2.4 (cmm module)
  184. 1. Remove driver ioctl for logical drive to scsi address translation and
  185. replace with the sysfs attribute. To remove drives and change
  186. capacity, application shall now use the device attribute to get the
  187. logical drive number for a scsi device. For adding newly created
  188. logical drives, class device attribute would be required to uniquely
  189. identify each controller.
  190. - Atul Mukker <atulm@lsil.com>
  191. "James, I've been thinking about this a little more, and you may be on
  192. to something here. Let each driver add files as such:"
  193. - Matt Domsch <Matt_Domsch@dell.com>, 12.15.2004
  194. linux-scsi mailing list
  195. "Then, if you simply publish your LD number as an extra parameter of
  196. the device, you can look through /sys to find it."
  197. - James Bottomley <James.Bottomley@SteelEye.com>, 01.03.2005
  198. linux-scsi mailing list
  199. "I don't see why not ... it's your driver, you can publish whatever
  200. extra information you need as scsi_device attributes; that was one of
  201. the designs of the extensible attribute system."
  202. - James Bottomley <James.Bottomley@SteelEye.com>, 01.06.2005
  203. linux-scsi mailing list
  204. 2. Add AMI megaraid support - Brian King <brking@charter.net>
  205. PCI_VENDOR_ID_AMI, PCI_DEVICE_ID_AMI_MEGARAID3,
  206. PCI_VENDOR_ID_AMI, PCI_SUBSYS_ID_PERC3_DC,
  207. 3. Make some code static - Adrian Bunk <bunk@stusta.de>
  208. Date: Mon, 15 Nov 2004 03:14:57 +0100
  209. The patch below makes some needlessly global code static.
  210. -wait_queue_head_t wait_q;
  211. +static wait_queue_head_t wait_q;
  212. Signed-off-by: Adrian Bunk <bunk@stusta.de>
  213. 4. Added NEC ROMB support - NEC MegaRAID PCI Express ROMB controller
  214. PCI_VENDOR_ID_LSI_LOGIC, PCI_DEVICE_ID_MEGARAID_NEC_ROMB_2E,
  215. PCI_SUBSYS_ID_NEC, PCI_SUBSYS_ID_MEGARAID_NEC_ROMB_2E,
  216. 5. Fixed Tape drive issue : For any Direct CDB command to physical device
  217. including tape, timeout value set by driver was 10 minutes. With this
  218. value, most of command will return within timeout. However, for those
  219. command like ERASE or FORMAT, it takes more than an hour depends on
  220. capacity of the device and the command could be terminated before it
  221. completes.
  222. To address this issue, the 'timeout' field in the DCDB command will
  223. have NO TIMEOUT (i.e., 4) value as its timeout on DCDB command.
  224. Release Date : Thu Dec 9 19:10:23 EST 2004
  225. - Sreenivas Bagalkote <sreenib@lsil.com>
  226. Current Version : 2.20.4.2 (scsi module), 2.20.2.4 (cmm module)
  227. Older Version : 2.20.4.1 (scsi module), 2.20.2.3 (cmm module)
  228. i. Introduced driver ioctl that returns scsi address for a given ld.
  229. "Why can't the existing sysfs interfaces be used to do this?"
  230. - Brian King (brking@us.ibm.com)
  231. "I've looked into solving this another way, but I cannot see how
  232. to get this driver-private mapping of logical drive number-> HCTL
  233. without putting code something like this into the driver."
  234. "...and by providing a mapping a function to userspace, the driver
  235. is free to change its mapping algorithm in the future if necessary .."
  236. - Matt Domsch (Matt_Domsch@dell.com)
  237. Release Date : Thu Dec 9 19:02:14 EST 2004 - Sreenivas Bagalkote <sreenib@lsil.com>
  238. Current Version : 2.20.4.1 (scsi module), 2.20.2.3 (cmm module)
  239. Older Version : 2.20.4.1 (scsi module), 2.20.2.2 (cmm module)
  240. i. Fix a bug in kioc's dma buffer deallocation
  241. Release Date : Thu Nov 4 18:24:56 EST 2004 - Sreenivas Bagalkote <sreenib@lsil.com>
  242. Current Version : 2.20.4.1 (scsi module), 2.20.2.2 (cmm module)
  243. Older Version : 2.20.4.0 (scsi module), 2.20.2.1 (cmm module)
  244. i. Handle IOCTL cmd timeouts more properly.
  245. ii. pci_dma_sync_{sg,single}_for_cpu was introduced into megaraid_mbox
  246. incorrectly (instead of _for_device). Changed to appropriate
  247. pci_dma_sync_{sg,single}_for_device.
  248. Release Date : Wed Oct 06 11:15:29 EDT 2004 - Sreenivas Bagalkote <sreenib@lsil.com>
  249. Current Version : 2.20.4.0 (scsi module), 2.20.2.1 (cmm module)
  250. Older Version : 2.20.4.0 (scsi module), 2.20.2.0 (cmm module)
  251. i. Remove CONFIG_COMPAT around register_ioctl32_conversion
  252. Release Date : Mon Sep 27 22:15:07 EDT 2004 - Atul Mukker <atulm@lsil.com>
  253. Current Version : 2.20.4.0 (scsi module), 2.20.2.0 (cmm module)
  254. Older Version : 2.20.3.1 (scsi module), 2.20.2.0 (cmm module)
  255. i. Fix data corruption. Because of a typo in the driver, the IO packets
  256. were wrongly shared by the ioctl path. This causes a whole IO command
  257. to be replaced by an incoming ioctl command.
  258. Release Date : Tue Aug 24 09:43:35 EDT 2004 - Atul Mukker <atulm@lsil.com>
  259. Current Version : 2.20.3.1 (scsi module), 2.20.2.0 (cmm module)
  260. Older Version : 2.20.3.0 (scsi module), 2.20.2.0 (cmm module)
  261. i. Function reordering so that inline functions are defined before they
  262. are actually used. It is now mandatory for GCC 3.4.1 (current stable)
  263. Declare some heavy-weight functions to be non-inlined,
  264. megaraid_mbox_build_cmd, megaraid_mbox_runpendq,
  265. megaraid_mbox_prepare_pthru, megaraid_mbox_prepare_epthru,
  266. megaraid_busywait_mbox
  267. - Andrew Morton <akpm@osdl.org>, 08.19.2004
  268. linux-scsi mailing list
  269. "Something else to clean up after inclusion: every instance of an
  270. inline function is actually rendered as a full function call, because
  271. the function is always used before it is defined. Atul, please
  272. re-arrange the code to eliminate the need for most (all) of the
  273. function prototypes at the top of each file, and define (not just
  274. declare with a prototype) each inline function before its first use"
  275. - Matt Domsch <Matt_Domsch@dell.com>, 07.27.2004
  276. linux-scsi mailing list
  277. ii. Display elapsed time (countdown) while waiting for FW to boot.
  278. iii. Module compilation reorder in Makefile so that unresolved symbols do
  279. not occur when driver is compiled non-modular.
  280. Patrick J. LoPresti <patl@users.sourceforge.net>, 8.22.2004
  281. linux-scsi mailing list
  282. Release Date : Thu Aug 19 09:58:33 EDT 2004 - Atul Mukker <atulm@lsil.com>
  283. Current Version : 2.20.3.0 (scsi module), 2.20.2.0 (cmm module)
  284. Older Version : 2.20.2.0 (scsi module), 2.20.1.0 (cmm module)
  285. i. When copying the mailbox packets, copy only first 14 bytes (for 32-bit
  286. mailboxes) and only first 22 bytes (for 64-bit mailboxes). This is to
  287. avoid getting the stale values for busy bit. We want to set the busy
  288. bit just before issuing command to the FW.
  289. ii. In the reset handling, if the reseted command is not owned by the
  290. driver, do not (wrongly) print information for the "attached" driver
  291. packet.
  292. iii. Have extended wait when issuing command in synchronous mode. This is
  293. required for the cases where the option ROM is disabled and there is
  294. no BIOS to start the controller. The FW starts to boot after receiving
  295. the first command from the driver. The current driver has 1 second
  296. timeout for the synchronous commands, which is far less than what is
  297. actually required. We now wait up to MBOX_RESET_TIME (180 seconds) for
  298. FW boot process.
  299. iv. In megaraid_mbox_product_info, clear the mailbox contents completely
  300. before preparing the command for inquiry3. This is to ensure that the
  301. FW does not get junk values in the command.
  302. v. Do away with the redundant LSI_CONFIG_COMPAT redefinition for
  303. CONFIG_COMPAT. Replace <asm/ioctl32.h> with <linux/ioctl32.h>
  304. - James Bottomley <James.Bottomley@SteelEye.com>, 08.17.2004
  305. linux-scsi mailing list
  306. vi. Add support for 64-bit applications. Current drivers assume only
  307. 32-bit applications, even on 64-bit platforms. Use the "data" and
  308. "buffer" fields of the mimd_t structure, instead of embedded 32-bit
  309. addresses in application mailbox and passthru structures.
  310. vii. Move the function declarations for the management module from
  311. megaraid_mm.h to megaraid_mm.c
  312. - Andrew Morton <akpm@osdl.org>, 08.19.2004
  313. linux-scsi mailing list
  314. viii. Change default values for MEGARAID_NEWGEN, MEGARAID_MM, and
  315. MEGARAID_MAILBOX to 'n' in Kconfig.megaraid
  316. - Andrew Morton <akpm@osdl.org>, 08.19.2004
  317. linux-scsi mailing list
  318. ix. replace udelay with msleep
  319. x. Typos corrected in comments and whitespace adjustments, explicit
  320. grouping of expressions.
  321. Release Date : Fri Jul 23 15:22:07 EDT 2004 - Atul Mukker <atulm@lsil.com>
  322. Current Version : 2.20.2.0 (scsi module), 2.20.1.0 (cmm module)
  323. Older Version : 2.20.1.0 (scsi module), 2.20.0.0 (cmm module)
  324. i. Add PCI ids for Acer ROMB 2E solution
  325. ii. Add PCI ids for I4
  326. iii. Typo corrected for subsys id for megaraid sata 300-4x
  327. iv. Remove yield() while mailbox handshake in synchronous commands
  328. "My other main gripe is things like this:
  329. + // wait for maximum 1 second for status to post
  330. + for (i = 0; i < 40000; i++) {
  331. + if (mbox->numstatus != 0xFF) break;
  332. + udelay(25); yield();
  333. + }
  334. which litter the driver. Use of yield() in drivers is deprecated."
  335. - James Bottomley <James.Bottomley@SteelEye.com>, 07.14.2004
  336. linux-scsi mailing list
  337. v. Remove redundant __megaraid_busywait_mbox routine
  338. vi. Fix bug in the managment module, which causes a system lockup when the
  339. IO module is loaded and then unloaded, followed by executing any
  340. management utility. The current version of management module does not
  341. handle the adapter unregister properly.
  342. Specifically, it still keeps a reference to the unregistered
  343. controllers. To avoid this, the static array adapters has been
  344. replaced by a dynamic list, which gets updated every time an adapter
  345. is added or removed.
  346. Also, during unregistration of the IO module, the resources are
  347. now released in the exact reverse order of the allocation time
  348. sequence.
  349. Release Date : Fri Jun 25 18:58:43 EDT 2004 - Atul Mukker <atulm@lsil.com>
  350. Current Version : 2.20.1.0
  351. Older Version : megaraid 2.20.0.1
  352. i. Stale list pointer in adapter causes kernel panic when module
  353. megaraid_mbox is unloaded
  354. Release Date : Thu Jun 24 20:37:11 EDT 2004 - Atul Mukker <atulm@lsil.com>
  355. Current Version : 2.20.0.1
  356. Older Version : megaraid 2.20.0.00
  357. i. Modules are not 'y' by default, but depend on current definition of
  358. SCSI & PCI.
  359. ii. Redundant structure mraid_driver_t removed.
  360. iii. Miscellaneous indentation and goto/label fixes.
  361. - Christoph Hellwig <hch@infradead.org>, 06.24.2004 linux-scsi
  362. iv. scsi_host_put(), do just before completing HBA shutdown.
  363. Release Date : Mon Jun 21 19:53:54 EDT 2004 - Atul Mukker <atulm@lsil.com>
  364. Current Version : 2.20.0.0
  365. Older Version : megaraid 2.20.0.rc2 and 2.00.3
  366. i. Independent module to interact with userland applications and
  367. multiplex command to low level RAID module(s).
  368. "Shared code in a third module, a "library module", is an acceptable
  369. solution. modprobe automatically loads dependent modules, so users
  370. running "modprobe driver1" or "modprobe driver2" would automatically
  371. load the shared library module."
  372. - Jeff Garzik <jgarzik@pobox.com> 02.25.2004 LKML
  373. "As Jeff hinted, if your userspace<->driver API is consistent between
  374. your new MPT-based RAID controllers and your existing megaraid driver,
  375. then perhaps you need a single small helper module (lsiioctl or some
  376. better name), loaded by both mptraid and megaraid automatically, which
  377. handles registering the /dev/megaraid node dynamically. In this case,
  378. both mptraid and megaraid would register with lsiioctl for each
  379. adapter discovered, and lsiioctl would essentially be a switch,
  380. redirecting userspace tool ioctls to the appropriate driver."
  381. - Matt Domsch <Matt_Domsch@dell.com> 02.25.2004 LKML
  382. ii. Remove C99 initializations from pci_device id.
  383. "pci_id_table_g would be much more readable when not using C99
  384. initializers.
  385. PCI table doesn't change, there's lots of users that prefer the more
  386. readable variant. And it's really far less and much easier to grok
  387. lines without C99 initializers."
  388. - Christoph Hellwig <hch@infradead.org>, 05.28.2004 linux-scsi
  389. iii. Many fixes as suggested by Christoph Hellwig <hch@infradead.org> on
  390. linux-scsi, 05.28.2004
  391. iv. We now support up to 32 parallel ioctl commands instead of current 1.
  392. There is a conscious effort to let memory allocation not fail for ioctl
  393. commands.
  394. v. Do away with internal memory management. Use pci_pool_(create|alloc)
  395. instead.
  396. vi. Kill tasklet when unloading the driver.
  397. vii. Do not use "host_lock', driver has fine-grain locks now to protect all
  398. data structures.
  399. viii. Optimize the build scatter-gather list routine. The callers already
  400. know the data transfer address and length.
  401. ix. Better implementation of error handling and recovery. Driver now
  402. performs extended errors recovery for instances like scsi cable pull.
  403. x. Disassociate the management commands with an overlaid scsi command.
  404. Driver now treats the management packets as special packets and has a
  405. dedicated callback routine.