Re: MAKEDEV on RH5 i386 added fb

Jakub Jelinek (
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:
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

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

Jakub Jelinek | |
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
Please read the FAQ at