From cb5131e1df64c490ed29cd4246bffd8700ce4821 Mon Sep 17 00:00:00 2001 From: n_hibma Date: Sun, 11 Apr 1999 21:03:28 +0000 Subject: Syncing with NetBSD version 1998/12/14 --- usr.sbin/usbdevs/Makefile | 3 ++- usr.sbin/usbdevs/usbdevs.8 | 2 +- usr.sbin/usbdevs/usbdevs.c | 14 +++++++++----- 3 files changed, 12 insertions(+), 7 deletions(-) (limited to 'usr.sbin/usbdevs') diff --git a/usr.sbin/usbdevs/Makefile b/usr.sbin/usbdevs/Makefile index 0393156..3c65af3 100644 --- a/usr.sbin/usbdevs/Makefile +++ b/usr.sbin/usbdevs/Makefile @@ -1,7 +1,8 @@ # $NetBSD: Makefile,v 1.2 1998/07/12 20:40:45 augustss Exp $ -# FreeBSD $Id: Makefile,v 1.2 1998/12/13 15:52:26 bde Exp $ +# FreeBSD $Id: Makefile,v 1.3 1998/12/14 09:40:15 n_hibma Exp $ PROG= usbdevs +SRCS= usbdevs.c MAN8= usbdevs.8 CFLAGS+=-I${.CURDIR}/../../sys diff --git a/usr.sbin/usbdevs/usbdevs.8 b/usr.sbin/usbdevs/usbdevs.8 index 46ed36e..7aa10e4 100644 --- a/usr.sbin/usbdevs/usbdevs.8 +++ b/usr.sbin/usbdevs/usbdevs.8 @@ -1,5 +1,5 @@ .\" $NetBSD: usbdevs.8,v 1.3 1998/07/23 13:57:51 augustss Exp $ -.\" FreeBSD $Id$ +.\" $FreeBSD$ .\" Copyright (c) 1998 The NetBSD Foundation, Inc. .\" All rights reserved. .\" diff --git a/usr.sbin/usbdevs/usbdevs.c b/usr.sbin/usbdevs/usbdevs.c index 171c908..009ba5f 100644 --- a/usr.sbin/usbdevs/usbdevs.c +++ b/usr.sbin/usbdevs/usbdevs.c @@ -1,11 +1,12 @@ /* $NetBSD: usbdevs.c,v 1.4 1998/07/23 13:57:51 augustss Exp $ */ -/* FreeBSD $Id$ */ +/* $FreeBSD$ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. * - * Author: Lennart Augustsson + * This code is derived from software contributed to The NetBSD Foundation + * by Lennart Augustsson (augustss@netbsd.org). * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -98,9 +99,12 @@ usbdev(f, a, rec) else printf("unconfigured, "); } - printf("%s, %s", di.product, di.vendor); - if (verbose) - printf(", rev %s", di.revision); + if (verbose) { + printf("%s(0x%04x), %s(0x%04x), rev %s", + di.product, di.productNo, + di.vendor, di.vendorNo, di.revision); + } else + printf("%s, %s", di.product, di.vendor); printf("\n"); if (!rec) return; -- cgit v1.1