Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-01-13 | Enable detaching atapiscsi devices. | Miod Vallat | |
2005-08-01 | spacing; ok deraadt@ | David Krause | |
2005-03-08 | Cosmetics... | Thierry Deval | |
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies. | |||
2004-02-21 | SCSI_DATA_OUT doesn't mean transfer from host in all cases, when | Alexander Yurchenko | |
requesting sense we reuse the same scsi xfer so flags lie and we should check for C_SENSE too. Eliminates pciide timeouts at the end of every burning with cdrecord. Bug introduced, found and then fixed by costa@. ok costa@ krw@ | |||
2004-02-13 | Cleanup debug messages: use %b for status, %x -> 0x%x, wrap lines. | Alexander Yurchenko | |
2004-02-07 | Always disable interrupts on a controller for polled commands. | Alexander Yurchenko | |
This solves a long standing problem with hangs during attaching scsibus at atapiscsi on some i386 machines. Help in debugging the problem pval@. Testing pval@, deraadt@, david@ and me on several machines. ok costa@ tdeval@ pb@ deraadt@ | |||
2004-01-14 | Nuke SDEV_NOLUNS, SDEV_FORCELUNS, and PQUIRK_FORCELUNS quirks. Also | Kenneth R Westerback | |
moreluns field in scsi_link structure. Instead, treat an INQUIRY result that duplicates the INQUIRY result of LUN 0 as proof the LUN does not exist. Compensate for lack of SDEV_NOLUNS where necessary by setting sc_link->luns to 1, which has the same effect. From Marco Peereboom. Don't issue Test Unit Ready command before INQUIRY command - not necessary and potentially harmful to devices with ADEV_NOTUR quirk since quirks have not been set yet. From mycroft@NetBSD ok deraadt@, mvme* changes by miod@. | |||
2004-01-09 | remove uvm_extern.h | Brad Smith | |
tested on alpha, i386, powerpc, sparc64, m68k. ok miod@ | |||
2003-10-21 | typos from Tom Cosgrove; | Jason McIntyre | |
2003-10-17 | Merge an old fix from NetBSD: | Alexander Yurchenko | |
- do not stop/unload current DMA operation if an IRQ was not detected by DMA engine unless the force flag was given, fixes DMA problems in shared IRQ setups; - ack interrupt before entering DMA codepath Tested by many. Work by niklas@ but he doesn't want to commit it for some reason. | |||
2003-10-16 | Allow setting of wdcdebug*_mask variables via preprocessor defines. | Alexander Yurchenko | |
This makes creating debug kernels be much more easy. | |||
2003-09-28 | kill trailing spaces, no functional changes | Alexander Yurchenko | |
2003-02-13 | Don't force all ATAPI devices to PIO mode 3, there are | Alexander Yurchenko | |
devices which only support PIO mode 2 or less. Use atap_oldpiotiming to obtain supported mode for such devices. Also use SET FEATURES only for PIO mode > 2. Work by Alec Skelly <alec@dtkco.com> with my little help. ok costa@ | |||
2002-12-19 | Protect WDCDEBUG_PRINT macro with do {} while (0) | Alexander Yurchenko | |
ok costa@ | |||
2002-05-21 | Move enum definitions to global scope. Local scope is meaningless, and | Marc Espie | |
interferes with C99's anonymous stuff. ok millert@ | |||
2002-05-10 | Dump the actual command to be sent | Constantine Sapuntzakis | |
2002-05-08 | Drives can go busy after IDENTIFY. Make sure drive is not busy before issuing | Constantine Sapuntzakis | |
SET PIO mode. Heh, this might have been the cause of all those old PIO mode aborts. | |||
2002-03-16 | Log extra info for ATAPI devices | Constantine Sapuntzakis | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-02-01 | duplicate include | Artur Grabowski | |
Noted by Jacob Meuser <jakemsr@jakemsr.com> | |||
2002-01-07 | pass the proc* down the ioctl chain to controller; mjacob@ csapuntz@ ok | Michael Shalayeff | |
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-08-25 | Change scsi_[free|get]_xs to use pool(9); art@ krw@ miod@ ok. | Federico G. Schwindt | |
2001-08-18 | typo from 1.50; biorn@chips.chalmers.se | Theo de Raadt | |
2001-07-31 | Go down only one Ultra DMA mode at a time. Thanks to Matt Evans for | Constantine Sapuntzakis | |
suggesting this fix. Update atapiscsi Ultra DMA downgrade logic. | |||
2001-07-31 | On DMA timeouts, stop busmaster PCIIDE and reset channel. Avoid reading | Constantine Sapuntzakis | |
device registers as this may cause lock-ups on some chipsets Clean-up in atapiscsi. Get rid of claim_irq. Instead, atapiscsi always returns -1 (maybe) from the interrupt handler. | |||
2001-07-21 | Undo last fix to ata_wdc.c. Don't deregister timeout in generic code | Constantine Sapuntzakis | |
2001-07-10 | Wait 1 second after soft reset. | Constantine Sapuntzakis | |
Add back IDENTIFY after soft reset. Fix ch_flags -> ch_status in a couple places | |||
2001-07-03 | obvious typo in condition; csapuntz@ ok | Niklas Hallqvist | |
2001-07-02 | Compile with WDCDEBUG. | Hakan Olsson | |
2001-06-25 | Undo premature commit | Constantine Sapuntzakis | |
2001-06-25 | Whoops, there's nothing at sc_link[1] any more | Constantine Sapuntzakis | |
2001-06-25 | Fix excessive resets and device probes by storing IDENTIFY results in the | Constantine Sapuntzakis | |
drvp structure | |||
2001-05-27 | Cleanup of defines | Constantine Sapuntzakis | |
Fix around the logic in the reset code to be more tolerant of weird devices. Pause a long time after reset to allow device to reboot itself | |||
2001-04-17 | Turn off DMA on REQUEST SENSE | Constantine Sapuntzakis | |
2001-04-17 | dma_status variable check is only valid for DMA transfers. | Constantine Sapuntzakis | |
2001-03-25 | Minor mods to DMA interface - get rid of unnecessary args. Allow DMA ↵ | Constantine Sapuntzakis | |
functions to return status flags. Note: Changing code to have DMA interface indicate when I/O is done (a la NetBSD) was considered. It was rejected due to questionable backward compatability with ISA DMA and MAC obio DMA Added irqack from NetBSD (though this feature should really be in the PCI interrupt handlers) Use pool | |||
2001-03-15 | Fix races between timeouts and interrupts. | Constantine Sapuntzakis | |
Cleanup atapiscsi driver a bit by moving fields out of xfer. | |||
2001-03-05 | Convert to new timeout API. costa@ ok. | Hakan Olsson | |
2001-01-30 | Ignore PIOMODE(0x4) errors | Constantine Sapuntzakis | |
2001-01-29 | Fix bug where timeouts triggered too early, caused panic on ATAPI tapes. | Niklas Hallqvist | |
Removed hardcoded WDCDEBUG definitions. | |||
2000-12-19 | A DMA transfer of 4 bytes was failing to complete correctly | Constantine Sapuntzakis | |
on a combination of VIA South Bridge and old Toshiba drive. DMA transfers of 4 bytes work for my old Mitsumi FX600 drive. Assume Toshiba drive is in error. Avoid situation by only invoking DMA transfers on transfers over 100 bytes. Thanks to Tim Howe for the hardware for testing | |||
2000-11-16 | Fix timeout computation; ok csapuntz@ | Niklas Hallqvist | |
2000-10-29 | undo this; adds files, unacceptable at this point in release | Theo de Raadt | |
2000-10-28 | Reduce footprint of ATA driver by only having PROBE debug messages compiled | Constantine Sapuntzakis | |
in by default. | |||
2000-08-11 | DMA transfers should transition to completed state directly too | Constantine Sapuntzakis | |
2000-08-09 | Death to acd_stub.c. No longer needed | Constantine Sapuntzakis | |
2000-08-09 | Unnecessary header | Constantine Sapuntzakis | |
2000-08-09 | Fixes for the BCD 48SB CD-ROM C2.4, which seems to like to drop | Constantine Sapuntzakis | |
both DRQ and BSY. The driver has been adjusted to ignore invalid/unexpected phases while traversing the state machine. This may break drives that do no set ireason correctly. | |||
2000-07-20 | Fix to ATA detect. Some devices seem to be comatose after reset | Constantine Sapuntzakis | |
(return 0x00 status persistently). Send them identify to wake them up. Flag value 0x10000 will enable probe messages for a channel/controller. When UKC supports setting flags, this will be useful debugging failing IDE detects without kernel recompiles. |