Søren Schmidt
5b24125046
Cleanup the probe code a bit.
2003-03-12 12:05:17 +00:00
Søren Schmidt
7b4cb338ac
Dont use r_bmio on Cyrix chips if not set from BIOS.
2003-03-10 08:20:14 +00:00
Søren Schmidt
3cb179a848
Minor cleanup of the Promise code.
2003-03-03 11:51:08 +00:00
Dag-Erling Smørgrav
521f364b80
More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).
2003-03-02 16:54:40 +00:00
Søren Schmidt
638914f17d
Fix support for HPT controllers they where always left in PIO mode.
...
Amazing what a ';' can do :/
2003-03-01 09:33:35 +00:00
Søren Schmidt
33c788a554
Only use function 1 not 0 on cypress chips.
2003-02-27 09:42:57 +00:00
Søren Schmidt
4f57804cd3
Fix UDMA modes setup on CMD chips.
2003-02-27 07:11:42 +00:00
Søren Schmidt
9fb9aa7f06
Fix a reversed test for ATAPI_DEVICE in the Promise setup code.
2003-02-26 19:13:17 +00:00
Søren Schmidt
2957c08b9c
Fix support for Acer chips. The UDMA enable regs wasn't set properly.
2003-02-25 21:22:27 +00:00
Søren Schmidt
ae64a900aa
Fix support for the old CMD 646 chips, interrupt setup was wrong.
2003-02-25 12:56:37 +00:00
Søren Schmidt
4efc1603dc
Fix chipset setup problem on older ALI chips.
2003-02-23 16:36:21 +00:00
Søren Schmidt
9644f64b75
Fix timeout when using UDMA speeds, bad chip setup.
2003-02-23 15:05:04 +00:00
Søren Schmidt
bb5bdd386e
First round off updates/fixes to the ATA driver.
...
This moves all chipset specific code to a new file 'ata-chipset.c'.
Extensive use of tables and pointers to avoid having the same switch
on chipset type in several places, and to allow substituting various
functions for different HW arch needs.
Added PIO mode setup and all DMA modes.
Support for all known SiS chipsets. Thanks to Christoph Kukulies for
sponsoring a nice ASUS P4S8X SiS648 based board for this work!
Tested on: i386, PC98, alpha and sparc64
2003-02-20 20:02:32 +00:00