ISA check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 27, 2003 at 12:29:42PM +0200, Jean Delvare wrote:
> 
> Hi all,
> 
> In many (all?) of our i2c-only drivers, we have the following:
> 
> #ifdef DEBUG
>    if (i2c_is_isa_adapter(adapter)) {
>        printk
>            ("lm75.o: lm75_detect called for an ISA bus adapter?!?\n");
>        return 0;
>    }
> #endif
> 
> What's the idea? If the ISA addresses list is empty, is there a way we
> could be called for an ISA adapter anyway? And in that case, shouldn't
> we consider that the user knows what he/she's doing?

Good point, that should just be removed entirely.

Care to send me a patch? :)

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux