NetBSD/sys/dev/pcmcia
mycroft f9d629fb93 Fix more probe delay and/or failure problems:
1) Don't wait for DRQ on an IDENTIFY command -- if it's not set when we see
   BSY clear, abort the command and ignore the drive.  (Do this by testing
   for DRQ in the read/write cases in __wdccommand_intr().)
2) Don't wait for DRQ to deassert when we finish an IDENTIFY (or any other
   non-block command that reads data) -- we don't do this for block I/O, and
   empirically it doesn't clear on my CF cards at all, causing a pointless 1s
   delay.
3) Add comments to some of the delay()s, and add missing ones in wdcreset()
   and the WDCC_RECAL in the so-called "pre-ATA" probe.
4) Slightly simplify the reset sequence -- we were doing an extra I/O.
5) Modify the register writability test to make sure that registers are not
   overlapped -- this can happen in some weird cases with a missing device 1.
6) Check the error register value after the reset -- if it's not 01h or 81h,
   as appropriate (see ATA spec), punt.
Tested with a number of ATA-only, ATAPI-only, mixed ATA-ATAPI, CF, and IDE
disk configurations.

Also remove the SINGLE_DRIVE nonsense again.
2003-09-23 09:19:22 +00:00
..
aic_pcmcia.c
com_pcmcia.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
devlist2h.awk
esl_pcmcia.c
esl.c ISO C requires a statement after a label. 2003-05-16 23:55:32 +00:00
eslvar.h
esp_pcmcia.c fix mistake in the attachment, which caused the device interrupt handler 2003-01-12 12:53:36 +00:00
fdc_pcmcia.c
files.pcmcia
if_an_pcmcia.c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
if_awi_pcmcia.c
if_cnw.c
if_cnwioctl.h
if_cnwreg.h
if_cs_pcmcia.c
if_ep_pcmcia.c
if_mbe_pcmcia.c
if_ne_pcmcia.c add support IO-DATA PCET/TX-R EthernetCard 2003-09-02 12:43:02 +00:00
if_ray.c Remove assigned-to but not used variable. 2003-02-23 04:15:02 +00:00
if_rayreg.h
if_sm_pcmcia.c
if_tr_pcmcia.c
if_wi_pcmcia.c Add Sony PEGA-WL110 CF WLAN 2003-09-16 08:28:55 +00:00
if_xi.c Make sure to include opt_foo.h if a defflag option FOO is used. 2003-06-23 11:00:59 +00:00
if_xireg.h
isic_pcmcia_avm_fritz.c
isic_pcmcia_elsa_isdnmc.c
isic_pcmcia_elsa_mcall.c
isic_pcmcia_sbspeedstar2.c
isic_pcmcia.c
isic_pcmcia.h function prototype must not have variable name 2003-07-08 10:06:28 +00:00
Makefile
Makefile.pcmciadevs
mhzc.c Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
nca_pcmcia.c
opl_esl.c
pcmcia_cis_quirks.c
pcmcia_cis.c
pcmcia.c Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
pcmciachip.h
pcmciadevs Add Sony PEGA-WL110 CF WLAN 2003-09-16 08:26:37 +00:00
pcmciadevs_data.h regen: Add Sony PEGA-WL110 CF WLAN 2003-09-16 08:27:33 +00:00
pcmciadevs.h regen: Add Sony PEGA-WL110 CF WLAN 2003-09-16 08:27:33 +00:00
pcmciareg.h
pcmciavar.h function prototype must not have variable name 2003-07-08 10:06:28 +00:00
pcmcom.c Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
wdc_pcmcia.c Fix more probe delay and/or failure problems: 2003-09-23 09:19:22 +00:00