lkml.org 
[lkml]   [1998]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MAKEDEV on RH5 i386 added fb
On Wed, 29 Jul 1998, Brian K. White wrote:
> > 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
>
> ============
>
> >
> > On Wed, 29 Jul 1998, Jakub Jelinek wrote:
> > > Geert, I think we should get rid of the confusing part of devices.t?t, which
> > > writes about (fb minors & 0x1f) != 0.
> >
> > I know. Unfortunately Peter Anvin doesn't seem to find time to send his updates
> > to his colleague at work. I sent the updates in April or so, and he promised to
> > merge them soon with Linus.
> >
> > Peter: please...
>
> Is that the whole thing? just /dev/fb[""0123] 29 [0 0 32 64 96] ? OK, thanks.
> btw, I just discovered MAKEDEV update isn't working after all, so I'll post
> a new patch later.

The official numbers are

| We agreed upon the further standardization of the frame buffer devices
| (character device 29) in 2.1.x. Now it's
|
| c 29 0 /dev/fb0 First frame buffer
| c 29 32 /dev/fb1 Second frame buffer
| c 29 64 /dev/fb2 ...
| c 29 96 /dev/fb3
| c 29 128 /dev/fb4
| c 29 160 /dev/fb5
| c 29 192 /dev/fb6
| c 29 224 /dev/fb7
|
| for all architectures. We may fill up the in between minor numbers later to
| support more than 8 frame buffer devices.
|
| On Linux/m68k, soft links /dev/fb%dcurrent -> /dev/fb%d may be present for
| backwards compatibility, but these are being phased out.

Greetings,

Geert

--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


-
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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.028 / U:1.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site