Subject: Removing __BROKEN_CONFIG_UNIT_USAGE
To: None <port-sun3@netbsd.org>
From: Quentin Garnier <cube@cubidou.net>
List: port-sun3
Date: 07/15/2007 20:13:03
--x0PBmTWHB3bjoOVh
Content-Type: multipart/mixed; boundary="xmHgJexE5s//CZci"
Content-Disposition: inline


--xmHgJexE5s//CZci
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

Attached is a patch that should DTRT and allow us to remove the
__BROKEN_CONFIG_UNIT_USAGE tests in subr_autoconf.c.

My understanding of the sun3 code is that it used it to make sure the
xd and xy drives had the correct numbers, while still having a wildcard
instance in the config file, which is not only wrong but confusing.

The patch does the following things:
  - actually make use of the locator (people, locators are not just so
    you can have stuff in the config file that look like what is printed
    on the console...)
  - remove its default value so you can't have wildcarded instances
    anymore
  - use its value through config_stdsubmatch so that the correct
    instance is selected

Note that while it should be very close to compiling, I haven't tried
because right now my computer is busy with something else.  I'll do that
later, and repost the patch if necessary.

People will have to change their config files after this is committed,
but config(1) will spit out an error in case they don't so they will
notice.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--xmHgJexE5s//CZci
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sun3.diff"
Content-Transfer-Encoding: quoted-printable

Index: sun3/conf/FOUR_TTYS
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/FOUR_TTYS,v
retrieving revision 1.51
diff -u -r1.51 FOUR_TTYS
--- sun3/conf/FOUR_TTYS	27 Sep 2006 21:42:06 -0000	1.51
+++ sun3/conf/FOUR_TTYS	15 Jul 2007 18:00:59 -0000
@@ -151,12 +151,18 @@
 # Xylogics 450/451 controllers (VME A16/D16)
 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
-xy* at xyc? drive ?
+xy0 at xyc0 drive 0
+xy1 at xyc0 drive 1
+xy2 at xyc1 drive 2
+xy3 at xyc1 drive 3
=20
 # Xylogics 7053 controllers (VME A16/D32)
 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
-xd* at xdc? drive ?
+xd0 at xdc0 drive 0
+xd1 at xdc0 drive 1
+xd2 at xdc1 drive 2
+xd3 at xdc1 drive 3
=20
 # Xylogics 472 tape controllers?
=20
Index: sun3/conf/GENERIC
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/GENERIC,v
retrieving revision 1.138
diff -u -r1.138 GENERIC
--- sun3/conf/GENERIC	4 Jun 2007 08:55:25 -0000	1.138
+++ sun3/conf/GENERIC	15 Jul 2007 18:00:59 -0000
@@ -208,12 +208,18 @@
 # Xylogics 450/451 controllers (VME A16/D16)
 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
-xy* at xyc? drive ?
+xy0 at xyc0 drive 0
+xy1 at xyc0 drive 1
+xy2 at xyc1 drive 2
+xy3 at xyc1 drive 3
=20
 # Xylogics 7053 controllers (VME A16/D32)
 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
-xd* at xdc? drive ?
+xd0 at xdc0 drive 0
+xd1 at xdc0 drive 1
+xd2 at xdc1 drive 2
+xd3 at xdc1 drive 3
=20
 # Xylogics 472 tape controllers?
=20
Index: sun3/conf/GENERIC3X
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/GENERIC3X,v
retrieving revision 1.95
diff -u -r1.95 GENERIC3X
--- sun3/conf/GENERIC3X	6 Jun 2007 08:19:10 -0000	1.95
+++ sun3/conf/GENERIC3X	15 Jul 2007 18:00:59 -0000
@@ -199,12 +199,18 @@
 # Xylogics 450/451 controllers (VME A16/D16)
 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
-xy* at xyc? drive ?
+xy0 at xyc0 drive 0
+xy1 at xyc0 drive 1
+xy2 at xyc1 drive 2
+xy3 at xyc1 drive 3
=20
 # Xylogics 7053 controllers (VME A16/D32)
 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
