12004-06-13 Marek Michalkiewicz <marekm@amelek.gda.pl> 2 3 * parport_serial.c: Move from here to ../char/, must be initialised 4 after serial.c for register_serial to work. 5 62002-11-29 Tim Waugh <twaugh@redhat.com> 7 8 * parport_pc.c: Fix ECP hang on Aladdin card. 9 10 2001-10-11 Tim Waugh <twaugh@redhat.com> 11 * parport_pc.c, parport_serial.c: Support for NetMos cards. 12 Patch originally from Michael Reinelt <reinelt@eunet.at>. 13 142002-04-25 Tim Waugh <twaugh@redhat.com> 15 16 * parport_serial.c, parport_pc.c: Move some SIIG cards around. 17 Patch from Andrey Panin. 18 192001-12-07 Tim Waugh <twaugh@redhat.com> 20 21 * parport_pc.c (parport_pc_pci_probe): Hooks for PCI cards before 22 and after probing for ports. 23 * parport_serial.c (parport_register): Likewise. 24 252002-01-20 Tim Waugh <twaugh@redhat.com> 26 27 * parport_pc.c (parport_pc_compat_write_block_pio, 28 parport_pc_ecp_write_block_pio, parport_pc_ecp_read_block_pio): 29 Use the default implementations if the caller wants to use 30 O_NONBLOCK. 31 322002-01-21 Tim Waugh <twaugh@redhat.com> 33 34 * daisy.c: Apply patch from Max Vorobiev to make parport_daisy_select 35 work for ECP/EPP modes. 36 372002-02-25 Tim Waugh <twaugh@redhat.com> 38 39 * parport_pc.c: Make sure that priv->ctr_writable includes IntEn 40 even if IRQ is given as a parameter. 41 422002-01-13 Niels Kristian Bech Jensen <nkbj@image.dk> 43 44 * parport_pc.c: Change some occurrences of frob_set_mode to 45 ECR_WRITE. This fixes PLIP. 46 472002-01-04 Tim Waugh <twaugh@redhat.com> 48 49 * share.c (parport_claim_or_block): Sleep interruptibly to prevent 50 a possible deadlock. 51 522001-12-07 Damian Gruszka <damian.gruszka@VisionSystems.de> 53 54 * parport_pc.c (ECR_WRITE): Define. If there are forbidden bits 55 in the ECR register for some chips, this will be a useful place to 56 put that knowledge. 57 (change_mode): Use ECR_WRITE. 58 (parport_pc_restore_state): Likewise. 59 (parport_ECPPS2_supported): Likewise. 60 (parport_ECPEPP_supported): Likewise. 61 (irq_probe_EPP): Likewise. 62 (programmable_irq_support): Likewise. 63 (programmable_dma_support): Likewise. 64 (parport_pc_probe_port): Likewise. 65 66 (frob_set_mode): New function. Set the mode bits of the ECR. 67 (get_fifo_residue): Use frob_set_mode. 68 (parport_pc_ecpepp_read_data): Likewise. 69 (parport_pc_ecpepp_write_data): Likewise. 70 (parport_pc_ecpepp_read_addr): Likewise. 71 (parport_pc_ecpepp_write_addr): Likewise. 72 (parport_pc_compat_write_block_pio): Likewise. 73 (parport_pc_ecp_write_block_pio): Likewise. 74 (parport_ECR_present): Likewise. 75 (parport_ECP_supported): Likewise. 76 (parport_EPP_supported): Likewise. 77 (parport_ECPEPP_supported): Likewise. 78 (programmable_irq_support): Likewise. 79 (irq_probe_ECP): Likewise. 80 (programmable_dma_support): Likewise. 81 82 (parport_pc_enable_irq): Only enable interrupts if we know which 83 IRQ line they will come from. 84 (parport_pc_init_state): Set nErrIntrEn at initialisation. 85 (parport_pc_restore_state): Only write writable bits of CTR. 86 (parport_irq_probe): If no IRQ is found, take ackIntEn out of the 87 writable bit set. 88 892001-12-07 Tim Waugh <twaugh@redhat.com> 90 91 * parport_pc.c (parport_pc_fifo_write_block_pio): Correct typo. 92 (parport_pc_init_state): Only set ackIntEn if we know which IRQ 93 line the interrupts will come from. 94 952001-12-07 Tim Waugh <twaugh@redhat.com> 96 97 * ieee1284_ops.c (parport_ieee1284_epp_write_addr, 98 parport_ieee1284_epp_read_addr): Actually do something useful. 99 1002001-12-07 Tim Waugh <twaugh@redhat.com> 101 102 * parport_pc.c (dmaval): Don't use DMA by default. It seems to be 103 too buggy at the moment. Use 'dma=auto' to restore the previous 104 behaviour. 105 1062001-12-03 Rich Liu <Rich.Liu@ite.com.tw> 107 108 * parport_pc.c (sio_ite_8872_probe): ITE8873 is a single-port 109 serial board, not a serial+parallel. 110 1112001-11-30 Niels Kristian Bech Jensen <nkbj@image.dk> 112 113 * parport_pc.c: Fix compiler warning. 114 1152001-12-07 Tim Waugh <twaugh@redhat.com> 116 117 * daisy.c (DEBUG): Undefine. 118 1192001-12-06 Tim Waugh <twaugh@redhat.com> 120 121 * ieee1284_ops.c (parport_ieee1284_ecp_read_data): Mask off 122 PARPORT_CONTROL_AUTOFD as well. Bug spotted by Joe 123 <joeja@mindspring.com>. 124 1252001-11-12 Tim Waugh <twaugh@redhat.com> 126 127 * parport_pc.c (init_module): Warn when parameters are ignored. 128 1292001-11-01 Damian Gruszka <damian.gruszka@VisionSystems.de> 130 131 * parport_serial.c (serial_register): Set base_baud before 132 calling register_serial. 133 1342001-10-26 Tim Waugh <twaugh@redhat.com> 135 136 * parport_pc.c (parport_irq_probe): When ECR programmable IRQ 137 support fails, generate interrupts using the FIFO even if we don't 138 want to use the FIFO for real data transfers. 139 (parport_pc_probe_port): Display the ECR address if we have an 140 ECR, not just if we will use the FIFO. 141 1422001-10-24 Dave Strauss <D.Strauss@motorola.com> 143 144 * parport_pc.c (parport_pc_compat_write_block_pio, 145 parport_pc_ecp_write_block_pio): Allow a few seconds for an ECP 146 transfer to finish up. 147 1482001-10-11 Tim Waugh <twaugh@redhat.com> 149 150 * parport_pc (sio_ite_8872_probe): New function, submitted by Rich 151 Liu from ITE. Cleaned up, removed bogus phys_to_virt calls. 152 1532001-10-24 Tim Waugh <twaugh@redhat.com> 154 155 * parport_pc.c: Support for AKS AladdinCARD. Patch from 156 Aladdin Knowledge Systems (Christian Groessler). 157 1582001-10-24 Tim Waugh <twaugh@redhat.com> 159 160 * ieee1284_ops.c (parport_ieee1284_ecp_read_data): Try to minimise 161 turnaround time. 162 163 * ieee1284.c (parport_poll_peripheral): Try a couple of times 164 first without delaying. 165 1662001-10-10 Tim Waugh <twaugh@redhat.com> 167 168 * parport_pc.c: Support for OX16PCI954 PCI card. 169 1702001-10-10 Tim Waugh <twaugh@redhat.com> 171 172 * parport_pc.c: Support for OX12PCI840 PCI card (reported by 173 mk@daveg.com). Lock-ups diagnosed by Ronnie Arosa (and now we 174 just don't trust its ECR). 175 1762001-10-10 Gunther Mayer <gunther.mayer@braunschweig.okersurf.de> 177 178 * parport_pc.c: Support for AVLAB cards. 179 1802001-10-10 Tim Waugh <twaugh@redhat.com> 181 182 * ieee1284_ops.c (ecp_forward_to_reverse, ecp_reverse_to_forward): 183 Remember to retry direction switch if it fails. Patch from David 184 Lambert. 185 1862001-10-08 David C. Hansen <haveblue@us.ibm.com> 187 188 * share.c: Make driverlist_lock and parportlist_lock static. 189 1902001-10-08 Philip Blundell <philb@gnu.org> 191 192 * parport_pc.c: New modular parameter verbose_logging. 193 Make port->modes indicate the modes that we are prepared to use, 194 rather than the modes that are available. 195 1962001-10-07 Tim Waugh <twaugh@redhat.com> 197 198 * parport_pc.c (parport_pc_probe_port): Fix memory leak spotted by 199 Kipp Cannon. 200 2012001-10-07 Tim Waugh <twaugh@redhat.com> 202 203 * parport_serial.c: Remove NetMos support, since it causes problems 204 for some people. 205 2062001-08-30 Tim Waugh <twaugh@redhat.com> 207 208 * parport_serial.c (parport_serial_pci_probe): Clean-up on partial 209 registration failure. 210 2112001-08-14 Tim Waugh <twaugh@redhat.com> 212 213 * parport_pc.c (parport_pc_init_superio): Allow for more than one 214 SuperIO device. Patch from Rich Lio (ITE). 215 2162001-08-11 Tim Waugh <twaugh@redhat.com> 217 218 * parport_pc.c: Support for Titan Electronics cards. 219 2202001-08-08 Tim Waugh <twaugh@redhat.com> 221 222 * share.c (parport_unregister_device): Remove device from wait list 223 too. 224 2252001-06-20 Tim Waugh <twaugh@redhat.com> 226 227 * parport_pc.c: Make 'io_hi=0' work. 228 2292001-05-31 Tim Waugh <twaugh@redhat.com> 230 231 * parport_serial.c: New file. 232 2332001-06-05 Tim Waugh <twaugh@redhat.com> 234 235 * parport_pc.c (parport_pc_unregister_port): New exported function. 236 Do the opposite of parport_pc_probe_port. 237 (cleanup_module): Use it. 238 2392001-05-22 Juan Quintela <quintela@mandrakesoft.com> 240 241 * parport_amiga.c: Set printk levels. 242 * parport_gsc.c: Likewise. 243 * parport_mfc3.c: Likewise. 244 * parport_pc.c: Likewise. 245 * parport_sunbpp.c: Likewise. 246 * probe.c: Likewise. 247 * share.c: Likewise. 248 2492001-05-10 Fred Barnes <frmb2@ukc.ac.uk> 250 251 * parport_pc.c (parport_pc_epp_read_data): added support for 252 reading from a w91284pic peripheral, flag is PARPORT_W91284PIC. 253 2542001-05-07 Fred Barnes <frmb2@ukc.ac.uk> 255 256 * parport_pc.c (parport_pc_epp_read_data, 257 parport_pc_epp_write_data, parport_pc_epp_read_addr, 258 parport_pc_epp_write_addr): support for fast reads/writes using 259 the PARPORT_EPP_FAST flag. 260 261 * ieee1284.c (parport_read, parport_write): added code to handle 262 software EPP mode (IEEE1284_MODE_EPPSWE). Added code to allow 263 BYTE mode reverse transfers (previously always went for NIBBLE 264 mode). 265 266 * ieee1284_ops.c (parport_ieee1284_epp_read_data, 267 parport_ieee1284_epp_write_data): fixed various polarity problems. 268 Also (theoretically) fixed address versions (.._addr), but no 269 hardware to test this on. 270 271 * parport_pc.h: added parport_dump_state() function for debugging. 272 Needs to have DEBUG_PARPORT to be defined for it to be included. 273 2742001-05-03 Tim Waugh <twaugh@redhat.com> 275 276 * parport_pc.c: Fix the compile problem I introduce from the last 277 change. 278 2792001-04-20 Paul Gortmaker <p_gortmaker@yahoo.com> 280 281 * parport_pc.c: Cut down the size quite a bit (more than 4k off 282 the object, about 1k off the zImage) for the older non-PCI 283 machines which are typically resource starved anyway... 284 2852001-03-26 R Horn <rjh@world.std.com> 286 287 * parport_pc.c: Some commentary changes. 288 2892001-04-19 Tim Waugh <twaugh@redhat.com> 290 291 * parport_pc.c (parport_pc_probe_port): Remove __devinit 292 attribute. Export unconditionally. 293 2942001-04-14 Jeff Garzik <jgarzik@pobox.com> 295 296 Merged: 2001-03-30 Tim Waugh <twaugh@redhat.com> 297 298 * drivers/parport/parport_pc.c: Make Via SuperIO chipsets behave 299 like everything else with respect to irq= and dma= parameters. 300 3012001-04-08 Tim Waugh <twaugh@redhat.com> 302 303 * parport_pc.c (parport_pc_save_state): Read from the soft copy of 304 the control port. 305 (parport_pc_restore_state): Update the soft copy of the control 306 port. 307 3082001-03-26 Tim Waugh <twaugh@redhat.com> 309 310 * share.c (parport_find_number, parport_find_base): Trigger 311 a lowlevel driver load if there are no ports yet. 312 3132001-03-26 Tim Waugh <twaugh@redhat.com> 314 315 * parport_pc.c (parport_ECP_supported): Remove the IRQ conflict 316 check since it seems totally unreliable. 317 3182001-03-02 Tim Waugh <twaugh@redhat.com> 319 320 * ieee1284_ops.c (parport_ieee1284_read_nibble): Reset nAutoFd 321 on timeout. Matches 2.2.x behaviour. 322 3232001-03-02 Andrew Morton <andrewm@uow.edu.au> 324 325 * parport_pc.c (registered_parport): New static variable. 326 (parport_pc_find_ports): Set it when we register PCI driver. 327 (init_module): Unregister PCI driver if necessary when we 328 fail. 329 3302001-03-02 Tim Waugh <twaugh@redhat.com> 331 332 * ieee1284_ops.c (parport_ieee1284_write_compat): Don't use 333 down_trylock to reset the IRQ count. Don't even use sema_init, 334 because it's not even necessary to reset the count. I can't 335 remember why we ever did. 336 3372001-01-04 Peter Osterlund <peter.osterlund@mailbox.swipnet.se> 338 339 * ieee1284.c (parport_negotiate): Fix missing printk argument. 340 3412001-01-03 Paul Schleger <Paul.Schleger@t-online.de> 342 343 * probe.c (parse_data): Get rid of trailing blanks in values. 344 Needed for XEROX XJ8C printer. 345 3462001-01-03 Tim Waugh <twaugh@redhat.com> 347 348 * parport_pc.c (parport_pc_probe_port): Say something when probes 349 are omitted. 350 3512001-01-03 Tim Waugh <twaugh@redhat.com> 352 353 * parport_pc.c (sio_via_686a_probe): Correct dma=255 fix. 354 3552000-11-21 Tim Waugh <twaugh@redhat.com> 356 357 * parport_pc.c (parport_pc_ecp_write_block_pio): Fix 358 reverse-to-forward logic. Spotted by Roland Kuck 359 <rci@cityweb.de>. 360 3612000-09-16 Cesar Eduardo Barros <cesarb@nitnet.com.br> 362 363 * parport_pc.c (sio_via_686a_probe): Handle case 364 where hardware returns 255 for IRQ or DMA. 365 3662000-07-20 Eddie C. Dost <ecd@skynet.be> 367 368 * share.c (attach_driver_chain): attach[i](port) needs to be 369 replaced by attach[count](port). 370 3712000-07-20 Eddie C. Dost <ecd@skynet.be> 372 373 * daisy.c (add_dev): kmalloc args are in wrong order. 374 3752000-07-12 Tim Waugh <twaugh@redhat.com> 376 377 * share.c: Documentation for parport_{get,port}_port, 378 parport_find_{number,base}. 379 3802000-07-12 Tim Waugh <twaugh@redhat.com> 381 382 * share.c (parport_unregister_device): Remove unneeded locking 383 (test cad==dev). 384 (parport_claim): Likewise. 385 (parport_find_number): New function. 386 3872000-07-12 Tim Waugh <twaugh@redhat.com> 388 389 * share.c (parport_register_port): Hold the parportlist_lock while 390 looking for a free parport number. 391 (parport_register_driver): Make sure that attach can block. 392 (attach_driver_chain): Likewise. 393 3942000-07-12 Tim Waugh <twaugh@redhat.com> 395 396 * share.c (call_driver_chain): Do reference counting things. 397 (parport_get_port): New function. 398 (parport_put_port): New function. 399 (parport_register_port): Initialise reference count to zero. 400 (parport_unregister_port): Check reference count rather than 401 driver list to see if we can free the port. 402 4032000-07-12 Tim Waugh <twaugh@redhat.com> 404 405 * share.c: Clarifications in doc comments. 406 4072000-07-12 Tim Waugh <twaugh@redhat.com> 408 409 * share.c (parport_unregister_port): Fix typo in comment. 410 4112000-07-11 Gunther Mayer <gunther.mayer@braunschweig.okersurf.de> 412 413 * parport_pc.c: Support for the full range of Timedia cards. 414 4152000-07-08 Tim Waugh <twaugh@redhat.com> 416 417 * daisy.c: License block comments as part of parportbook. 418 * ieee1284.c: Likewise. 419 * share.c: Likewise. 420 4212000-06-30 Petr Vandrovec <vandrove@vc.cvut.cz> 422 423 * procfs.c (do_hardware_modes): Generated string can be up to 34 424 chars long. 425 4262000-06-20 Gunther Mayer <gunther.mayer@braunschweig.okersurf.de> 427 428 * parport_pc.c (parport_pc_compat_write_block_pio): Warn about 429 change_mode failures. 430 (parport_pc_ecp_write_block_pio): Likewise. 431 (parport_pc_ecp_read_block_pio): Likewise. 432 4332000-06-20 Gunther Mayer <gunther.mayer@braunschweig.okersurf.de> 434 435 * parport_pc.c (parport_SPP_supported): Warn more about possibly 436 incorrect parameters. 437 4382000-06-15 Tim Waugh <twaugh@redhat.com> 439 440 * parport_pc.c (parport_ECP_supported): Set PARPORT_MODE_COMPAT 441 for ECP ports, since they can all do hardware accelerated 442 compatibility mode (I assume). 443 4442000-06-13 Tim Waugh <twaugh@redhat.com> 445 446 * parport_pc.c (cleanup_module): Remark about possible bugs. 447 4482000-06-13 Tim Waugh <twaugh@redhat.com> 449 450 * procfs.c: Break 'hardware' out into separate files. 451 4522000-05-28 Gunther Mayer <gunther.mayer@braunschweig.okersurf.de> 453 454 * Fix PCI ID printk for non-superio PCI cards. 455 4562000-05-28 Tim Waugh <twaugh@redhat.com> 457 458 * share.c (call_driver_chain): Get the driverlist_lock. 459 (parport_register_device): Make sure that port->devices always 460 looks consistent. 461 (parport_register_driver): Ensure that parport drivers are given 462 parameters that are valid for the duration of the callback by 463 locking the portlist against changes. 464 (parport_unregister_driver): Likewise. 465 (parport_claim): Don't overwrite flags. 466 4672000-05-28 Tim Waugh <twaugh@redhat.com> 468 469 * daisy.c (assign_addrs): Avoid double-probing daisy-chain devices 470 if the first probe succeeds. 471 4722000-05-16 Tim Waugh <twaugh@redhat.com> 473 474 * share.c (parport_claim): Fix SMP race. 475 4762000-05-15 Gunther Mayer <gunther.mayer@braunschweig.okersurf.de> 477 478 * parport_pc.c (parport_pc_compat_write_block_pio): Check for 479 timeouts. 480 (parport_pc_ecp_write_block_pio): Likewise. 481 (parport_pc_ecp_read_block_pio): Likewise. 482 4832000-05-02 Gunther Mayer <gunther.mayer@braunschweig.okersurf.de> 484 485 * parport_pc.c: PCI SYBA patch and verbose PCI detection. 486 4872000-05-02 Gunther Mayer <gunther.mayer@braunschweig.okersurf.de> 488 489 * parport_pc.c (decode_smsc): Fix SMSC 665/666 identification. 490 4912000-04-28 Tim Waugh <twaugh@redhat.com> 492 493 * ieee1284.c: Short function descriptions can't be multiline. 494 495 * daisy.c: Short function descriptions can't be multiline. 496 4972000-04-19 Tim Waugh <twaugh@redhat.com> 498 499 * parport_pc.c (parport_pc_fifo_write_block_dma): Make maxlen 500 calculation a bit clearer. 501 502 * ieee1284.c (parport_negotiate): Turn on data line drivers. 503 504 * ieee1284_ops.c (parport_ieee1284_read_byte): Turn off data line 505 drivers. 506 (parport_ieee1284_write_compat): Turn on data line drivers. 507 508 * daisy.c (assign_addrs): Turn on data line drivers. 509 (cpp_mux): Likewise. 510 (cpp_daisy): Likewise. 511 5122000-04-04 Tim Waugh <twaugh@redhat.com> 513 514 * parport_pc.c: Add support for another PCI card. 515 5162000-04-04 Tim Waugh <twaugh@redhat.com> 517 518 * daisy.c: Documentation in kernel-doc format. 519 520 * ieee1284.c: Likewise. 521 522 * share.c: Likewise. 523 5242000-04-01 Tim Waugh <twaugh@redhat.com> 525 526 * share.c (parport_register_device): Need to hold the module 527 reference counts before sleeping. 528 5292000-03-27 Tim Waugh <twaugh@redhat.com> 530 531 * parport_pc.c (parport_pc_ecp_read_block_pio): Correct operation 532 when peripheral is trying to send data when we stop listening. 533 5342000-03-22 Tim Waugh <twaugh@redhat.com> 535 536 * init.c (parport_setup): Fix return value. 537 5382000-03-21 Tim Waugh <twaugh@redhat.com> 539 540 * parport_pc.c (parport_pc_pci_probe): Fix return value; call 541 pci_enable_device. 542 5432000-03-16 Tim Waugh <twaugh@redhat.com> 544 545 * parport_pc.c (parport_ECP_supported): This seems to trigger on 546 machines that don't have an IRQ conflict; toned down the warning 547 message accordingly. 548 5492000-03-16 Gunther Mayer <gunther.mayer@braunschweig.netsurf.de> 550 551 * parport_pc.c (show_parconfig_smsc37c669): Fix typo. 552 (decode_winbond): More IDs. 553 (winbond_check): Protect against false positives. 554 (winbond_check2): Likewise. 555 (smsc_check): Likewise. 556 5572000-03-15 Tim Waugh <twaugh@redhat.com> 558 559 * parport_pc.c (cleanup_module): Don't call pci_unregister_driver 560 if we didn't call pci_register_driver first. 561 5622000-03-13 Tim Waugh <twaugh@redhat.com> 563 564 * parport_pc.c (parport_pc_init): Moved from asm/parport.h. 565 566 * Config.in: CONFIG_PARPORT_PC_SUPERIO: new option. 567 568 * parport_pc.c (show_parconfig_smsc37c669): Make __devinit. 569 (show_parconfig_winbond): Likewise. 570 (decode_winbond): Likewise. 571 (decode_smsc): Likewise. 572 (winbond_check): Likewise. 573 (winbond_check2): Likewise. 574 (smsc_check): Likewise. 575 (detect_and_report_winbond): Likewise. 576 (detect_and_report_smsc): Likewise. 577 (get_superio_dma): Likewise. 578 (get_superio_irq): Likewise. 579 (parport_pc_find_isa_ports): New function. 580 (parport_pc_find_ports): New function. 581 (init_module): Make superio a config option, not a parameter. 582 5832000-03-10 Tim Waugh <twaugh@redhat.com> 584 585 * parport_pc.c (decode_winbond): Use correct 83877ATF chip ID. 586 (decode_winbond): Fix typo. 587 5882000-03-09 Tim Waugh <twaugh@redhat.com> 589 590 * parport_pc.c: Integrate SuperIO PCI probe with normal PCI card 591 probe, so that the MODULE_DEVICE_TABLE is complete. 592 593