New style driver for w83781d?

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

 



On Tue, 12 Aug 2008 11:28:54 +0200, Wolfgang Grandegger wrote:
> Jean Delvare wrote:
> > Hi Wolfgang,
> > 
> > On Tue, 12 Aug 2008 10:55:58 +0200, Wolfgang Grandegger wrote:
> >> We need support for the MON35W42 on an embedded MPC8544 board, which 
> >> seems to be compatible with the w83782d. There are more issues, e.g. the 
> >> early ISA bus probing of the existing driver hangs the system. Maybe i2c 
> >> probing should be done first!?
> > 
> > If both interfaces are available, we want to use the ISA one, because
> > it's much faster, so it must be registered first.
> > 
> > What could be done though would be disabling the ISA interface
> > altogether on architectures where it isn't supported (in particular
> > PPC.) This shouldn't be too difficult. If you write a patch doing this,
> > I'll be happy to review it. Affected drivers would be w83781d and lm78.
> 
> Some PPC have an ISA bus as well:
> 
>    http://lxr.linux.no/linux+v2.6.26.2/arch/powerpc/Kconfig#L494
> 
> I think selecting the ISA code with '#ifdef CONFIG_ISA' would be the 
> right solution?

Agreed.

-- 
Jean Delvare




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

  Powered by Linux