-xd* at xdc? drive ?
+xd0 at xdc0 drive 0
+xd1 at xdc0 drive 1
+xd2 at xdc1 drive 2
+xd3 at xdc1 drive 3
=20
 # Xylogics 472 tape controllers?
=20
Index: sun3/conf/INSTALL
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/INSTALL,v
retrieving revision 1.39
diff -u -r1.39 INSTALL
--- sun3/conf/INSTALL	29 Dec 2006 21:49:03 -0000	1.39
+++ sun3/conf/INSTALL	15 Jul 2007 18:00:59 -0000
@@ -150,12 +150,18 @@
 # Xylogics 450/451 controllers (VME A16/D16)
 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
-xy* at xyc? drive ?
+xy0 at xyc0 drive 0
+xy1 at xyc0 drive 1
+xy2 at xyc1 drive 2
+xy3 at xyc1 drive 3
=20
 # Xylogics 7053 controllers (VME A16/D32)
 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
-xd* at xdc? drive ?
+xd0 at xdc0 drive 0
+xd1 at xdc0 drive 1
+xd2 at xdc1 drive 2
+xd3 at xdc1 drive 3
=20
 # Xylogics 472 tape controllers?
=20
Index: sun3/conf/INSTALL3X
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/INSTALL3X,v
retrieving revision 1.38
diff -u -r1.38 INSTALL3X
--- sun3/conf/INSTALL3X	29 Dec 2006 21:49:03 -0000	1.38
+++ sun3/conf/INSTALL3X	15 Jul 2007 18:00:59 -0000
@@ -155,12 +155,18 @@
 # Xylogics 450/451 controllers (VME A16/D16)
 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
-xy* at xyc? drive ?
+xy0 at xyc0 drive 0
+xy1 at xyc0 drive 1
+xy2 at xyc1 drive 2
+xy3 at xyc1 drive 3
=20
 # Xylogics 7053 controllers (VME A16/D32)
 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
-xd* at xdc? drive ?
+xd0 at xdc0 drive 0
+xd1 at xdc0 drive 1
+xd2 at xdc1 drive 2
+xd3 at xdc1 drive 3
=20
 # Xylogics 472 tape controllers?
=20
Index: sun3/conf/KGDB
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/KGDB,v
retrieving revision 1.51
diff -u -r1.51 KGDB
--- sun3/conf/KGDB	27 Sep 2006 21:42:06 -0000	1.51
+++ sun3/conf/KGDB	15 Jul 2007 18:00:59 -0000
@@ -147,12 +147,18 @@
 # Xylogics 450/451 controllers (VME A16/D16)
 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
-xy* at xyc? drive ?
+xy0 at xyc0 drive 0
+xy1 at xyc0 drive 1
+xy2 at xyc1 drive 2
+xy3 at xyc1 drive 3
=20
 # Xylogics 7053 controllers (VME A16/D32)
 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
-xd* at xdc? drive ?
+xd0 at xdc0 drive 0
+xd1 at xdc0 drive 1
+xd2 at xdc1 drive 2
+xd3 at xdc1 drive 3
=20
 # Xylogics 472 tape controllers?
=20
Index: sun3/conf/KGDB3X
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/KGDB3X,v
retrieving revision 1.53
diff -u -r1.53 KGDB3X
--- sun3/conf/KGDB3X	27 Sep 2006 21:42:06 -0000	1.53
+++ sun3/conf/KGDB3X	15 Jul 2007 18:00:59 -0000
@@ -152,12 +152,18 @@
 # Xylogics 450/451 controllers (VME A16/D16)
 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
-xy* at xyc? drive ?
+xy0 at xyc0 drive 0
+xy1 at xyc0 drive 1
+xy2 at xyc1 drive 2
+xy3 at xyc1 drive 3
=20
 # Xylogics 7053 controllers (VME A16/D32)
 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
-xd* at xdc? drive ?
+xd0 at xdc0 drive 0
+xd1 at xdc0 drive 1
+xd2 at xdc1 drive 2
+xd3 at xdc1 drive 3
=20
 # Xylogics 472 tape controllers?
