Re: nam2blk cleanup

2016-04-02 Thread Jonathan Gray
Makes sense to me, raidframe isn't coming back.  Nothing seems to
depend on the index offsets.

On Thu, Mar 17, 2016 at 06:46:14PM +0200, Artturi Alm wrote:
> Hi,
> 
> related to past cleanup for some of the sys/arch/x/x/conf.c.
> 
> -Artturi
> 
> 
> Index: sys/arch/alpha/alpha/autoconf.c
> ===
> RCS file: /cvs/src/sys/arch/alpha/alpha/autoconf.c,v
> retrieving revision 1.35
> diff -u -p -r1.35 autoconf.c
> --- sys/arch/alpha/alpha/autoconf.c   25 Nov 2011 05:23:40 -  1.35
> +++ sys/arch/alpha/alpha/autoconf.c   17 Mar 2016 16:35:48 -
> @@ -214,7 +214,6 @@ struct nam2blk nam2blk[] = {
>   { "rd", 6 },
>   { "sd", 8 },
>   { "wd", 0 },
> - { "raid",   16 },
>   { "vnd",9 },
>   { NULL, -1 }
>  };
> Index: sys/arch/amd64/amd64/autoconf.c
> ===
> RCS file: /cvs/src/sys/arch/amd64/amd64/autoconf.c,v
> retrieving revision 1.43
> diff -u -p -r1.43 autoconf.c
> --- sys/arch/amd64/amd64/autoconf.c   17 Jul 2015 21:53:56 -  1.43
> +++ sys/arch/amd64/amd64/autoconf.c   17 Mar 2016 16:35:49 -
> @@ -220,6 +220,5 @@ struct nam2blk nam2blk[] = {
>   { "cd", 6 },
>   { "vnd",14 },
>   { "rd", 17 },
> - { "raid",   19 },
>   { NULL, -1 }
>  };
> Index: sys/arch/armish/armish/autoconf.c
> ===
> RCS file: /cvs/src/sys/arch/armish/armish/autoconf.c,v
> retrieving revision 1.12
> diff -u -p -r1.12 autoconf.c
> --- sys/arch/armish/armish/autoconf.c 20 Sep 2011 22:02:13 -  1.12
> +++ sys/arch/armish/armish/autoconf.c 17 Mar 2016 16:35:49 -
> @@ -143,7 +143,6 @@ struct nam2blk nam2blk[] = {
>   { "sd", 24 },
>   { "cd", 26 },
>   { "rd", 18 },
> - { "raid",   71 },
>   { "vnd",19 },
>   { NULL, -1 }
>  };
> Index: sys/arch/armv7/armv7/autoconf.c
> ===
> RCS file: /cvs/src/sys/arch/armv7/armv7/autoconf.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 autoconf.c
> --- sys/arch/armv7/armv7/autoconf.c   19 May 2015 03:30:54 -  1.3
> +++ sys/arch/armv7/armv7/autoconf.c   17 Mar 2016 16:35:49 -
> @@ -153,7 +153,6 @@ struct nam2blk nam2blk[] = {
>   { "sd", 24 },
>   { "cd", 26 },
>   { "rd", 18 },
> - { "raid",   71 },
>   { NULL, -1 }
>  };
>  
> Index: sys/arch/i386/i386/autoconf.c
> ===
> RCS file: /cvs/src/sys/arch/i386/i386/autoconf.c,v
> retrieving revision 1.94
> diff -u -p -r1.94 autoconf.c
> --- sys/arch/i386/i386/autoconf.c 24 Apr 2015 19:53:43 -  1.94
> +++ sys/arch/i386/i386/autoconf.c 17 Mar 2016 16:35:50 -
> @@ -258,7 +258,6 @@ struct nam2blk nam2blk[] = {
>   { "sd", 4 },
>   { "cd", 6 },
>   { "rd", 17 },
> - { "raid",   19 },
>   { "vnd",14 },
>   { NULL, -1 }
>  };
> Index: sys/arch/macppc/macppc/autoconf.c
> ===
> RCS file: /cvs/src/sys/arch/macppc/macppc/autoconf.c,v
> retrieving revision 1.43
> diff -u -p -r1.43 autoconf.c
> --- sys/arch/macppc/macppc/autoconf.c 4 Apr 2014 01:50:25 -   1.43
> +++ sys/arch/macppc/macppc/autoconf.c 17 Mar 2016 16:35:51 -
> @@ -284,7 +284,6 @@ struct nam2blk nam2blk[] = {
>   { "wd", 0 },
>   { "sd", 2 },
>   { "rd", 17 },
> - { "raid",   19 },
>   { "vnd",14 },
>   { NULL, -1 }
>  };
> Index: sys/arch/socppc/socppc/autoconf.c
> ===
> RCS file: /cvs/src/sys/arch/socppc/socppc/autoconf.c,v
> retrieving revision 1.5
> diff -u -p -r1.5 autoconf.c
> --- sys/arch/socppc/socppc/autoconf.c 1 Apr 2014 20:42:39 -   1.5
> +++ sys/arch/socppc/socppc/autoconf.c 17 Mar 2016 16:35:51 -
> @@ -68,7 +68,6 @@ struct nam2blk nam2blk[] = {
>   { "wd", 0 },
>   { "sd", 2 },
>   { "rd", 17 },
> - { "raid",   19 },
>   { "vnd",14 },
>   { NULL, -1 }
>  };
> Index: sys/arch/sparc/sparc/autoconf.c
> ===
> RCS file: /cvs/src/sys/arch/sparc/sparc/autoconf.c,v
> retrieving revision 1.100
> diff -u -p -r1.100 autoconf.c
> --- sys/arch/sparc/sparc/autoconf.c   30 Mar 2015 20:30:22 -  1.100
> +++ sys/arch/sparc/sparc/autoconf.c   17 Mar 2016 16:35:52 -
> @@ -1886,7 +1886,6 @@ struct nam2blk nam2blk[] = {
>   { "fd", 16 },
>   { "rd", 17 },
>   { "cd", 18 },
> - { "raid",   25 },
>   { "vnd",8 },
>   { NULL, 

nam2blk cleanup

2016-03-19 Thread Artturi Alm
Hi,

related to past cleanup for some of the sys/arch/x/x/conf.c.

-Artturi


Index: sys/arch/alpha/alpha/autoconf.c
===
RCS file: /cvs/src/sys/arch/alpha/alpha/autoconf.c,v
retrieving revision 1.35
diff -u -p -r1.35 autoconf.c
--- sys/arch/alpha/alpha/autoconf.c 25 Nov 2011 05:23:40 -  1.35
+++ sys/arch/alpha/alpha/autoconf.c 17 Mar 2016 16:35:48 -
@@ -214,7 +214,6 @@ struct nam2blk nam2blk[] = {
{ "rd", 6 },
{ "sd", 8 },
{ "wd", 0 },
-   { "raid",   16 },
{ "vnd",9 },
{ NULL, -1 }
 };
Index: sys/arch/amd64/amd64/autoconf.c
===
RCS file: /cvs/src/sys/arch/amd64/amd64/autoconf.c,v
retrieving revision 1.43
diff -u -p -r1.43 autoconf.c
--- sys/arch/amd64/amd64/autoconf.c 17 Jul 2015 21:53:56 -  1.43
+++ sys/arch/amd64/amd64/autoconf.c 17 Mar 2016 16:35:49 -
@@ -220,6 +220,5 @@ struct nam2blk nam2blk[] = {
{ "cd", 6 },
{ "vnd",14 },
{ "rd", 17 },
-   { "raid",   19 },
{ NULL, -1 }
 };
Index: sys/arch/armish/armish/autoconf.c
===
RCS file: /cvs/src/sys/arch/armish/armish/autoconf.c,v
retrieving revision 1.12
diff -u -p -r1.12 autoconf.c
--- sys/arch/armish/armish/autoconf.c   20 Sep 2011 22:02:13 -  1.12
+++ sys/arch/armish/armish/autoconf.c   17 Mar 2016 16:35:49 -
@@ -143,7 +143,6 @@ struct nam2blk nam2blk[] = {
{ "sd", 24 },
{ "cd", 26 },
{ "rd", 18 },
-   { "raid",   71 },
{ "vnd",19 },
{ NULL, -1 }
 };
Index: sys/arch/armv7/armv7/autoconf.c
===
RCS file: /cvs/src/sys/arch/armv7/armv7/autoconf.c,v
retrieving revision 1.3
diff -u -p -r1.3 autoconf.c
--- sys/arch/armv7/armv7/autoconf.c 19 May 2015 03:30:54 -  1.3
+++ sys/arch/armv7/armv7/autoconf.c 17 Mar 2016 16:35:49 -
@@ -153,7 +153,6 @@ struct nam2blk nam2blk[] = {
{ "sd", 24 },
{ "cd", 26 },
{ "rd", 18 },
-   { "raid",   71 },
{ NULL, -1 }
 };
 
Index: sys/arch/i386/i386/autoconf.c
===
RCS file: /cvs/src/sys/arch/i386/i386/autoconf.c,v
retrieving revision 1.94
diff -u -p -r1.94 autoconf.c
--- sys/arch/i386/i386/autoconf.c   24 Apr 2015 19:53:43 -  1.94
+++ sys/arch/i386/i386/autoconf.c   17 Mar 2016 16:35:50 -
@@ -258,7 +258,6 @@ struct nam2blk nam2blk[] = {
{ "sd", 4 },
{ "cd", 6 },
{ "rd", 17 },
-   { "raid",   19 },
{ "vnd",14 },
{ NULL, -1 }
 };
Index: sys/arch/macppc/macppc/autoconf.c
===
RCS file: /cvs/src/sys/arch/macppc/macppc/autoconf.c,v
retrieving revision 1.43
diff -u -p -r1.43 autoconf.c
--- sys/arch/macppc/macppc/autoconf.c   4 Apr 2014 01:50:25 -   1.43
+++ sys/arch/macppc/macppc/autoconf.c   17 Mar 2016 16:35:51 -
@@ -284,7 +284,6 @@ struct nam2blk nam2blk[] = {
{ "wd", 0 },
{ "sd", 2 },
{ "rd", 17 },
-   { "raid",   19 },
{ "vnd",14 },
{ NULL, -1 }
 };
Index: sys/arch/socppc/socppc/autoconf.c
===
RCS file: /cvs/src/sys/arch/socppc/socppc/autoconf.c,v
retrieving revision 1.5
diff -u -p -r1.5 autoconf.c
--- sys/arch/socppc/socppc/autoconf.c   1 Apr 2014 20:42:39 -   1.5
+++ sys/arch/socppc/socppc/autoconf.c   17 Mar 2016 16:35:51 -
@@ -68,7 +68,6 @@ struct nam2blk nam2blk[] = {
{ "wd", 0 },
{ "sd", 2 },
{ "rd", 17 },
-   { "raid",   19 },
{ "vnd",14 },
{ NULL, -1 }
 };
Index: sys/arch/sparc/sparc/autoconf.c
===
RCS file: /cvs/src/sys/arch/sparc/sparc/autoconf.c,v
retrieving revision 1.100
diff -u -p -r1.100 autoconf.c
--- sys/arch/sparc/sparc/autoconf.c 30 Mar 2015 20:30:22 -  1.100
+++ sys/arch/sparc/sparc/autoconf.c 17 Mar 2016 16:35:52 -
@@ -1886,7 +1886,6 @@ struct nam2blk nam2blk[] = {
{ "fd", 16 },
{ "rd", 17 },
{ "cd", 18 },
-   { "raid",   25 },
{ "vnd",8 },
{ NULL, -1 }
 };
Index: sys/arch/sparc64/sparc64/autoconf.c
===
RCS file: /cvs/src/sys/arch/sparc64/sparc64/autoconf.c,v
retrieving revision 1.123
diff -u -p -r1.123 autoconf.c
--- sys/arch/sparc64/sparc64/autoconf.c