ChangeLog.sym53c8xx 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  1. Sat May 12 12:00 2001 Gerard Roudier (groudier@club-internet.fr)
  2. * version sym53c8xx-1.7.3c
  3. - Ensure LEDC bit in GPCNTL is cleared when reading the NVRAM.
  4. Fix sent by Stig Telfer <stig@api-networks.com>.
  5. - Backport from SYM-2 the work-around that allows to support
  6. hardwares that fail PCI parity checking.
  7. - Check that we received at least 8 bytes of INQUIRY response
  8. for byte 7, that contains device capabilities, to be valid.
  9. - Define scsi_set_pci_device() as nil for kernel < 2.4.4.
  10. - + A couple of minor changes.
  11. Sat Apr 7 19:30 2001 Gerard Roudier (groudier@club-internet.fr)
  12. * version sym53c8xx-1.7.3b
  13. - Fix an unaligned LOAD from scripts (was used as dummy read).
  14. - In ncr_soft_reset(), only try to ABORT the current operation
  15. for chips that support SRUN bit in ISTAT1 and if SCRIPTS are
  16. currently running, as 896 and 1010 manuals suggest.
  17. - In the CCB abort path, do not assume that the CCB is currently
  18. queued to SCRIPTS. This is not always true, notably after a
  19. QUEUE FULL status or when using untagged commands.
  20. Sun Mar 4 18:30 2001 Gerard Roudier (groudier@club-internet.fr)
  21. * version sym53c8xx-1.7.3a
  22. - Fix an issue in the ncr_int_udc() (unexpected disconnect)
  23. handling. If the DSA didn't match a CCB, a bad write to
  24. memory could happen.
  25. Mon Feb 12 22:30 2001 Gerard Roudier (groudier@club-internet.fr)
  26. * version sym53c8xx-1.7.3
  27. - Support for hppa.
  28. Tiny patch sent to me by Robert Hirst.
  29. - Tiny patch for ia64 sent to me by Pamela Delaney.
  30. Tue Feb 6 13:30 2001 Gerard Roudier (groudier@club-internet.fr)
  31. * version sym53c8xx-1.7.3-pre1
  32. - Call pci_enable_device() as AC wants this to be done.
  33. - Get both the BAR cookies used by CPU and actual PCI BAR
  34. values used from SCRIPTS. Recent PCI chips are able to
  35. access themselves using internal cycles, but they compare
  36. BAR values to destination address to make decision.
  37. Earlier chips simply use PCI transactions to access IO
  38. registers from SCRIPTS.
  39. The bus_dvma_to_mem() interface that reverses the actual
  40. PCI BAR value from the BAR cookie is now useless.
  41. This point had been discussed at the list and the solution
  42. got approved by PCI code maintainer (Martin Mares).
  43. - Merge changes for linux-2.4 that declare the host template
  44. in the driver object also when the driver is statically
  45. linked with the kernel.
  46. - Increase SCSI message size up to 12 bytes, given that 8
  47. bytes was not enough for the PPR message (fix).
  48. - Add field 'maxoffs_st' (max offset for ST data transfers).
  49. The C1010 supports offset 62 in DT mode but only 31 in
  50. ST mode, to 2 different values for the max SCSI offset
  51. are needed. Replace the obviously wrong masking of the
  52. offset against 0x1f for ST mode by a lowering to
  53. maxoffs_st of the SCSI offset in ST mode.
  54. - Refine a work-around for the C1010-66. Revision 1 does
  55. not requires extra cycles in DT DATA OUT phase.
  56. - Add a missing endian-ization (abrt_tbl.addr).
  57. - Minor clean-up in the np structure for fields accessed
  58. from SCRIPTS that requires special alignments.
  59. Sun Sep 24 21:30 2000 Gerard Roudier (groudier@club-internet.fr)
  60. * version sym53c8xx-1.7.2
  61. - Remove the hack for PPC added in previous driver version.
  62. - Add FE_DAC feature bit to distinguish between 64 bit PCI
  63. addressing (FE_DAC) and 64 bit PCI interface (FE_64BIT).
  64. - Get rid of the boot command line "ultra:" argument.
  65. This parameter wasn't that clever since we can use "sync:"
  66. for Ultra/Ultra2 settings, and for Ultra3 we may want to
  67. pass PPR options (for now only DT clocking).
  68. - Add FE_VARCLK feature bit that indicates that SCSI clock
  69. frequency may vary depending on board design and thus,
  70. the driver should try to evaluate the SCSI clock.
  71. - Simplify the way the driver determine the SCSI clock:
  72. ULTRA3 -> 160 MHz, ULTRA2 -> 80 MHz otherwise 40 MHz.
  73. Measure the SCSI clock frequency if FE_VARCLK is set.
  74. - Remove FE_CLK80 feature bit that got useless.
  75. - Add support for the SYM53C875A (Pamela Delaney).
  76. Wed Jul 26 23:30 2000 Gerard Roudier (groudier@club-internet.fr)
  77. * version sym53c8xx-1.7.1
  78. - Provide OpenFirmware path through the proc FS on PPC.
  79. - Download of on-chip SRAM using memcpy_toio() doesn't work
  80. on PPC. Restore previous method (MEMORY MOVE from SCRIPTS).
  81. - Remove trailing argument #2 from a couple of #undefs.
  82. Sun Jul 09 16:30 2000 Gerard Roudier (groudier@club-internet.fr)
  83. * version sym53c8xx-1.7.0
  84. - Remove the PROFILE C and SCRIPTS code.
  85. This facility was not this useful and thus was not longer
  86. desirable given the increasing complexity of the driver code.
  87. - Merges from FreeBSD sym-1.6.2 driver:
  88. * Clarify memory barriers needed by the driver for architectures
  89. that implement a weak memory ordering.
  90. * Simpler handling of illegal phases and data overrun from
  91. SCRIPTS. These errors are now immediately reported to
  92. the C code by an interrupt.
  93. * Sync the residual handling code with sym-1.6.2 and now
  94. report `resid' to user for linux version >= 2.3.99
  95. - General cleanup:
  96. Move definitions for barriers and IO/MMIO operations to the
  97. sym53c8xx_defs.h header files. They are now shared by the
  98. both drivers.
  99. Remove unused options that claimed to optimize for the 896.
  100. If fact, they were not this clever. :)
  101. Use SCSI_NCR_IOMAPPED instead of NCR_IOMAPPED.
  102. Remove a couple of unused fields from data structures.
  103. Thu May 11 12:40 2000 Pam Delaney (pam.delaney@lsil.com)
  104. * version sym53c8xx-1.6b
  105. - Merged version.
  106. Mon Apr 24 12:00 2000 Gerard Roudier (groudier@club-internet.fr)
  107. * version sym53c8xx-1.5m
  108. - Return value 1 (instead of 0) from the driver setup routine.
  109. - Do not enable PCI DAC cycles. This just broke support for
  110. SYM534C896 on sparc64. Problem fixed by David S. Miller.
  111. Fri Apr 14 9:00 2000 Pam Delaney (pam.delaney@lsil.com)
  112. * version sym53c8xx-1.6b-9
  113. - Added 53C1010_66 support.
  114. - Small fix to integrity checking code.
  115. - Removed requirement for integrity checking if want to run
  116. at ultra 3.
  117. Sat Apr 1 12:00 2000 Gerard Roudier (groudier@club-internet.fr)
  118. * version sym53c8xx-1.5l
  119. - Tiny change for __sparc__ appeared in 2.3.99-pre4.1 that
  120. applies to cache line size (? Probably from David S Miller).
  121. - Make sure no data transfer will happen for Scsi_Cmnd requests
  122. that supply SCSI_DATA_NONE direction (this avoids some BUG()
  123. statement in the PCI code when a data buffer is also supplied).
  124. Sat Mar 11 12:00 2000 Gerard Roudier (groudier@club-internet.fr)
  125. * version sym53c8xx-1.6b-5
  126. - Test against expected data transfer direction from SCRIPTS.
  127. - Add support for the new dynamic dma mapping kernel interface.
  128. Requires Linux-2.3.47 (tested with pre-2.3.47-6).
  129. Many thanks to David S. Miller for his preliminary changes
  130. that have been useful guidelines.
  131. - Get data transfer direction from the scsi command structure
  132. (Scsi_Cmnd) with kernels that provide this information.
  133. Mon Mar 6 23:30 2000 Gerard Roudier (groudier@club-internet.fr)
  134. * version sym53c8xx-1.5k
  135. - Test against expected data transfer direction from SCRIPTS.
  136. - Revert the change in 'ncr_flush_done_cmds()' but unmap the
  137. scsi dma buffer prior to queueing the command to our done
  138. list.
  139. - Miscellaneous (minor) fixes in the code added in driver
  140. version 1.5j.
  141. Mon Feb 14 4:00 2000 Pam Delaney (pam.delaney@lsil.com)
  142. * version sym53c8xx-pre-1.6b-2.
  143. - Updated the SCRIPTS error handling of the SWIDE
  144. condition - to remove any reads of the sbdl
  145. register. Changes needed because the 896 and 1010
  146. chips will check parity in some special circumstances.
  147. This will cause a parity error interrupt if not in
  148. data phase. Changes based on those made in the
  149. FreeBSD driver version 1.3.2.
  150. Sun Feb 20 11:00 2000 Gerard Roudier (groudier@club-internet.fr)
  151. * version sym53c8xx-1.5j
  152. - Add support for the new dynamic dma mapping kernel interface.
  153. Requires Linux-2.3.47 (tested with pre-2.3.47-6).
  154. Many thanks to David S. Miller for his preliminary changes
  155. that have been useful guidelines, for having reviewed the
  156. code and having tested this driver version on Ultra-Sparc.
  157. - 2 tiny bugs fixed in the PCI wrapper that provides support
  158. for early kernels without pci device structure.
  159. - Get data transfer direction from the scsi command structure
  160. (Scsi_Cmnd) with kernels that provide this information.
  161. - Fix an old bug that only affected 896 rev. 1 when driver
  162. profile support option was set in kernel configuration.
  163. Fri Jan 14 14:00 2000 Pam Delaney (pam.delaney@lsil.com)
  164. * version sym53c8xx-pre-1.6b-1.
  165. - Merge parallel driver series 1.61 and 1.5e
  166. Tue Jan 11 14:00 2000 Pam Delaney (pam.delaney@lsil.com)
  167. * version sym53c8xx-1.61
  168. - Added support for mounting disks on wide-narrow-wide
  169. scsi configurations.
  170. - Modified offset to be a maximum of 31 in ST mode,
  171. 62 in DT mode.
  172. - Based off of 1.60
  173. Mon Jan 10 10:00 2000 Pam Delaney (pam.delaney@lsil.com)
  174. * version sym53c8xx-1.60
  175. - Added capability to use the integrity checking code
  176. in the kernel (optional).
  177. - Added PPR negotiation.
  178. - Added support for 53C1010 Ultra 3 part.
  179. - Based off of 1.5f
  180. Sat Jan 8 22:00 2000 Gerard Roudier (groudier@club-internet.fr)
  181. * version sym53c8xx-1.5h
  182. - Add year 2000 copyright.
  183. - Display correctly bus signals when bus is detected wrong.
  184. - Some fix for Sparc from DSM that went directly to kernel tree.
  185. Mon Dec 6 22:00 1999 Gerard Roudier (groudier@club-internet.fr)
  186. * version sym53c8xx-1.5g
  187. - Change messages written by the driver at initialisation and
  188. through the /proc FS (rather cosmetic changes that consist in
  189. printing out the PCI bus number and PCI device/function).
  190. - Ensure the SCRIPTS processor is stopped while calibrating the
  191. SCSI clock (the initialisation code has been a bit reworked).
  192. Change moved to the FreeBSD sym_hipd driver).
  193. - Some fixes in the MODIFY_DP/IGN_RESIDUE code and residual
  194. calculation (moved from FreeBSD sym_hipd driver).
  195. - Add NVRAM support for Tekram boards that use 24C16 EEPROM.
  196. Code moved from the FreeBSD sym_hipd driver, since it has
  197. been that one that got this feature first.
  198. - Definitely disable overlapped PCI arbitration for all dual
  199. function chips, since I cannot make sure for what chip revisions
  200. it is actually safe.
  201. - Add support for the SYM53C1510D (also for ncr53c8xx).
  202. - Fix up properly the PCI latency timer when needed or asked for.
  203. - Get rid of the old PCI bios interface, but preserve kernel 2.0
  204. compatibility from a simple wrapper.
  205. - Update the poor Tekram sync factor table.
  206. - Fix in a tiny 'printk' bug that may oops in case of extended
  207. errors (unrecovered parity error, data overrun, etc ...)
  208. (Sent by Pamela Delaney from LSILOGIC)
  209. - Remove the compilation condition about having to acquire the
  210. io_request_lock since it seems to be a definite feature now.:)
  211. - Change get_pages by GetPages since Linux >= 2.3.27 now wants
  212. get_pages to ever be used as a kernel symbol (from 2.3.27).
  213. - proc_dir structure no longer needed for kernel >= 2.3.27.
  214. Sun Oct 3 19:00 1999 Gerard Roudier (groudier@club-internet.fr)
  215. * version sym53c8xx-1.5f
  216. - Change the way the driver checks the PCI clock frequency, so
  217. that overclocked PCI BUS up to 48 MHz will not be refused.
  218. The more the BUS is overclocked, the less the driver will
  219. guarantee that its measure of the SCSI clock is correct.
  220. - Backport some minor improvements of SCRIPTS from the sym_hipd
  221. driver.
  222. - Backport the code rewrite of the START QUEUE dequeuing (on
  223. bad scsi status received) from the sym_hipd driver.
  224. Sat Sep 11 11:00 1999 Gerard Roudier (groudier@club-internet.fr)
  225. * version sym53c8xx-1.5e
  226. - New linux-2.3.13 __setup scheme support added.
  227. - Cleanup of the extended error status handling:
  228. Use 1 bit per error type.
  229. - Also save the extended error status prior to auto-sense.
  230. - Add the FE_DIFF chip feature bit to indicate support of
  231. diff probing from GPIO3 (825/825A/876/875).
  232. - Remove the quirk handling that has been useless since day one.
  233. - Work-around PCI chips being reported twice on some platforms.
  234. - Add some redundant PCI reads in order to deal with common
  235. bridge misbehaviour regarding posted write flushing.
  236. - Add some other conditionnal code for people who have to deal
  237. with really broken bridges (they will have to edit a source
  238. file to try these options).
  239. - Handle correctly (hopefully) jiffies wrap-around.
  240. - Restore the entry used to detect 875 until revision 0xff.
  241. (I removed it inadvertently, it seems :) )
  242. - Replace __initfunc() which is deprecated stuff by __init which
  243. is not yet so. ;-)
  244. - Rewrite the MESSAGE IN scripts more generic by using a MOVE
  245. table indirect. Extended messages of any size are accepted now.
  246. (Size is limited to 8 for now, but a constant is just to be
  247. increased if necessary)
  248. - Fix some bug in the fully untested MDP handling:) and share
  249. some code between MDP handling and residual calculation.
  250. - Calculate the data transfer residual as the 2's complement
  251. integer (A positive value in returned on data overrun, and
  252. a negative one on underrun).
  253. - Add support of some 'resource handling' for linux-2.3.13.
  254. Basically the BARs have been changed to something more complex
  255. in the pci_dev structure.
  256. - Remove some deprecated code.
  257. Sat Jun 5 11:00 1999 Gerard Roudier (groudier@club-internet.fr)
  258. * version sym53c8xx-1.5c
  259. - Do not negotiate on auto-sense if we are currently using 8 bit
  260. async transfer for the target.
  261. - Only check for SISL/RAID on i386 platforms.
  262. (A problem has been reported on PPC with that code).
  263. - On MSG REJECT for a negotiation, the driver attempted to restart
  264. the SCRIPT processor when this one was already running.
  265. Sat May 29 12:00 1999 Gerard Roudier (groudier@club-internet.fr)
  266. * version sym53c8xx-1.5b
  267. - Force negotiation prior auto-sense.
  268. This ensures that the driver will be able to grab the sense data
  269. from a device that has received a BUS DEVICE RESET message from
  270. another initiator.
  271. - Complete all disconnected CCBs for a logical UNIT if we are told
  272. about a UNIT ATTENTION for a RESET condition by this target.
  273. - Add the control command 'cleardev' that allows to send a ABORT
  274. message to a logical UNIT (for test purpose).
  275. Tue May 25 23:00 1999 Gerard Roudier (groudier@club-internet.fr)
  276. * version sym53c8xx-1.5a
  277. - Add support for task abort and bus device reset SCSI message
  278. and implement proper synchonisation with SCRIPTS to handle
  279. correctly task abortion without races.
  280. - Send an ABORT message (if untagged) or ABORT TAG message (if tagged)
  281. when the driver is told to abort a command that is disconnected and
  282. complete the command with appropriate error.
  283. If the aborted command is not yet started, remove it from the start
  284. queue and complete it with error.
  285. - Add the control command 'resetdev' that allows to send a BUS
  286. DEVICE RESET message to a target (for test purpose).
  287. - Clean-up some unused or useless code.
  288. Fri May 21 23:00 1999 Gerard Roudier (groudier@club-internet.fr)
  289. * version sym53c8xx-1.5
  290. - Add support for CHMOV with Wide controllers.
  291. - Handling of the SWIDE (low byte residue at the end of a CHMOV
  292. in DATA IN phase with WIDE transfer when the byte count gets odd).
  293. - Handling of the IGNORE WIDE RESIDUE message.
  294. Handled from SCRIPTS as possible with some optimizations when both
  295. a wide device and the controller are odd at the same time (SWIDE
  296. present and IGNORE WIDE RESIDUE message on the BUS at the same time).
  297. - Check against data OVERRUN/UNDERRUN condition at the end of a data
  298. transfer, whatever a SWIDE is present (OVERRUN in DATA IN phase)
  299. or the SODL is full (UNDERRUN in DATA out phase).
  300. - Handling of the MODIFY DATA POINTER message.
  301. This one cannot be handled from SCRIPTS, but hopefully it will not
  302. happen very often. :)
  303. - Large rewrite of the SCSI MESSAGE handling.
  304. Sun May 9 11:00 1999 Gerard Roudier (groudier@club-internet.fr)
  305. * version sym53c8xx-1.4
  306. - Support for IMMEDIATE ARBITRATION.
  307. See the README file for detailed information about this feature.
  308. Requires both a compile option and a boot option.
  309. - Minor SCRIPTS optimization in reselection pattern for LUN 0.
  310. - Simpler algorithm to deal with SCSI command starvation.
  311. Just use 2 tag counters in flip/flop and switch to the other
  312. one every 3 seconds.
  313. - Do some work in SCRIPTS after the SELECT instruction and prior
  314. to testing for a PHASE. SYMBIOS say this feature is working fine.
  315. (Btw, only problems with Toshiba 3401B had been reported).
  316. - Measure the PCI clock speed and do not attach controllers if
  317. result is greater than 37 MHz. Since the precision of the
  318. algorithm (from Stefan Esser) is better than 2%, this should
  319. be fine.
  320. - Fix the misdetection of SYM53C875E (was detected as a 876).
  321. - Fix the misdetection of SYM53C810 not A (was detected as a 810A).
  322. - Support for up to 256 TAGS per LUN (CMD_PER_LUN).
  323. Currently limited to 255 due to Linux limitation. :)
  324. - Support for up to 508 active commands (CAN_QUEUE).
  325. - Support for the 53C895A by Pamela Delaney <pam.delaney@lsil.com>
  326. The 53C895A contains all of the features of the 896 but has only
  327. one channel and has a 32 bit PCI bus. It does 64 bit PCI addressing
  328. using dual cycle PCI data transfers.
  329. - Miscellaneous minor fixes.
  330. - Some additions to the README.ncr53c8xx file.
  331. Tue Apr 15 10:00 1999 Gerard Roudier (groudier@club-internet.fr)
  332. * version sym53c8xx-1.3e
  333. - Support for any number of LUNs (64) (SPI2-compliant).
  334. (Btw, this may only be ever useful under linux-2.2 ;-))
  335. Sun Apr 11 10:00 1999 Gerard Roudier (groudier@club-internet.fr)
  336. * version sym53c8xx-1.3d
  337. - Add 'hostid:#id' boot option. This option allows to change the
  338. default SCSI id the driver uses for controllers.
  339. - Make SCRIPTS not use self-mastering for PCI.
  340. There were still 2 places the driver used this feature of the
  341. 53C8XX family.
  342. - Move some data structures (nvram layouts and driver set-up) to
  343. the sym53c8xx_defs.h file. So, the both drivers will share them.
  344. - Set MAX LUNS to 16 (instead of 8).
  345. Sat Mar 20 21:00 1999 Gerard Roudier (groudier@club-internet.fr)
  346. * version sym53c8xx-1.3b
  347. - Add support for NCR PQS PDS.
  348. James Bottomley <James.Bottomley@columbiasc.ncr.com>
  349. - Allow value 0 for host ID.
  350. - Support more than 8 controllers (> 40 in fact :-) )
  351. - Add 'excl=#ioaddr' boot option: exclude controller.
  352. (Version 1.3a driver)
  353. Thu Mar 11 23:00 1999 Gerard Roudier (groudier@club-internet.fr)
  354. * version sym53c8xx-1.3 (8xx-896 driver bundle)
  355. - Equivalent changes as ncr53c8xx-3.2 due to the driver bundle.
  356. (See Changelog.ncr53c8xx)
  357. - Do a normal soft reset as first chip reset, since aborting current
  358. operation may raise an interrupt we are not able to handle since
  359. the interrupt handler is not yet established.
  360. Sat Mar 6 11:00 1999 Gerard Roudier (groudier@club-internet.fr)
  361. * version sym53c8xx-1.2b
  362. - Fix some oooold bug that hangs the bus if a device rejects a
  363. negotiation. Btw, the corresponding stuff also needed some cleanup
  364. and thus the change is a bit larger than it could have been.
  365. - Still some typo that made compilation fail for 64 bit (trivial fix).
  366. Sun Feb 21 20:00 1999 Gerard Roudier (groudier@club-internet.fr)
  367. * version sym53c8xx-1.2a
  368. - The rewrite of the interrupt handling broke the SBMC interrupt
  369. handling due to a 1 bit mask tiny error. Hopefully fixed.
  370. - If INQUIRY came from a scatter list, the driver looked into
  371. the scatterlist instead of the data.:) Since this should never
  372. happen, we just discard the data if use_sg is not zero.
  373. Fri Feb 12 23:00 1999 Gerard Roudier (groudier@club-internet.fr)
  374. * version sym53c8xx-1.2
  375. - Major rewrite of the interrupt handling and recovery stuff for
  376. the support of non compliant SCSI removal, insertion and all
  377. kinds of screw-up that may happen on the SCSI BUS.
  378. Hopefully, the driver is now unbreakable or may-be, it is just
  379. quite brocken. :-)
  380. Many thanks to Johnson Russel (Symbios) for having responded to
  381. my questions and for his interesting advices and comments about
  382. support of SCSI hot-plug.
  383. - Add 'recovery' option to driver set-up.
  384. - Negotiate SYNC data transfers with CCS devices.
  385. - Deal correctly with 64 bit PCI address registers on Linux 2.2.
  386. Pointed out by Leonard Zubkoff.
  387. Sun Jan 31 18:00 1999 Gerard Roudier (groudier@club-internet.fr)
  388. * version sym53c8xx-1.1a
  389. - Some 896 chip revisions (all for now :-)), may hang-up if the
  390. soft reset bit is set at the wrong time while SCRIPTS are running.
  391. We need to first abort the current SCRIPTS operation prior to
  392. resetting the chip. This fix has been sent to me by SYMBIOS/LSI
  393. and I just translated it into ncr53c8xx syntax.
  394. Must be considered 100 % trustable, unless I did some mistake
  395. when translating it. :-)
  396. Sun Jan 24 18:00 1999 Gerard Roudier (groudier@club-internet.fr)
  397. * version sym53c8xx-1.1
  398. - Major rewrite of the SCSI parity error handling.
  399. The informations contained in the data manuals are incomplete about
  400. this feature.
  401. I asked SYMBIOS about and got in reply the explanations that are
  402. _indeed_ missing in the data manuals.
  403. - Allow to tune request_irq() flags from the boot command line using
  404. ncr53c8xx=irqm:??, as follows:
  405. a) If bit 0x10 is set in irqm, SA_SHIRQ flag is not used.
  406. b) If bit 0x20 is set in irqm, SA_INTERRUPT flag is not used.
  407. By default the driver uses both SA_SHIRQ and SA_INTERRUPT.
  408. Option 'ncr53c8xx=irqm:0x20' may be used when an IRQ is shared by
  409. a 53C8XX adapter and a network board.
  410. - Fix for 64 bit PCI address register calculation. (Lance Robinson)
  411. - Fix for big-endian in phase mismatch handling. (Michal Jaegermann)
  412. Fri Jan 1 20:00 1999 Gerard Roudier (groudier@club-internet.fr)
  413. * version sym53c8xx-1.0a
  414. - Waiting list look-up didn't work for the first command of the list.
  415. Hopefully fixed, but tested on paper only. ;)
  416. - Remove the most part of PPC specific code for Linux-2.2.
  417. Thanks to Cort.
  418. - Some other minors changes.
  419. Sat Dec 19 21:00 1998 Gerard Roudier (groudier@club-internet.fr)
  420. * version sym53c8xx-1.0
  421. - Define some new IO registers for the 896 (istat1, mbox0, mbox1)
  422. - Revamp slightly the Symbios NVRAM lay-out based on the excerpt of
  423. the header file I received from Symbios.
  424. - Check the PCI bus number for the boot order (Using a fast
  425. PCI controller behing a PCI-PCI bridge seems sub-optimal).
  426. - Disable overlapped PCI arbitration for the 896 revision 1.
  427. - Reduce a bit the number of IO register reads for phase mismatch
  428. by reading DWORDS at a time instead of BYTES.
  429. Thu Dec 3 24:00 1998 Gerard Roudier (groudier@club-internet.fr)
  430. * version pre-sym53c8xx-0.18
  431. - I received this afternoon a 896 from SYMBIOS and started testing
  432. the driver with this beast. After having fixed 3 buglets, it worked
  433. with all features enabled including the phase mismatch handling
  434. from SCRIPTS. Since this feature is not yet tested enough, the
  435. boot option 'ncr53c8xx=specf:1' is still required to enable the
  436. driver to handle PM from SCRIPTS.
  437. Sun Nov 29 18:00 1998 Gerard Roudier (groudier@club-internet.fr)
  438. * version pre-sym53c8xx-0.17
  439. - The SISL RAID change requires now remap_pci_mem() stuff to be
  440. compiled for __i386__ when normal IOs are used.
  441. - The PCI memory read from SCRIPTS that should ensure ordering
  442. was in fact misplaced. BTW, this may explain why broken PCI
  443. device drivers regarding ordering are working so well. ;-)
  444. - Rewrite ncr53c8xx_setup (boot command line options) since the
  445. binary code was a bit too bloated in my opinion.
  446. - Make the code simpler in the wakeup_done routine.
  447. Tue Nov 24 23:00 1998 Gerard Roudier (groudier@club-internet.fr)
  448. * version pre-sym53c8xx-0.16
  449. - Add SCSI_NCR_OPTIMIZE_896_1 compile option and 'optim' boot option.
  450. When set, the driver unconditionnaly assumes that the interrupt
  451. handler is called for command completion, then clears INTF, scans
  452. the done queue and returns if some completed CCB is found. If no
  453. completed CCB are found, interrupt handling will proceed normally.
  454. With a 896 that handles MA from SCRIPTS, this can be a great win,
  455. since the driver will never performs PCI read transactions, but
  456. only PCI write transactions that may be posted.
  457. If the driver haven't to also raise the SIGP this would be perfect.
  458. Even with this penalty, I think that this will work great.
  459. Obviously this optimization makes sense only if the IRQ is not
  460. shared with another device.
  461. - Still a buglet in the tags initial settings that needed to be fixed.
  462. It was not possible to disable TGQ at system startup for devices
  463. that claim TGQ support. The driver used at least 2 for the queue
  464. depth but did'nt keep track of user settings for tags depth lower
  465. than 2.
  466. Thu Nov 19 23:00 1998 Gerard Roudier (groudier@club-internet.fr)
  467. * version pre-sym53c8xx-0.15
  468. - Add support for hardware LED control of the 896.
  469. - Ignore chips that are driven by SISL RAID (DAC 960).
  470. Change sent by Leonard Zubkoff and slightly reworked.
  471. - Prevent 810A rev 11 and 860 rev 1 from using cache line based
  472. transactions since those early chip revisions may use such on
  473. LOAD/STORE instructions (work-around).
  474. - Remove some useless and bloat code from the pci init stuff.
  475. - Do not use the readX()/writeX() kernel functions for __i386__,
  476. since they perform useless masking operations in order to deal
  477. with broken driver in 2.1.X kernel.
  478. Wed Nov 11 10:00 1998 Gerard Roudier (groudier@club-internet.fr)
  479. * version pre-sym53c8xx-0.14
  480. - The driver was unhappy when configured with default_tags > MAX_TAGS
  481. Hopefully doubly-fixed.
  482. - Set PCI_PARITY in PCI_COMMAND register in not set (PCI fix-up).
  483. - Print out some message if phase mismatch is handled from SCRIPTS.
  484. Sun Nov 1 14H00 1998 Gerard Roudier (groudier@club-internet.fr)
  485. * version pre-sym53c8xx-0.13
  486. - Some rewrite of the device detection code. This code had been
  487. patched too much and needed to be face-lifted a bit.
  488. Remove all platform dependent fix-ups that was not needed or
  489. conflicted with some other driver code as work-arounds.
  490. Reread the NVRAM before the calling of ncr_attach(). This spares
  491. stack space and so allows to handle more boards.
  492. Handle 64 bit base addresses under linux-2.0.X.
  493. Set MASTER bit in PCI COMMAND register if not set.
  494. Wed Oct 30 22H00 1998 Gerard Roudier (groudier@club-internet.fr)
  495. * version pre-sym53c8xx-0.12
  496. - Damned! I just broke the driver for Alpha by leaving a stale
  497. instruction in the source code. Hopefully fixed.
  498. - Do not set PFEN when it is useless. Doing so we are sure that BOF
  499. will be active, since the manual appears to be very unclear on what
  500. feature is actually used by the chip when both PFEN and BOF are
  501. set.
  502. Sat Oct 24 16H00 1998 Gerard Roudier (groudier@club-internet.fr)
  503. * version pre-sym53c8xx-0.11
  504. - LOAD/STORE instructions were miscompiled for register offsets
  505. beyond 0x7f. This broke accesses to 896' new registers.
  506. - Disable by default Phase Mismatch handling from SCRIPTS, since
  507. current 896 rev.1 seems not to operate safely with the driver
  508. when this feature is enabled (and above LOAD/STORE fix applied).
  509. I will change the default to 'enabled' when this problem will be
  510. solved.
  511. Using boot option 'ncr53c8xx=specf:1' enables this feature.
  512. - Implement a work-around (DEL 472 - ITEM 5) that should allow the
  513. driver to safely enable hardware phase mismatch with 896 rev. 1.
  514. Tue Oct 20 22H00 1998 Gerard Roudier (groudier@club-internet.fr)
  515. * version pre-sym53c8xx-0.10
  516. - Add the 53c876 description to the chip table. This is only useful
  517. for printing the right name of the controller.
  518. - Add additional checking of INQUIRY data:
  519. Check INQUIRY data received length is at least 7. Byte 7 of
  520. inquiry data contains device features bits and the driver might
  521. be confused by garbage. Also check peripheral qualifier.
  522. - Use a 1,3,5,...MAXTAGS*2+1 tag numbering. Previous driver could
  523. use any tag number from 1 to 253 and some non conformant devices
  524. might have problems with large tag numbers.
  525. - Use NAME53C and NAME53C8XX for chip name prefix chip family name.
  526. Just give a try using "sym53c" and "sym53c8xx" instead of "ncr53c"
  527. and "ncr53c8xx". :-)
  528. Sun Oct 11 17H00 1998 Gerard Roudier (groudier@club-internet.fr)
  529. * version pre-sym53c8xx-0.9
  530. - DEL-441 Item 2 work-around for the 53c876 rev <= 5 (0x15).
  531. - Break ncr_scatter() into 2 functions in order to guarantee best
  532. possible code optimization for the case we get a scatter list.
  533. - Add the code intended to support up to 1 tera-byte for 64 bit systems.
  534. It is probably too early, but I wanted to complete the thing.
  535. Sat Oct 3 14H00 1998 Gerard Roudier (groudier@club-internet.fr)
  536. * version pre-sym53c8xx-0.8
  537. - Do some testing with io_mapped and fix what needed to be so.
  538. - Wait for SCSI selection to complete or time-out immediately after
  539. the chip won arbitration, since executing SCRIPTS while the SCSI
  540. core is performing SCSI selection breaks the selection procedure
  541. at least for some chip revisions.
  542. - Interrupt the SCRIPTS if a device does not go to MSG OUT phase after
  543. having been selected with ATN. Such a situation is not recoverable,
  544. better to fail when we are stuck.