=20
Index: sun3/conf/RAMDISK
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/RAMDISK,v
retrieving revision 1.45
diff -u -r1.45 RAMDISK
--- sun3/conf/RAMDISK	5 Feb 2006 05:02:06 -0000	1.45
+++ sun3/conf/RAMDISK	15 Jul 2007 18:00:59 -0000
@@ -102,12 +102,18 @@
 # Xylogics 450/451 controllers (VME A16/D16)
 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
-xy* at xyc? drive ?
+xy0 at xyc0 drive 0
+xy1 at xyc0 drive 1
+xy2 at xyc1 drive 2
+xy3 at xyc1 drive 3
=20
 # Xylogics 7053 controllers (VME A16/D32)
 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
-xd* at xdc? drive ?
+xd0 at xdc0 drive 0
+xd1 at xdc0 drive 1
+xd2 at xdc1 drive 2
+xd3 at xdc1 drive 3
=20
 # Xylogics 472 tape controllers?
=20
Index: sun3/conf/RAMDISK3X
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/RAMDISK3X,v
retrieving revision 1.33
diff -u -r1.33 RAMDISK3X
--- sun3/conf/RAMDISK3X	5 Feb 2006 05:02:06 -0000	1.33
+++ sun3/conf/RAMDISK3X	15 Jul 2007 18:00:59 -0000
@@ -107,12 +107,18 @@
 # Xylogics 450/451 controllers (VME A16/D16)
 xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
 xyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
-xy* at xyc? drive ?
+xy0 at xyc0 drive 0
+xy1 at xyc0 drive 1
+xy2 at xyc1 drive 2
+xy3 at xyc1 drive 3
=20
 # Xylogics 7053 controllers (VME A16/D32)
 xdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
 xdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
-xd* at xdc? drive ?
+xd0 at xdc0 drive 0
+xd1 at xdc0 drive 1
+xd2 at xdc1 drive 2
+xd3 at xdc1 drive 3
=20
 # Xylogics 472 tape controllers?
=20
Index: sun3/conf/files.sun3
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/conf/files.sun3,v
retrieving revision 1.77
diff -u -r1.77 files.sun3
--- sun3/conf/files.sun3	5 Oct 2006 14:46:11 -0000	1.77
+++ sun3/conf/files.sun3	15 Jul 2007 18:01:00 -0000
@@ -202,13 +202,13 @@
 attach cgtwo at vme
 file arch/sun3/dev/cg2.c		cgtwo needs-flag
=20
-device	xyc {drive =3D -1}
+device	xyc {drive}
 attach	xyc at vme
 device	xy: disk
 attach	xy at xyc
 file	arch/sun3/dev/xy.c		xy | xyc needs-flag
=20
-device	xdc {drive =3D -1}
+device	xdc {drive}
 attach	xdc at vme
 device	xd: disk
 attach	xd at xdc
Index: sun3/dev/xd.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/dev/xd.c,v
retrieving revision 1.57
diff -u -r1.57 xd.c
--- sun3/dev/xd.c	9 Jul 2007 20:52:33 -0000	1.57
+++ sun3/dev/xd.c	15 Jul 2007 18:01:00 -0000
@@ -400,6 +400,7 @@
 	struct xdc_attach_args xa;
 	int     lcv, rqno, err;
 	struct xd_iopb_ctrl *ctl;
+	int	locs[XDC_NLOCS];
=20
 	/* get addressing and intr level stuff from autoconfig and load it
 	 * into our xdc_softc. */
@@ -493,8 +494,10 @@
=20
 	/* now we must look for disks using autoconfig */
 	xa.booting =3D 1;
-	for (xa.driveno =3D 0; xa.driveno < XDC_MAXDEV; xa.driveno++)
-		(void) config_found(self, (void *) &xa, xdc_print);
+	for (xa.driveno =3D 0, locs[XDC_DRIVE] =3D 0; xa.driveno < XDC_MAXDEV;
+	    xa.driveno++, locs[XDC_DRIVE]++)
+		(void) config_found_sm_loc(self, "xdc", (void *) &xa,
+		    xdc_print, config_stdsubmatch);
=20
 	/* start the watchdog clock */
 	callout_reset(&xdc->sc_tick_ch, XDC_TICKCNT, xdc_tick, xdc);
