Re: IDE Hot-Swap, does it work?, Conspiracy is afoot! (more questions)

Mike Panetta (mpanetta@applianceware.com)
Fri, 12 Oct 2001 15:28:55 -0700


On Sat, Oct 13, 2001 at 12:14:01AM +0200, Pozsar Balazs wrote:
>
> I've been too asked this question two times in the list, and i haven't
> received any useful answer.
>
> Wakko, could you tell me in detail how to use hdparm -R and -U, because i
> couldn't get it work. Does it (or shoudl it) work for harddisks too?
>

I have been using this basic command form, but I think it may be
incorrect:

hdparm -R [io addr ix hex] 0|[ctrl addr in hex] 0|[irq] /dev/hd?

if this is the wrong way to do it please tell me.

I am wondering how hard it would be to change the ioctl so
that it accepts an index, or nothing (it just scans) instead
of requiring the (sometimes hard to find) IO addres and such.
I know that the lagacy IO addresses never change, but the
PCI ones can be anything. Or maybe this just does not work
with PCI IDE cards at all? I do not know.

Thanks,
Mike

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