Source-Changes archive

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

CVS commit: src/sys/dev/sun



Module Name:    src
Committed By:   macallan
Date:           Sat Oct  8 00:46:44 UTC 2005

Modified Files:
        src/sys/dev/sun: fb.c

Log Message:
Fixes the following bug:
Framebuffer drivers use their own minor device number to find their device entry
in fbdriver methods ( like cgsix uses cgsix_cd[minor] ) but fb passed the fb
device's unit number which works only as long as all registered fb devices use
the same underlying driver. With different fb drivers, like a cgsix and an ffb, 
both will be (native) unit number 0 so with the old code /dev/fb1 would be
unusable.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/dev/sun/fb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index