• R
    i2c-pca-isa: Don't grab arbitrary resources · ce564033
    Rene Herman 提交于
    Grabbing ISA bus resources without anything or anyone telling us we
    should can break boot on randconfig/allyesconfig builds by keeping
    resources that are in fact owned by different hardware busy and does
    as reported by Ingo Molnar.
    
    Generally it's also dangerous to just poke at random I/O ports and
    especially those in the range where other old easily confused ISA
    hardware might live.
    
    For this specialized I2C bus driver, insist that the user specifies
    the resources before grabbing them.
    
    The^WA user of this driver is a one time
    
    echo "options i2c-pca-isa base=0x330 irq=10" >> /etc/modprobe.conf
    
    away from the old behaviour.
    Signed-off-by: NRene Herman <rene.herman@gmail.com>
    Signed-off-by: NJean Delvare <khali@linux-fr.org>
    ce564033
i2c-pca-isa.c 5.0 KB