patch-2.2.18 linux/drivers/block/ida_ioctl.h
Next file: linux/drivers/block/ide-cd.c
Previous file: linux/drivers/block/hd.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Tue Nov 28 17:12:46 2000
- Orig file:
v2.2.17/drivers/block/ida_ioctl.h
- Orig date:
Fri Apr 21 23:13:37 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/block/ida_ioctl.h linux/drivers/block/ida_ioctl.h
@@ -33,7 +33,14 @@
#define IDAGETCTLRSIG 0x29293030
#define IDAREVALIDATEVOLS 0x30303131
#define IDADRIVERVERSION 0x31313232
+#define IDAGETPCIINFO 0x32323333
+typedef struct _ida_pci_info_struct
+{
+ unsigned char bus;
+ unsigned char dev_fn;
+ __u32 board_id;
+} ida_pci_info_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
@@ -60,7 +67,7 @@
union ctlr_cmds {
drv_info_t drv;
- unsigned char buf[512];
+ unsigned char buf[1024];
id_ctlr_t id_ctlr;
drv_param_t drv_param;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)