lkml.org 
[lkml]   [2000]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject2.3.44: CONFIG_Sx_EXTRA_DEVS breaks with some configs
    In my .config I have:

    # SCSI support type (disk, tape, CD-ROM)
    #
    CONFIG_BLK_DEV_SD=y
    CONFIG_SD_EXTRA_DEVS=40
    # CONFIG_CHR_DEV_ST is not set
    CONFIG_ST_EXTRA_DEVS=2
    # CONFIG_BLK_DEV_SR is not set
    CONFIG_CHR_DEV_SG=m

    ..so I needed this patch to get sg.c to compile. There must be a better
    way. ;-)

    Tim.
    */

    --- linux/drivers/scsi/hosts.h~ Sun Feb 13 13:14:24 2000
    +++ linux/drivers/scsi/hosts.h Sun Feb 13 13:15:31 2000
    @@ -504,6 +504,15 @@
    * tackle the character devices first, as there aren't any locking implications
    * in the block device layer. The block devices will require more work.
    */
    +#ifndef CONFIG_SD_EXTRA_DEVS
    +#define CONFIG_SD_EXTRA_DEVS 0
    +#endif
    +#ifndef CONFIG_ST_EXTRA_DEVS
    +#define CONFIG_ST_EXTRA_DEVS 0
    +#endif
    +#ifndef CONFIG_SR_EXTRA_DEVS
    +#define CONFIG_SR_EXTRA_DEVS 0
    +#endif
    #define SD_EXTRA_DEVS CONFIG_SD_EXTRA_DEVS
    #define ST_EXTRA_DEVS CONFIG_ST_EXTRA_DEVS
    #define SR_EXTRA_DEVS CONFIG_SR_EXTRA_DEVS

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:56    [W:0.018 / U:88.148 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site