diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-09-02 04:49:13 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-09-02 04:49:13 +0000 |
commit | 639e115ed79ff3f8b2dff6e34f5fa16a5273edd8 (patch) | |
tree | 1a9c1539b715b3a936830100fe242e72030efb6a /sys/dev/pci/if_xl.c | |
parent | 19ba7f37752d08f9bbbd73b53c4b36e9809608d0 (diff) |
KNF & printf formatting
Diffstat (limited to 'sys/dev/pci/if_xl.c')
-rw-r--r-- | sys/dev/pci/if_xl.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/sys/dev/pci/if_xl.c b/sys/dev/pci/if_xl.c index 95ac8c901e6..b94264d9bba 100644 --- a/sys/dev/pci/if_xl.c +++ b/sys/dev/pci/if_xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xl.c,v 1.1 1998/09/02 03:01:05 jason Exp $ */ +/* $OpenBSD: if_xl.c,v 1.2 1998/09/02 04:49:12 jason Exp $ */ /* * Copyright (c) 1997, 1998 @@ -31,7 +31,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_xl.c,v 1.1 1998/09/02 03:01:05 jason Exp $ + * $Id: if_xl.c,v 1.2 1998/09/02 04:49:12 jason Exp $ */ /* @@ -162,7 +162,7 @@ #if !defined(lint) && !defined(__OpenBSD__) static char rcsid[] = - "$Id: if_xl.c,v 1.1 1998/09/02 03:01:05 jason Exp $"; + "$Id: if_xl.c,v 1.2 1998/09/02 04:49:12 jason Exp $"; #endif #ifdef __FreeBSD__ @@ -2812,12 +2812,12 @@ xl_probe(parent, match, aux) return (0); switch (PCI_PRODUCT(pa->pa_id)) { - case PCI_PRODUCT_3COM_3C900TPO: - case PCI_PRODUCT_3COM_3C900COMBO: - case PCI_PRODUCT_3COM_3C905TX: - case PCI_PRODUCT_3COM_3C905T4: - case PCI_PRODUCT_3COM_3C905BTX: - case PCI_PRODUCT_3COM_3C905BT4: + case PCI_PRODUCT_3COM_3C900TPO: + case PCI_PRODUCT_3COM_3C900COMBO: + case PCI_PRODUCT_3COM_3C905TX: + case PCI_PRODUCT_3COM_3C905T4: + case PCI_PRODUCT_3COM_3C905BTX: + case PCI_PRODUCT_3COM_3C905BT4: return (1); } @@ -2908,7 +2908,6 @@ xl_attach(parent, self, aux) printf(": couldn't establish interrupt"); if (intrstr != NULL) printf(" at %s", intrstr); - printf("\n"); return; } @@ -2938,7 +2937,7 @@ xl_attach(parent, self, aux) } bcopy(enaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); - printf("%s: address %s\n", sc->sc_dev.dv_xname, + printf(" address %s\n", sc->sc_dev.dv_xname, ether_sprintf(sc->arpcom.ac_enaddr)); sc->xl_ldata_ptr = malloc(sizeof(struct xl_list_data) + 8, |