aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>1999-07-29 01:03:04 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>1999-07-29 01:03:04 +0000
commit15317dd875420f6e8953f95fa7de214465187dda (patch)
tree4895cb91c66163742479e4442fcd330fed36fc9b /sys/dev/ppbus
parent7558f6aad9132f231a62b6bf2bb57f082dc0a57d (diff)
Notes
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/lpbb.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/dev/ppbus/lpbb.c b/sys/dev/ppbus/lpbb.c
index e3ce6f0d2b56a..08f4540458217 100644
--- a/sys/dev/ppbus/lpbb.c
+++ b/sys/dev/ppbus/lpbb.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: lpbb.c,v 1.4 1999/01/10 12:04:54 nsouch Exp $
+ * $Id: lpbb.c,v 1.5 1999/05/08 21:59:06 dfr Exp $
*
*/
@@ -62,7 +62,6 @@ static int lpbb_detect(struct lpbb_softc *);
static int lpbb_probe(device_t);
static int lpbb_attach(device_t);
-static void lpbb_print_child(device_t, device_t);
static int lpbb_callback(device_t, int, caddr_t *);
static void lpbb_setlines(device_t, int, int);
@@ -77,7 +76,7 @@ static device_method_t lpbb_methods[] = {
DEVMETHOD(device_attach, lpbb_attach),
/* bus interface */
- DEVMETHOD(bus_print_child, lpbb_print_child),
+ DEVMETHOD(bus_print_child, bus_generic_print_child),
/* iicbb interface */
DEVMETHOD(iicbb_callback, lpbb_callback),
@@ -307,12 +306,4 @@ lpbb_getdataline(device_t dev)
return (getSDA(sc));
}
-static void
-lpbb_print_child(device_t bus, device_t dev)
-{
- printf(" on %s%d", device_get_name(bus), device_get_unit(bus));
-
- return;
-}
-
DRIVER_MODULE(lpbb, root, lpbb_driver, lpbb_devclass, 0, 0);