[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I force PIO mode 3?



On 03 Sep 2000 01:46:13 +0900, IKEDA Shigeru wrote:

> How about adding the following line in your custom kernel config?
> 
> pciide0 at pci 0 dev 1 function 0 flags 0x0ffb

On 01 Sep 2000 21:08:05 -0700, eugene wrote:

> i am not sure if the same information (flags settings) applies to your cdrom
> but check out  man 4 wd

This fixed it:
atapiscsi0 at pciide0 channel 1 flags 0x0ffb

Aparently the wd driver and the atapiscsi driver accept the exact same
flags, and they function exactly the same in so much as setting PIO,
DMA, and UDMA modes.  However, the flags are only documented in the
wd(4) man page and not in atapiscsi(4).

Thanks for your help, both of you.  I wouldn't have figured it out
without both the idea on which flags to use (I guessed 0xb, which is
wrong) and the documentation in wd(4) on what the flags are supposed to
do.  After that I followed up in the kernel source where the flags were
being used and which drivers called wdc_probe_caps() to process them.

T\_/T\_/T
Michael Buselli [http://www.enteract.com/~cosine/] <cosine@computer.org>
"It's that tie; it's cutting off the circulation to his head."
                                                         --Conor McGrath