diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-03-18 07:50:58 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-03-18 07:50:58 +0000 |
commit | 0f58b4a7284fb6b6cfb1f673ba84e4f428dca9c4 (patch) | |
tree | 5881531810f6e961250acdabfdec998e4ab39453 /sys/alpha/tlsb | |
parent | 47eb9b40b9ecd17874e8867494ec61e5719ebf2f (diff) | |
download | FreeBSD-src-0f58b4a7284fb6b6cfb1f673ba84e4f428dca9c4.zip FreeBSD-src-0f58b4a7284fb6b6cfb1f673ba84e4f428dca9c4.tar.gz |
Alpha 8200: Remove clause 3 of licence. Clean up code slightly.
Diffstat (limited to 'sys/alpha/tlsb')
-rw-r--r-- | sys/alpha/tlsb/gbus.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/sys/alpha/tlsb/gbus.c b/sys/alpha/tlsb/gbus.c index d8cb286..f5d1e28 100644 --- a/sys/alpha/tlsb/gbus.c +++ b/sys/alpha/tlsb/gbus.c @@ -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); |