Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.19 /drivers/block/ida_ioctl.h

Filename:/drivers/block/ida_ioctl.h
Lines Added:10
Lines Deleted:0
Also changed in: (Previous) 2.4.19-rc5  2.4.19-rc4  2.4.19-rc3  2.4.19-rc2  2.4.19-rc1  2.4.19-pre10 
(Following) 2.4.21-pre2  2.4.21-pre3  2.4.21-pre4  2.4.21-pre5  2.4.21-pre6  2.4.21-pre7 

Location
[  2.4.19
  [  drivers
    [  block
       o  ida_ioctl.h

Patch

diff -urN linux-2.4.18/drivers/block/ida_ioctl.h linux-2.4.19/drivers/block/ida_ioctl.h
--- linux-2.4.18/drivers/block/ida_ioctl.h   Wed Jul 25 14:12:01 2001
+++ linux-2.4.19/drivers/block/ida_ioctl.h   Fri Aug  2 17:39:43 2002
@@ -31,6 +31,9 @@
 #define IDAREVALIDATEVOLS   0x30303131
 #define IDADRIVERVERSION   0x31313232
 #define IDAGETPCIINFO      0x32323333
+#define IDADEREGDISK      0x33333434
+#define IDAREGNEWDISK      0x34343535
+#define IDAGETLOGINFO      0x35353636
 
 typedef struct _ida_pci_info_struct
 {
@@ -38,6 +41,13 @@
    unsigned char    dev_fn;
    __u32       board_id;
 } ida_pci_info_struct;
+
+typedef struct _idaLogvolInfo_struct{
+int      LogVolID;
+int      num_opens;  /* number of opens on the logical volume */
+int      num_parts;  /* number of partitions configured on logvol */
+} idaLogvolInfo_struct;
+
 /*
  * Normally, the ioctl determines the logical unit for this command by
  * the major,minor number of the fd passed to ioctl.  If you need to send


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.