[PATCH 1/3] cciss: bug fix for hpacucli
authormikem <mikem@beardog.cca.cpqcorp.net>
Fri, 18 Nov 2005 21:00:17 +0000 (22:00 +0100)
committerJens Axboe <axboe@suse.de>
Fri, 18 Nov 2005 21:00:17 +0000 (22:00 +0100)
This patch fixes a bug that breaks hpacucli, a command line interface
for the HP Array Config Utility. Without this fix the utility will
not detect any controllers in the system. I thought I had already fixed
this, but I guess not.

Thanks to all who reported the issue. Please consider this this inclusion.

Signed-off-by: Mike Miller <mikem@beardog.cca.cpqcorp.net>
Signed-off-by: Jens Axboe <axboe@suse.de>
include/linux/cciss_ioctl.h

index 424d5e6..6e27f42 100644 (file)
@@ -10,8 +10,8 @@
 typedef struct _cciss_pci_info_struct
 {
        unsigned char   bus;
-       unsigned short  domain;
        unsigned char   dev_fn;
+       unsigned short  domain;
        __u32           board_id;
 } cciss_pci_info_struct;