bouyer
a4638cc6d5
Properly initiatize sc->sc_wdcdev.set_modes for non-DMA controllers.
2001-09-09 16:08:49 +00:00
bouyer
f7c2f13a54
Properly setup timings for ata-4 controllers, including UDMA modes.
...
Tested on a brand new ("dual USB ?") ibook.
2001-08-02 12:41:39 +00:00
bouyer
21bcee4ec1
Return() if piomode == -1 (i.e. we have no drives), avoid reading an array with
...
a negative offset.
Thanks to Andrew Cagney for pointing this out.
2001-07-25 20:26:33 +00:00
wiz
c5a6be17f4
bcopy -> memcpy, bzero -> memset, bcmp -> memcmp.
...
Reviewed by Matt Thomas, ok'd by Tsubai Masanari.
2001-07-22 11:29:44 +00:00
bouyer
17eff1c958
Pass WDC_CAPABILITY_MODE to the wdc core, so that it will set timings
...
on the drive side too.
Deal properly with the case where master and slave don't have the same timings,
and set PIO timings too.
2001-06-15 10:35:26 +00:00
matt
d2f0c68d47
Make macppc compile by default with -Wall -Wmissing-prototype in addition
...
to its currently enabled warnings. For the lack of a better place, most
global function prototype wound up in <machine/autoconf.h> unless there
was a better place for them. ofb_* structs renamed to offb_* to avoid
conflict with ofb_softc in <dev/ofw/openfirm.h>
2001-06-08 00:32:01 +00:00
wrstuden
10c4684193
Use wdc_print_modes() so that we get to see what DMA modes
...
are used with a drive.
2000-11-08 17:50:44 +00:00
mrg
28d898391b
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 08:10:45 +00:00
tsubai
f12221a5f5
Modify DMA access timings.
2000-05-23 13:20:58 +00:00
tsubai
dd83a9aa4f
Make this compile.
2000-04-14 10:22:06 +00:00
tsubai
7df13bfec7
Enable wdc1 (needed on StarMax).
2000-04-02 12:36:38 +00:00
tsubai
16ea7fbbbb
Match "keylargo-ata".
2000-01-21 18:45:14 +00:00
tsubai
eb1c1bdb92
Make media-bay CD detachable.
1999-10-04 22:58:10 +00:00
tsubai
4df925b8b0
* Don't use DMA interrupt.
...
* Stop DMA explicitly in finish routine.
1999-06-14 08:53:06 +00:00
tsubai
5fff3dafe9
Use "compatible" property to match.
1999-05-01 10:23:42 +00:00
tsubai
438b781c46
Match "ata0".
1999-01-22 10:44:38 +00:00
tsubai
ef27ffc3de
Add ata/atapi disk support.
1998-12-10 20:10:03 +00:00