patch-1.3.27 linux/include/linux/hdreg.h

Next file: linux/include/linux/major.h
Previous file: linux/include/linux/cdrom.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.26/linux/include/linux/hdreg.h linux/include/linux/hdreg.h
@@ -82,24 +82,24 @@
       unsigned long start;
 };
 
-/* hd/ide ctl's that pass (arg) ptrs to user space are numbered 0x30n/0x31n */
-#define HDIO_GETGEO		0x301	/* get device geometry */
-#define HDIO_GET_UNMASKINTR	0x302	/* get current unmask setting */
-#define HDIO_GET_MULTCOUNT	0x304	/* get current IDE blockmode setting */
-#define HDIO_GET_IDENTITY 	0x307	/* get IDE identification info */
-#define HDIO_GET_KEEPSETTINGS 	0x308	/* get keep-settings-on-reset flag */
-#define HDIO_GET_CHIPSET	0x309	/* get current interface type setting */
-#define HDIO_GET_NOWERR		0x30a	/* get ignore-write-error flag */
-#define HDIO_GET_DMA		0x30b	/* get use-dma flag */
-#define HDIO_DRIVE_CMD		0x31f	/* execute a special drive command */
+/* hd/ide ctl's that pass (arg) ptrs to user space are numbered 0x030n/0x031n */
+#define HDIO_GETGEO		0x0301	/* get device geometry */
+#define HDIO_GET_UNMASKINTR	0x0302	/* get current unmask setting */
+#define HDIO_GET_MULTCOUNT	0x0304	/* get current IDE blockmode setting */
+#define HDIO_GET_IDENTITY 	0x0307	/* get IDE identification info */
+#define HDIO_GET_KEEPSETTINGS 	0x0308	/* get keep-settings-on-reset flag */
+#define HDIO_GET_CHIPSET	0x0309	/* get current interface type setting */
+#define HDIO_GET_NOWERR		0x030a	/* get ignore-write-error flag */
+#define HDIO_GET_DMA		0x030b	/* get use-dma flag */
+#define HDIO_DRIVE_CMD		0x031f	/* execute a special drive command */
 
-/* hd/ide ctl's that pass (arg) non-ptr values are numbered 0x32n/0x33n */
-#define HDIO_SET_MULTCOUNT	0x321	/* set IDE blockmode */
-#define HDIO_SET_UNMASKINTR	0x322	/* permit other irqs during I/O */
-#define HDIO_SET_KEEPSETTINGS	0x323	/* keep ioctl settings on reset */
-#define HDIO_SET_CHIPSET	0x324	/* optimise driver for interface type */
-#define HDIO_SET_NOWERR		0x325	/* set ignore-write-error flag */
-#define HDIO_SET_DMA		0x326	/* set use-dma flag */
+/* hd/ide ctl's that pass (arg) non-ptr values are numbered 0x032n/0x033n */
+#define HDIO_SET_MULTCOUNT	0x0321	/* set IDE blockmode */
+#define HDIO_SET_UNMASKINTR	0x0322	/* permit other irqs during I/O */
+#define HDIO_SET_KEEPSETTINGS	0x0323	/* keep ioctl settings on reset */
+#define HDIO_SET_CHIPSET	0x0324	/* optimise driver for interface type */
+#define HDIO_SET_NOWERR		0x0325	/* set ignore-write-error flag */
+#define HDIO_SET_DMA		0x0326	/* set use-dma flag */
 
 /* structure returned by HDIO_GET_IDENTITY, as per ANSI ATA2 rev.2f spec */
 struct hd_driveid {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this