Subject: Re: Driver hacks 2: cs4231_sbus.c
To: Julian Coleman <jdc@coris.demon.co.uk>
From: Jason L. Wright <jason@thought.net>
List: port-sparc
Date: 10/16/2002 16:00:24
Julian Coleman <jdc@coris.demon.co.uk> writes:

> With a Cycle 5 IP (basically a Sparc 5 in an IPC/IPX box), a phantom
> audiocs is attached because the PROM has an entry for SUNW,CS4231 but
> the audio hardware is actually an AMD 7930.  The SUNW,CS4231 node has
> `device_type serial', so checking for that (as in the following patch)
> stops the device matching.  However, it gives a "not configured" line
> on boot instead.  Would it be better to check for this in the attach
> routine instead (and print a suitable message there)?
> 
Have you tried making the audioamd driver match the SUNW,CS4231 with
device_type 'serial'?  Looks like Cycle copied a -bit- too much from
the Sun OFboot, eh?

--Jason L. Wright