U133/48-bit (HDIO_DRIVE_CMD... (fwd))

Andre Hedrick (andre@linux-ide.org)
Mon, 7 Jan 2002 17:29:47 -0800 (PST)


Not Doable without patch infrastructure.

---------- Forwarded message ----------
Date: Wed, 19 Dec 2001 13:55:07 -0800 (PST)
From: Lucien Murray-Pitts <lucienmp@yahoo.com>
To: andre@linux-ide.org
Subject: HDIO_DRIVE_CMD...

Hi,

I'm finding it hard to get any docco on the
HDIO_DRIVE_CMD ioctl. I want to perform a security
unlock. Here is what I have:

args[4+512] = { SECURITY_UNLOCK, 0,0,1,
0, PASSWORD_DATA } ;
ioctl( fd, HDIO_DRIVE_CMD, &args ) ;

Although I'm not sure this is correct? I've started
wading through the linux ide source but as yet I can't
answer my question...

please, if you have time, drop me a line!

Lucien

__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

-
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/