Alpha 8200: Remove clause 3 of licence. Clean up code slightly.

This commit is contained in:
Matt Jacob 2000-03-18 07:50:58 +00:00
parent 6beeb2a4cd
commit c6c4384666

View File

@ -2,7 +2,7 @@
/* $NetBSD: gbus.c,v 1.8 1998/05/13 22:13:35 thorpej Exp $ */
/*
* Copyright (c) 1997 by Matthew Jacob
* Copyright (c) 1997, 2000 by Matthew Jacob
* NASA AMES Research Center.
* All rights reserved.
*
@ -15,8 +15,6 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. The name of the author may not be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@ -77,9 +75,9 @@ static devclass_t gbus_devclass;
/*
* Device methods
*/
static int gbus_probe(device_t dev);
static int gbus_print_child(device_t dev, device_t child);
static int gbus_read_ivar(device_t dev, device_t child, int which, u_long *result);;
static int gbus_probe(device_t);
static int gbus_print_child(device_t, device_t);
static int gbus_read_ivar(device_t, device_t, int, u_long *);
static device_method_t gbus_methods[] = {
/* Device interface */
@ -99,9 +97,7 @@ static device_method_t gbus_methods[] = {
};
static driver_t gbus_driver = {
"gbus",
gbus_methods,
1, /* no softc */
"gbus", gbus_methods, 1
};
/*
@ -157,5 +153,4 @@ gbus_read_ivar(device_t bus, device_t dev,
}
return ENOENT;
}
DRIVER_MODULE(gbus, tlsb, gbus_driver, gbus_devclass, 0, 0);
DRIVER_MODULE(gbus, tlsbcpu, gbus_driver, gbus_devclass, 0, 0);