@@ -525,13 +528,6 @@
 int=20
 xdmatch(struct device *parent, struct cfdata *cf, void *aux)
 {
-	struct xdc_attach_args *xa =3D aux;
-	int xd_unit;
-
-	/* Match only on the "wired-down" controller+disk. */
-	xd_unit =3D device_unit(parent) * 2 + xa->driveno;
-	if (cf->cf_unit !=3D xd_unit)
-		return (0);
=20
 	return (1);
 }
Index: sun3/dev/xy.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/dev/xy.c,v
retrieving revision 1.60
diff -u -r1.60 xy.c
--- sun3/dev/xy.c	9 Jul 2007 20:52:34 -0000	1.60
+++ sun3/dev/xy.c	15 Jul 2007 18:01:00 -0000
@@ -338,6 +338,7 @@
 	int     lcv, err, res, pbsz;
 	void	*tmp, *tmp2;
 	u_long	ultmp;
+	int	locs[XYC_NLOCS];
=20
 	/* get addressing and intr level stuff from autoconfig and load it
 	 * into our xyc_softc. */
@@ -437,8 +438,10 @@
 	callout_init(&xyc->sc_tick_ch, 0);
=20
 	/* now we must look for disks using autoconfig */
-	for (xa.driveno =3D 0; xa.driveno < XYC_MAXDEV; xa.driveno++)
-		(void) config_found(self, (void *) &xa, xyc_print);
+	for (xa.driveno =3D 0, locs[XYC_DRIVE] =3D 0; xa.driveno < XYC_MAXDEV;
+	    xa.driveno++, locs[XYC_DRIVE]++)
+		(void) config_found_sm_loc(self, "xyc", (void *) &xa,
+		    xyc_print, config_stdsubmatch);
=20
 	/* start the watchdog clock */
 	callout_reset(&xyc->sc_tick_ch, XYC_TICKCNT, xyc_tick, xyc);
@@ -469,13 +472,6 @@
 static int=20
 xymatch(struct device *parent, struct cfdata *cf, void *aux)
 {
-	struct xyc_attach_args *xa =3D aux;
-	int xy_unit;
-
-	/* Match only on the "wired-down" controller+disk. */
-	xy_unit =3D device_unit(parent) * 2 + xa->driveno;
-	if (cf->cf_unit !=3D xy_unit)
-		return (0);
=20
 	return (1);
 }
Index: sun3/include/types.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /pub/NetBSD-CVS/src/sys/arch/sun3/include/types.h,v
retrieving revision 1.15
diff -u -r1.15 types.h
--- sun3/include/types.h	14 Jul 2007 21:48:23 -0000	1.15
+++ sun3/include/types.h	15 Jul 2007 18:01:00 -0000
@@ -2,6 +2,5 @@
=20
 #include <m68k/types.h>
=20
-#define	__BROKEN_CONFIG_UNIT_USAGE
 #define	__HAVE_GENERIC_TODR
 #define	__HAVE_TIMECOUNTER

--xmHgJexE5s//CZci--

--x0PBmTWHB3bjoOVh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRppjr9goQloHrPnoAQLKqwf6A/jvQTu2AIeiFGcMz8PV0VV1XkXyfhNA
bCivDXAs0sWQ/tCDo2yStX3vTieC3kWyQV8TUKH+kyDEtBZG0P9eQT1SXE02Wfz6
o9wMrAwiYQMdLxFwZqY41ejc9MRYSKZ4i6miYlCoGvsCWPqyrYm7fw9d2flb30g6
QDeN5jDnXfcRcMfSMO2FgD7Qt2L5hcbf3YHychq0A6/1Bs4FwVy2MjXpjmqr4fwR
u/DwbKuZtKoyYVYaMfMwaSRYAuI2FSN3NiTXtJT9nU/3aM1aWD9ZELlb9SJ2vfRW
UiIFfSewCzfDd9DFKB0M0vBJvAOIt4erwUmaLHkrw6pv3ZXqJcVR7Q==
=kJX0
-----END PGP SIGNATURE-----

--x0PBmTWHB3bjoOVh--