Re: MAKEDEV on RH5 i386 added fb

Jakub Jelinek (jj@sunsite.ms.mff.cuni.cz)
Wed, 29 Jul 1998 09:15:50 +0200 (MET DST)


> The following patch adds all the /dev/fb's to the MAKEDEV script
> that comes with RedHat 5 Also fixes the js entries so that
> MAKEDEV update (which reads /proc/devices) works automatically
> as well as explicitly MAKEDEV fb, MAKEDEV js etc...

It is wrong for fb devices:
It should look like:
fb)
major=`Major fb` || continue
makedev fb c $major 0 $vcs
for base in 0 1 2 3; do
minor=`math $base \* 32`
makedev fb$base c $major $minor $vcs
done

Geert, I think we should get rid of the confusing part of devices.t?t, which
writes about (fb minors & 0x1f) != 0.

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.111 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html