patch-2.4.19 linux-2.4.19/drivers/ide/hptraid.c
Next file: linux-2.4.19/drivers/ide/ide-cd.c
Previous file: linux-2.4.19/drivers/ide/hpt366.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/ide/hptraid.c
- Orig date:
Mon Oct 15 13:27:42 2001
diff -urN linux-2.4.18/drivers/ide/hptraid.c linux-2.4.19/drivers/ide/hptraid.c
@@ -123,13 +123,8 @@
return 0;
}
- case BLKROSET:
- case BLKROGET:
- case BLKSSZGET:
- return blk_ioctl(inode->i_rdev, cmd, arg);
-
default:
- return -EINVAL;
+ return blk_ioctl(inode->i_rdev, cmd, arg);
};
return 0;
@@ -366,7 +361,11 @@
probedisk(IDE2_MAJOR, 64, device);
probedisk(IDE3_MAJOR, 0, device);
probedisk(IDE3_MAJOR, 64, device);
-
+ probedisk(IDE4_MAJOR, 0, device);
+ probedisk(IDE4_MAJOR, 64, device);
+ probedisk(IDE5_MAJOR, 0, device);
+ probedisk(IDE5_MAJOR, 64, device);
+
fill_cutoff(device);
/* Initialize the gendisk structure */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)