Subject: Re: CURRENT on IBM ThinkPad 600E
To: Nicolas Joly <njoly@pasteur.fr>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 07/04/2005 15:07:04
On Sun, Jul 03, 2005 at 04:02:32PM +0200, Nicolas Joly wrote:
> > (14:30:44) root@Tau [/usr/src] # cat sys/arch/i386/conf/TAU | grep clcs
> > clcs*   at pci? dev ? function ?        # Cirrus Logic CS4280
> > 
> > Looks good, doesn't it? So why isn't it configured then?
> 
> According to the driver source code (src/sys/dev/pci/cs4280.c), it has
> some support for your card but it wasn't tested :
> 
> static int
> cs4280_match(struct device *parent, struct cfdata *match, void *aux)
> {
>         struct pci_attach_args *pa;
> 
>         pa = (struct pci_attach_args *)aux;
>         if (PCI_VENDOR(pa->pa_id) != PCI_VENDOR_CIRRUS)
>                 return 0;
>         if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_CIRRUS_CS4280
> #if 0  /* I can't confirm */
>             || PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_CIRRUS_CS4610
> #endif
>             )
>                 return 1;
>         return 0;
> }
> 
> Just change '#if 0' to '#if 1' to give it a try ...

Tried it on my 600E, it didn' work.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--