devices.txt bugs

Message ID Pine.LNX.4.05.10101021122180.7140-100000@callisto.of.borg
State New, archived
Headers show
Series
  • devices.txt bugs
Related show

Commit Message

Geert Uytterhoeven Jan. 2, 2001, 10:27 a.m. UTC
This patch fixes two things:

  - Correct the minor numbers for the frame buffer devices.  We have room for
    32 frame buffers since about one year, with more room for future expansion
    to 256.  (promised to go in by HPA on Fri, 24 Mar 2000 01:47:05 -0800).

  - Fix a typo in the minors for the A2232 serial card


Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


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

Comments

Hubert Mantel Jan. 2, 2001, 5:16 p.m. UTC | #1
Hi,

On Tue, Jan 02, Geert Uytterhoeven wrote:

> This patch fixes two things:
> 
>   - Correct the minor numbers for the frame buffer devices.  We have room for
>     32 frame buffers since about one year, with more room for future expansion
>     to 256.  (promised to go in by HPA on Fri, 24 Mar 2000 01:47:05 -0800).
> 
>   - Fix a typo in the minors for the A2232 serial card
> 
> --- linux-2.4.0-current/Documentation/devices.txt.orig	Mon Jan  1 23:30:06 2001
> +++ linux-2.4.0-current/Documentation/devices.txt	Tue Jan  2 11:16:42 2001
> @@ -660,6 +660,12 @@
>  
>   29 char	Universal frame buffer
>  		  0 = /dev/fb0		First frame buffer
> +		  1 = /dev/fb1		Second frame buffer
> +		    ...
> +		 31 = /dev/fb31		32nd frame buffer
> +
> +		Backward compatibility aliases {2.6}
> +
>  		 32 = /dev/fb1		Second frame buffer

How is this supposed to work? /dev/fb1 can either be 29,1 or 29,32. But
not both at the same time.

[...]

> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

                                                                  -o)
    Hubert Mantel              Goodbye, dots...                   /\\
                                                                 _\_v
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

Patch

--- linux-2.4.0-current/Documentation/devices.txt.orig	Mon Jan  1 23:30:06 2001
+++ linux-2.4.0-current/Documentation/devices.txt	Tue Jan  2 11:16:42 2001
@@ -660,6 +660,12 @@ 
 
  29 char	Universal frame buffer
 		  0 = /dev/fb0		First frame buffer
+		  1 = /dev/fb1		Second frame buffer
+		    ...
+		 31 = /dev/fb31		32nd frame buffer
+
+		Backward compatibility aliases {2.6}
+
 		 32 = /dev/fb1		Second frame buffer
 		    ...
 		224 = /dev/fb7		Eighth frame buffer
@@ -2436,7 +2442,7 @@ 
 
 224 char	A2232 serial card
 		  0 = /dev/ttyY0		First A2232 port
-		  1 = /dev/cuy0			Second A2232 port
+		  1 = /dev/ttyY1		Second A2232 port
 		    ...
 
 225 char	A2232 serial card (alternate devices)