diff options
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-scsi.patch')
-rw-r--r-- | target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-scsi.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-scsi.patch b/target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-scsi.patch new file mode 100644 index 000000000..deb8b120c --- /dev/null +++ b/target/linux/realtek/patches-2.6.30/0002-rsdk-drivers-scsi.patch @@ -0,0 +1,25 @@ +--- linux-2.6.30.9/drivers/scsi/Kconfig 2009-10-05 18:38:08.000000000 +0300 ++++ linux-2.6.30.9-rsdk/drivers/scsi/Kconfig 2013-05-02 01:47:55.017226954 +0300 +@@ -82,6 +82,11 @@ config BLK_DEV_SD + In this case, do not compile the driver for your SCSI host adapter + (below) as a module either. + ++config 4KB_HARDDISK_SUPPORT ++ bool "4kb sector size disk support" ++ depends on BLK_DEV_SD ++ default n ++ + config CHR_DEV_ST + tristate "SCSI tape support" + depends on SCSI +--- linux-2.6.30.9/drivers/scsi/scsi_lib.c 2009-10-05 18:38:08.000000000 +0300 ++++ linux-2.6.30.9-rsdk/drivers/scsi/scsi_lib.c 2013-05-02 01:47:55.252226935 +0300 +@@ -1626,7 +1626,7 @@ u64 scsi_calculate_bounce_limit(struct S + + host_dev = scsi_get_device(shost); + if (host_dev && host_dev->dma_mask) +- bounce_limit = *host_dev->dma_mask; ++ bounce_limit = *(host_dev->dma_mask); + + return bounce_limit; + } |