Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.1 /drivers/ide/ide-probe.c

Filename:/drivers/ide/ide-probe.c
Lines Added:4
Lines Deleted:3
Also changed in: (Previous) 2.4.1-pre12  2.4.1-pre11  2.4.1-pre10  2.4.1-pre9  2.4.1-pre8  2.4.1-pre6 
(Following) 2.4.1-ac1  2.4.1-ac2  2.4.1-ac3  2.4.1-ac4  2.4.1-ac5  2.4.1-ac6 

Location
[  2.4.1
  [  drivers
    [  ide
       o  ide-probe.c

Patch

diff -u --recursive --new-file v2.4.0/linux/drivers/ide/ide-probe.c linux/drivers/ide/ide-probe.c
--- v2.4.0/linux/drivers/ide/ide-probe.c   Thu Oct 26 23:35:48 2000
+++ linux/drivers/ide/ide-probe.c   Mon Jan 15 13:08:15 2001
@@ -134,7 +134,7 @@
                break;
             }
 #endif
-            printk ("CDROM");
+            printk ("CD/DVD-ROM");
             break;
          case ide_tape:
             printk ("TAPE");
@@ -761,9 +761,10 @@
    for (unit = 0; unit < minors; ++unit) {
       *bs++ = BLOCK_SIZE;
 #ifdef CONFIG_BLK_DEV_PDC4030
-      *max_sect++ = ((hwif->chipset == ide_pdc4030) ? 127 : MAX_SECTORS);
+      *max_sect++ = ((hwif->chipset == ide_pdc4030) ? 127 : 256);
 #else
-      *max_sect++ = MAX_SECTORS;
+      /* IDE can do up to 128K per request. */
+      *max_sect++ = 256;
 #endif
       *max_ra++ = MAX_READAHEAD;
    }


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.