[PATCH] Various fixes to wl(4)
John Baldwin
jhb at freebsd.org
Mon Sep 22 19:22:05 UTC 2014
On Friday, September 19, 2014 03:47:16 PM Warner Losh wrote:
> I got rid of my pre-802.11 WaveLAN cards about 8 years go after not having
> them in a system at all for 8 years. And they were about 4 years obsolete
> when I took them out of service… I’m not even sure I have a machine with an
> ISA slot to test the card, even if I still had it.
>
> Sorry I can’t help more :)
If no one tests them then I will happily toss the driver into the dustbin,
just giving folks a chance to test patches before I do so. (I'm secretly
hoping I can purge several old drivers during the current round of timeout()
purging.)
> Warner
>
> On Sep 19, 2014, at 2:07 PM, John Baldwin <jhb at FreeBSD.org> wrote:
> > This patch fixes various issues in wl(4) including:
> >
> > - Use bus_space instead of inb/outb.
> > - Use device_printf() and if_printf()
> > - Use callout(9) instead of timeout(9)
> > - Don't hold the driver lock across sleeping actions like
> >
> > bus_teardown_intr(), subyte(), etc.
> >
> > - Don't recurse on the driver lock.
> >
> > The patch is against HEAD but probably applies to 9 and 10 as well.
> >
> > http://people.freebsd.org/~jhb/patches/wl_cleanup.patch
--
John Baldwin
More information about the freebsd-current
mailing list