summaryrefslogtreecommitdiffstats
path: root/drivers/block/ida_ioctl.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-10-05 01:18:40 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-10-05 01:18:40 +0000
commit012bb3e61e5eced6c610f9e036372bf0c8def2d1 (patch)
tree87efc733f9b164e8c85c0336f92c8fb7eff6d183 /drivers/block/ida_ioctl.h
parent625a1589d3d6464b5d90b8a0918789e3afffd220 (diff)
Merge with Linux 2.4.0-test9. Please check DECstation, I had a number
of rejects to fixup while integrating Linus patches. I also found that this kernel will only boot SMP on Origin; the UP kernel freeze soon after bootup with SCSI timeout messages. I commit this anyway since I found that the last CVS versions had the same problem.
Diffstat (limited to 'drivers/block/ida_ioctl.h')
-rw-r--r--drivers/block/ida_ioctl.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/block/ida_ioctl.h b/drivers/block/ida_ioctl.h
index 9c159df98..5cc212431 100644
--- a/drivers/block/ida_ioctl.h
+++ b/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 @@ typedef struct {
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;