Re: Castlewood EIDE *removable* disk vs 2.2.5

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 28 Sep 1999 00:40:58 +0100 (BST)


> > media changes it is not an ATA fixed disk drive.
> What should it report? (I can argue with them better if I have a suggestion)

It could report itself as an IDE removable device of some sort. That includes
IDE Floppy, IDE Optical.

It can also report itself as a regular hard disk but must set bit 7
of the config byte so that it is reporting itself removable. If that bit
is not set the OS is permitted to assume the device never changes media
and it can cache it indefinitely - which Linux does.

> Config={ Fixed }

Config={ Fixed Removeable }

is what it should report. Config bit 7.

> DblWordIO=no, maxPIO=240(?), DMA=yes, maxDMA=0(slow)

The maixpio value appears broken as does cursects.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/