ChangeLog
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:17k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. 2002-01-13  Niels Kristian Bech Jensen  <nkbj@image.dk>
  2. * parport_pc.c: Change some occurrences of frob_set_mode to
  3. ECR_WRITE.  This fixes PLIP.
  4. 2002-01-04  Tim Waugh  <twaugh@redhat.com>
  5. * share.c (parport_claim_or_block): Sleep interruptibly to prevent
  6. a possible deadlock.
  7. 2001-12-07  Damian Gruszka  <damian.gruszka@VisionSystems.de>
  8. * parport_pc.c (ECR_WRITE): Define.  If there are forbidden bits
  9. in the ECR register for some chips, this will be a useful place to
  10. put that knowledge.
  11. (change_mode): Use ECR_WRITE.
  12. (parport_pc_restore_state): Likewise.
  13. (parport_ECPPS2_supported): Likewise.
  14. (parport_ECPEPP_supported): Likewise.
  15. (irq_probe_EPP): Likewise.
  16. (programmable_irq_support): Likewise.
  17. (programmable_dma_support): Likewise.
  18. (parport_pc_probe_port): Likewise.
  19. (frob_set_mode): New function.  Set the mode bits of the ECR.
  20. (get_fifo_residue): Use frob_set_mode.
  21. (parport_pc_ecpepp_read_data): Likewise.
  22. (parport_pc_ecpepp_write_data): Likewise.
  23. (parport_pc_ecpepp_read_addr): Likewise.
  24. (parport_pc_ecpepp_write_addr): Likewise.
  25. (parport_pc_compat_write_block_pio): Likewise.
  26. (parport_pc_ecp_write_block_pio): Likewise.
  27. (parport_ECR_present): Likewise.
  28. (parport_ECP_supported): Likewise.
  29. (parport_EPP_supported): Likewise.
  30. (parport_ECPEPP_supported): Likewise.
  31. (programmable_irq_support): Likewise.
  32. (irq_probe_ECP): Likewise.
  33. (programmable_dma_support): Likewise.
  34. (parport_pc_enable_irq): Only enable interrupts if we know which
  35. IRQ line they will come from.
  36. (parport_pc_init_state): Set nErrIntrEn at initialisation.
  37. (parport_pc_restore_state): Only write writable bits of CTR.
  38. (parport_irq_probe): If no IRQ is found, take ackIntEn out of the
  39. writable bit set.
  40. 2001-12-07  Tim Waugh  <twaugh@redhat.com>
  41. * parport_pc.c (parport_pc_fifo_write_block_pio): Correct typo.
  42. (parport_pc_init_state): Only set ackIntEn if we know which IRQ
  43. line the interrupts will come from.
  44. 2001-12-07  Tim Waugh  <twaugh@redhat.com>
  45. * ieee1284_ops.c (parport_ieee1284_epp_write_addr,
  46. parport_ieee1284_epp_read_addr): Actually do something useful.
  47. 2001-12-07  Tim Waugh  <twaugh@redhat.com>
  48. * parport_pc.c (dmaval): Don't use DMA by default.  It seems to be
  49. too buggy at the moment.  Use 'dma=auto' to restore the previous
  50. behaviour.
  51. 2001-12-03  Rich Liu  <Rich.Liu@ite.com.tw>
  52. * parport_pc.c (sio_ite_8872_probe): ITE8873 is a single-port
  53. serial board, not a serial+parallel.
  54. 2001-11-30  Niels Kristian Bech Jensen  <nkbj@image.dk>
  55. * parport_pc.c: Fix compiler warning.
  56. 2001-12-07  Tim Waugh  <twaugh@redhat.com>
  57. * daisy.c (DEBUG): Undefine.
  58. 2001-12-06  Tim Waugh  <twaugh@redhat.com>
  59. * ieee1284_ops.c (parport_ieee1284_ecp_read_data): Mask off
  60. PARPORT_CONTROL_AUTOFD as well.  Bug spotted by Joe
  61. <joeja@mindspring.com>.
  62. 2001-11-12  Tim Waugh  <twaugh@redhat.com>
  63. * parport_pc.c (init_module): Warn when parameters are ignored.
  64. 2001-11-01  Damian Gruszka  <damian.gruszka@VisionSystems.de>
  65. * parport_serial.c (serial_register): Set base_baud before
  66. calling register_serial.
  67. 2001-10-26  Tim Waugh  <twaugh@redhat.com>
  68. * parport_pc.c (parport_irq_probe): When ECR programmable IRQ
  69. support fails, generate interrupts using the FIFO even if we don't
  70. want to use the FIFO for real data transfers.
  71. (parport_pc_probe_port): Display the ECR address if we have an
  72. ECR, not just if we will use the FIFO.
  73. 2001-10-24  Dave Strauss  <D.Strauss@motorola.com>
  74. * parport_pc.c (parport_pc_compat_write_block_pio,
  75. parport_pc_ecp_write_block_pio): Allow a few seconds for an ECP
  76. transfer to finish up.
  77. 2001-10-11  Tim Waugh  <twaugh@redhat.com>
  78. * parport_pc (sio_ite_8872_probe): New function, submitted by Rich
  79. Liu from ITE.  Cleaned up, removed bogus phys_to_virt calls.
  80. 2001-10-24  Tim Waugh  <twaugh@redhat.com>
  81. * parport_pc.c: Support for AKS AladdinCARD.  Patch from
  82. Aladdin Knowledge Systems (Christian Groessler).
  83. 2001-10-24  Tim Waugh  <twaugh@redhat.com>
  84. * ieee1284_ops.c (parport_ieee1284_ecp_read_data): Try to minimise
  85. turnaround time.
  86. * ieee1284.c (parport_poll_peripheral): Try a couple of times
  87. first without delaying.
  88. 2001-10-10  Tim Waugh  <twaugh@redhat.com>
  89. * parport_pc.c: Support for OX16PCI954 PCI card.
  90. 2001-10-10  Tim Waugh  <twaugh@redhat.com>
  91. * parport_pc.c: Support for OX12PCI840 PCI card (reported by
  92. mk@daveg.com).  Lock-ups diagnosed by Ronnie Arosa (and now we
  93. just don't trust its ECR).
  94. 2001-10-10  Gunther Mayer  <gunther.mayer@braunschweig.okersurf.de>
  95. * parport_pc.c: Support for AVLAB cards.
  96. 2001-10-10  Tim Waugh  <twaugh@redhat.com>
  97. * ieee1284_ops.c (ecp_forward_to_reverse, ecp_reverse_to_forward):
  98. Remember to retry direction switch if it fails.  Patch from David
  99. Lambert.
  100. 2001-10-08  David C. Hansen  <haveblue@us.ibm.com>
  101. * share.c: Make driverlist_lock and parportlist_lock static.
  102. 2001-10-08  Philip Blundell  <philb@gnu.org>
  103. * parport_pc.c: New modular parameter verbose_logging.
  104. Make port->modes indicate the modes that we are prepared to use,
  105. rather than the modes that are available.
  106. 2001-10-07  Tim Waugh  <twaugh@redhat.com>
  107. * parport_pc.c (parport_pc_probe_port): Fix memory leak spotted by
  108. Kipp Cannon.
  109. 2001-10-07  Tim Waugh  <twaugh@redhat.com>
  110. * parport_serial.c: Remove NetMos support, since it causes problems
  111. for some people.
  112. 2001-08-30  Tim Waugh  <twaugh@redhat.com>
  113. * parport_serial.c (parport_serial_pci_probe): Clean-up on partial
  114. registration failure.
  115. 2001-08-14  Tim Waugh  <twaugh@redhat.com>
  116. * parport_pc.c (parport_pc_init_superio): Allow for more than one
  117. SuperIO device.  Patch from Rich Lio (ITE).
  118. 2001-08-11  Tim Waugh  <twaugh@redhat.com>
  119. * parport_pc.c: Support for Titan Electronics cards.
  120. 2001-08-08  Tim Waugh  <twaugh@redhat.com>
  121. * share.c (parport_unregister_device): Remove device from wait list
  122. too.
  123. 2001-06-20  Tim Waugh  <twaugh@redhat.com>
  124. * parport_pc.c: Make 'io_hi=0' work.
  125. 2001-05-31  Tim Waugh  <twaugh@redhat.com>
  126. * parport_serial.c: New file.
  127. 2001-06-05  Tim Waugh  <twaugh@redhat.com>
  128. * parport_pc.c (parport_pc_unregister_port): New exported function.
  129. Do the opposite of parport_pc_probe_port.
  130. (cleanup_module): Use it.
  131. 2001-05-22  Juan Quintela  <quintela@mandrakesoft.com>
  132. * parport_amiga.c: Set printk levels.
  133. * parport_gsc.c: Likewise.
  134. * parport_mfc3.c: Likewise.
  135. * parport_pc.c: Likewise.
  136. * parport_sunbpp.c: Likewise.
  137. * probe.c: Likewise.
  138. * share.c: Likewise.
  139. 2001-05-10  Fred Barnes  <frmb2@ukc.ac.uk>
  140.        * parport_pc.c (parport_pc_epp_read_data): added support for
  141.        reading from a w91284pic peripheral, flag is PARPORT_W91284PIC.
  142. 2001-05-07  Fred Barnes  <frmb2@ukc.ac.uk>
  143.  
  144.   * parport_pc.c (parport_pc_epp_read_data,
  145. parport_pc_epp_write_data, parport_pc_epp_read_addr,
  146. parport_pc_epp_write_addr): support for fast reads/writes using
  147. the PARPORT_EPP_FAST flag.
  148.  
  149.   * ieee1284.c (parport_read, parport_write): added code to handle
  150. software EPP mode (IEEE1284_MODE_EPPSWE).  Added code to allow
  151. BYTE mode reverse transfers (previously always went for NIBBLE
  152. mode).
  153.  
  154.   * ieee1284_ops.c (parport_ieee1284_epp_read_data,
  155. parport_ieee1284_epp_write_data): fixed various polarity problems.
  156. Also (theoretically) fixed address versions (.._addr), but no
  157. hardware to test this on.
  158.  
  159.   * parport_pc.h: added parport_dump_state() function for debugging.
  160.   Needs to have DEBUG_PARPORT to be defined for it to be included.
  161.  
  162. 2001-05-03  Tim Waugh  <twaugh@redhat.com>
  163. * parport_pc.c: Fix the compile problem I introduce from the last
  164. change.
  165. 2001-04-20  Paul Gortmaker  <p_gortmaker@yahoo.com>
  166. * parport_pc.c: Cut down the size quite a bit (more than 4k off
  167. the object, about 1k off the zImage) for the older non-PCI
  168. machines which are typically resource starved anyway...
  169. 2001-03-26  R Horn  <rjh@world.std.com>
  170. * parport_pc.c: Some commentary changes.
  171. 2001-04-19  Tim Waugh  <twaugh@redhat.com>
  172. * parport_pc.c (parport_pc_probe_port): Remove __devinit
  173. attribute.  Export unconditionally.
  174. 2001-04-14  Jeff Garzik  <jgarzik@mandrakesoft.com>
  175. Merged:  2001-03-30  Tim Waugh  <twaugh@redhat.com>
  176.         * drivers/parport/parport_pc.c: Make Via SuperIO chipsets behave
  177.         like everything else with respect to irq= and dma= parameters.
  178. 2001-04-08  Tim Waugh  <twaugh@redhat.com>
  179.       * parport_pc.c (parport_pc_save_state): Read from the soft copy of
  180.       the control port.
  181.       (parport_pc_restore_state): Update the soft copy of the control
  182.       port.
  183. 2001-03-26  Tim Waugh  <twaugh@redhat.com>
  184. * share.c (parport_find_number, parport_find_base): Trigger
  185. a lowlevel driver load if there are no ports yet.
  186. 2001-03-26  Tim Waugh  <twaugh@redhat.com>
  187. * parport_pc.c (parport_ECP_supported): Remove the IRQ conflict
  188. check since it seems totally unreliable.
  189. 2001-03-02  Tim Waugh  <twaugh@redhat.com>
  190. * ieee1284_ops.c (parport_ieee1284_read_nibble): Reset nAutoFd
  191. on timeout.  Matches 2.2.x behaviour.
  192. 2001-03-02  Andrew Morton <andrewm@uow.edu.au>
  193. * parport_pc.c (registered_parport): New static variable.
  194. (parport_pc_find_ports): Set it when we register PCI driver.
  195. (init_module): Unregister PCI driver if necessary when we
  196. fail.
  197. 2001-03-02  Tim Waugh  <twaugh@redhat.com>
  198. * ieee1284_ops.c (parport_ieee1284_write_compat): Don't use
  199. down_trylock to reset the IRQ count.  Don't even use sema_init,
  200. because it's not even necessary to reset the count.  I can't
  201. remember why we ever did.
  202. 2001-01-04  Peter Osterlund  <peter.osterlund@mailbox.swipnet.se>
  203. * ieee1284.c (parport_negotiate): Fix missing printk argument.
  204. 2001-01-03  Paul Schleger  <Paul.Schleger@t-online.de>
  205. * probe.c (parse_data): Get rid of trailing blanks in values.
  206. Needed for XEROX XJ8C printer.
  207. 2001-01-03  Tim Waugh  <twaugh@redhat.com>
  208. * parport_pc.c (parport_pc_probe_port): Say something when probes
  209. are omitted.
  210. 2001-01-03  Tim Waugh  <twaugh@redhat.com>
  211. * parport_pc.c (sio_via_686a_probe): Correct dma=255 fix.
  212. 2000-11-21  Tim Waugh  <twaugh@redhat.com>
  213. * parport_pc.c (parport_pc_ecp_write_block_pio): Fix
  214. reverse-to-forward logic.  Spotted by Roland Kuck
  215. <rci@cityweb.de>.
  216. 2000-09-16  Cesar Eduardo Barros  <cesarb@nitnet.com.br>
  217. * parport_pc.c (sio_via_686a_probe): Handle case
  218. where hardware returns 255 for IRQ or DMA.
  219. 2000-07-20  Eddie C. Dost  <ecd@skynet.be>
  220. * share.c (attach_driver_chain): attach[i](port) needs to be
  221. replaced by attach[count](port).
  222. 2000-07-20  Eddie C. Dost  <ecd@skynet.be>
  223. * daisy.c (add_dev): kmalloc args are in wrong order.
  224. 2000-07-12  Tim Waugh  <twaugh@redhat.com>
  225. * share.c: Documentation for parport_{get,port}_port,
  226. parport_find_{number,base}.
  227. 2000-07-12  Tim Waugh  <twaugh@redhat.com>
  228. * share.c (parport_unregister_device): Remove unneeded locking
  229. (test cad==dev).
  230. (parport_claim): Likewise.
  231. (parport_find_number): New function.
  232. 2000-07-12  Tim Waugh  <twaugh@redhat.com>
  233. * share.c (parport_register_port): Hold the parportlist_lock while
  234. looking for a free parport number.
  235. (parport_register_driver): Make sure that attach can block.
  236. (attach_driver_chain): Likewise.
  237. 2000-07-12  Tim Waugh  <twaugh@redhat.com>
  238. * share.c (call_driver_chain): Do reference counting things.
  239. (parport_get_port): New function.
  240. (parport_put_port): New function.
  241. (parport_register_port): Initialise reference count to zero.
  242. (parport_unregister_port): Check reference count rather than
  243. driver list to see if we can free the port.
  244. 2000-07-12  Tim Waugh  <twaugh@redhat.com>
  245. * share.c: Clarifications in doc comments.
  246. 2000-07-12  Tim Waugh  <twaugh@redhat.com>
  247. * share.c (parport_unregister_port): Fix typo in comment.
  248. 2000-07-11  Gunther Mayer  <gunther.mayer@braunschweig.okersurf.de>
  249. * parport_pc.c: Support for the full range of Timedia cards.
  250. 2000-07-08  Tim Waugh  <twaugh@redhat.com>
  251. * daisy.c: License block comments as part of parportbook.
  252. * ieee1284.c: Likewise.
  253. * share.c: Likewise.
  254. 2000-06-30  Petr Vandrovec  <vandrove@vc.cvut.cz>
  255. * procfs.c (do_hardware_modes): Generated string can be up to 34
  256. chars long.
  257. 2000-06-20  Gunther Mayer  <gunther.mayer@braunschweig.okersurf.de>
  258. * parport_pc.c (parport_pc_compat_write_block_pio): Warn about
  259. change_mode failures.
  260. (parport_pc_ecp_write_block_pio): Likewise.
  261. (parport_pc_ecp_read_block_pio): Likewise.
  262. 2000-06-20  Gunther Mayer  <gunther.mayer@braunschweig.okersurf.de>
  263. * parport_pc.c (parport_SPP_supported): Warn more about possibly
  264. incorrect parameters.
  265. 2000-06-15  Tim Waugh  <twaugh@redhat.com>
  266. * parport_pc.c (parport_ECP_supported): Set PARPORT_MODE_COMPAT
  267. for ECP ports, since they can all do hardware accelerated
  268. compatibility mode (I assume).
  269. 2000-06-13  Tim Waugh  <twaugh@redhat.com>
  270. * parport_pc.c (cleanup_module): Remark about possible bugs.
  271. 2000-06-13  Tim Waugh  <twaugh@redhat.com>
  272. * procfs.c: Break 'hardware' out into separate files.
  273. 2000-05-28  Gunther Mayer  <gunther.mayer@braunschweig.okersurf.de>
  274. * Fix PCI ID printk for non-superio PCI cards.
  275. 2000-05-28  Tim Waugh  <twaugh@redhat.com>
  276. * share.c (call_driver_chain): Get the driverlist_lock.
  277. (parport_register_device): Make sure that port->devices always
  278. looks consistent.
  279. (parport_register_driver): Ensure that parport drivers are given
  280. parameters that are valid for the duration of the callback by
  281. locking the portlist against changes.
  282. (parport_unregister_driver): Likewise.
  283. (parport_claim): Don't overwrite flags.
  284. 2000-05-28  Tim Waugh  <twaugh@redhat.com>
  285. * daisy.c (assign_addrs): Avoid double-probing daisy-chain devices
  286. if the first probe succeeds.
  287. 2000-05-16  Tim Waugh  <twaugh@redhat.com>
  288. * share.c (parport_claim): Fix SMP race.
  289. 2000-05-15  Gunther Mayer  <gunther.mayer@braunschweig.okersurf.de>
  290. * parport_pc.c (parport_pc_compat_write_block_pio): Check for
  291. timeouts.
  292. (parport_pc_ecp_write_block_pio): Likewise.
  293. (parport_pc_ecp_read_block_pio): Likewise.
  294. 2000-05-02  Gunther Mayer  <gunther.mayer@braunschweig.okersurf.de>
  295. * parport_pc.c: PCI SYBA patch and verbose PCI detection.
  296. 2000-05-02  Gunther Mayer  <gunther.mayer@braunschweig.okersurf.de>
  297. * parport_pc.c (decode_smsc): Fix SMSC 665/666 identification.
  298. 2000-04-28  Tim Waugh  <twaugh@redhat.com>
  299. * ieee1284.c: Short function descriptions can't be multiline.
  300. * daisy.c: Short function descriptions can't be multiline.
  301. 2000-04-19  Tim Waugh  <twaugh@redhat.com>
  302. * parport_pc.c (parport_pc_fifo_write_block_dma): Make maxlen
  303. calculation a bit clearer.
  304. * ieee1284.c (parport_negotiate): Turn on data line drivers.
  305. * ieee1284_ops.c (parport_ieee1284_read_byte): Turn off data line
  306. drivers.
  307. (parport_ieee1284_write_compat): Turn on data line drivers.
  308. * daisy.c (assign_addrs): Turn on data line drivers.
  309. (cpp_mux): Likewise.
  310. (cpp_daisy): Likewise.
  311. 2000-04-04  Tim Waugh  <twaugh@redhat.com>
  312. * parport_pc.c: Add support for another PCI card.
  313. 2000-04-04  Tim Waugh  <twaugh@redhat.com>
  314. * daisy.c: Documentation in kernel-doc format.
  315. * ieee1284.c: Likewise.
  316. * share.c: Likewise.
  317. 2000-04-01  Tim Waugh  <twaugh@redhat.com>
  318. * share.c (parport_register_device): Need to hold the module
  319. reference counts before sleeping.
  320. 2000-03-27  Tim Waugh  <twaugh@redhat.com>
  321. * parport_pc.c (parport_pc_ecp_read_block_pio): Correct operation
  322. when peripheral is trying to send data when we stop listening.
  323. 2000-03-22  Tim Waugh  <twaugh@redhat.com>
  324. * init.c (parport_setup): Fix return value.
  325. 2000-03-21  Tim Waugh  <twaugh@redhat.com>
  326. * parport_pc.c (parport_pc_pci_probe): Fix return value; call
  327. pci_enable_device.
  328. 2000-03-16  Tim Waugh  <twaugh@redhat.com>
  329. * parport_pc.c (parport_ECP_supported): This seems to trigger on
  330. machines that don't have an IRQ conflict; toned down the warning
  331. message accordingly.
  332. 2000-03-16  Gunther Mayer  <gunther.mayer@braunschweig.netsurf.de>
  333. * parport_pc.c (show_parconfig_smsc37c669): Fix typo.
  334. (decode_winbond): More IDs.
  335. (winbond_check): Protect against false positives.
  336. (winbond_check2): Likewise.
  337. (smsc_check): Likewise.
  338. 2000-03-15  Tim Waugh  <twaugh@redhat.com>
  339. * parport_pc.c (cleanup_module): Don't call pci_unregister_driver
  340. if we didn't call pci_register_driver first.
  341. 2000-03-13  Tim Waugh  <twaugh@redhat.com>
  342. * parport_pc.c (parport_pc_init): Moved from asm/parport.h.
  343. * Config.in: CONFIG_PARPORT_PC_SUPERIO: new option.
  344. * parport_pc.c (show_parconfig_smsc37c669): Make __devinit.
  345. (show_parconfig_winbond): Likewise.
  346. (decode_winbond): Likewise.
  347. (decode_smsc): Likewise.
  348. (winbond_check): Likewise.
  349. (winbond_check2): Likewise.
  350. (smsc_check): Likewise.
  351. (detect_and_report_winbond): Likewise.
  352. (detect_and_report_smsc): Likewise.
  353. (get_superio_dma): Likewise.
  354. (get_superio_irq): Likewise.
  355. (parport_pc_find_isa_ports): New function.
  356. (parport_pc_find_ports): New function.
  357. (init_module): Make superio a config option, not a parameter.
  358. 2000-03-10  Tim Waugh  <twaugh@redhat.com>
  359. * parport_pc.c (decode_winbond): Use correct 83877ATF chip ID.
  360. (decode_winbond): Fix typo.
  361. 2000-03-09  Tim Waugh  <twaugh@redhat.com>
  362. * parport_pc.c: Integrate SuperIO PCI probe with normal PCI card
  363. probe, so that the MODULE_DEVICE_TABLE is complete.