Current-Users archive

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

Re: device_lookup_private() puzzle



On Tue, Feb 22, 2011 at 11:05:10AM -0600, David Young wrote:
> On Tue, Feb 22, 2011 at 04:32:19PM +0000, Patrick Welche wrote:
> > Trying out an old udsbr(4) on i386, I was surprised to get an error running
> > radioctl -a, ENXIO on open of /dev/radio.
> > 
> > In /sys/dev/radio.c, printing sc in radioattach and in radioopen show that
> > sc has a different value in each. Am I right in thinking that that is
> > wrong?
> 
> Looks like a sloppy device_t/softc split.  Try this patch.

That cures it!

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index