[parisc-linux] IDE patch
Randolph Chung
randolph@tausq.org
Mon, 16 Jul 2001 23:38:54 -0700
--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
The attached patch was applied to CVS yesterday. It enables the IDE and
USB config options for parisc if SuperIO support is selected. This is
just some preliminary infrastructure work. Much still needs to be done
and tested to get IDE to work.
Some notes:
- the changes to ns87415.c is optional. Most PCI-IDE drivers have
irq14/15 hardcoded as defaults. the ide drivers tries these first,
fails, and falls back to the default in asm-parisc/ide.h, which has
the right value
- the patch needs more checking for whether probing can be done. right
now it blindly probes if superio support is configured, irregardless
of whether superio is enabled.
- only pio mode is enabled at the moment. I was told that some
additional work needs to be done elsewhere before we can do bm-dma
- On my c3k it detects the CD-ROM drive fine, but mounting a CD-ROM
gives a lot of { DriveReady SeekComplete Error } messages. I'm
investigating these at the moment.
comments, suggestions and constructive criticisms welcome as always :)
randolph
--
@..@ http://www.TauSq.org/
(----)
( >__< )
^^ ~~ ^^
--k1lZvvs/B4yU6o8G
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="ide.diff.gz"
Content-Transfer-Encoding: base64
H4sICCTcUzsCA2lkZS5kaWZmAM0ba3PaSPIz/Ire5GoDFhgknsGJL7bjbKi1Y6+d3F7V1pZK
iMHoLCSiEcFcNv/9umdGL5DAib3JUQ5Imp6efnePejL0xuxuAFZgTxtzK3C43bB9b+Lc7Dte
+eXDP+Wrk2uYOC4bQGPqz1jD/sSjhVzHW9w1cpeufSoHLAwc9snxbiDAH+74Huj7rU557Ewm
UF9APaBbSMit1+vJXcloNvVGs9dodsDQB63WwOiUxHxN03LA9A7ozwft7qDZK796BXW92a/1
QKMfvQ+vXpUBP9xfBDYDj4WNk3hZZK8M5fpTWE6ZB9cL+3Y1vACHw9IPbpH8GswXIYRTBsPX
p8DDBZLveDBlAdsvazPL8WbMW5j+PCQWPXYXmrY/w2dhWVMX8Ozo/VEDpzfO35w3rs7OgC/m
cz8In5W1soZy4qEVsmIoOL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