CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2015/06/25 14:05:11

Modified files:
        sys/dev/isa    : gus.c gusvar.h 

Log message:
Cards with revision < 10 (qemu rev is 0), have no ad1848 chip and
don't attach the ad1848 driver. But the "malloc" method of gus_hw_if
is ad1848_malloc() which assumes a ad1848 is attached (and expect the
softc pointer to be a struct ad1848_softc, but get a gus_softc pointer
instead). Implement, the missing gus_{malloc,free,mappage,...}
routines. Add the missing mtx_{enter,leave} calls, as we're at it.
Found by mlarkin.

ok mlarkin

Reply via email to