Re: [patch] My AMD IDE driver, v2.7

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 12 Mar 2002 11:17:39 +0000 (GMT)


> Yeah, you can still bit-bang with the current implementation, on that
> capability. Couldn't that be cured with s/CAP_SYS_RAWIO/some new
> CAP_DEVICE_CMD/ for the raw device command interface?

By uploading new firmware you can make the drive return compromised pages
from swap which make an existing RAWIO application do what you want

- so CAP_DEVICE_CMD in the IDE case at least is CAP_SYS_RAWIO

> The current implementation needs to be changed anyway :) From "ATA raw
> command" to "device raw command" at the very least.

That assumes a totally generic interface is good - ATA is rather different
to ATAPI/SCSI so it may be best the device interface reflects that.
-
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/