Deleted Added
full compact
dp83932.c (113255) dp83932.c (118607)
1/* $FreeBSD: head/sys/dev/snc/dp83932.c 113255 2003-04-08 14:25:47Z des $ */
1/* $FreeBSD: head/sys/dev/snc/dp83932.c 118607 2003-08-07 15:04:27Z jhb $ */
2/* $NecBSD: dp83932.c,v 1.5 1999/07/29 05:08:44 kmatsuda Exp $ */
3/* $NetBSD: if_snc.c,v 1.18 1998/04/25 21:27:40 scottr Exp $ */
4
5/*
6 * Copyright (c) 1997, 1998, 1999
7 * Kouichi Matsuda. All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

--- 703 unchanged lines hidden (view full) ---

713{
714 int i;
715
716 printf("CAM entries:\n");
717 NIC_PUT(sc, SNCR_CR, CR_RST);
718 wbflush();
719
720 for (i = 0; i < 16; i++) {
2/* $NecBSD: dp83932.c,v 1.5 1999/07/29 05:08:44 kmatsuda Exp $ */
3/* $NetBSD: if_snc.c,v 1.18 1998/04/25 21:27:40 scottr Exp $ */
4
5/*
6 * Copyright (c) 1997, 1998, 1999
7 * Kouichi Matsuda. All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

--- 703 unchanged lines hidden (view full) ---

713{
714 int i;
715
716 printf("CAM entries:\n");
717 NIC_PUT(sc, SNCR_CR, CR_RST);
718 wbflush();
719
720 for (i = 0; i < 16; i++) {
721 ushort ap2, ap1, ap0;
721 u_short ap2, ap1, ap0;
722 NIC_PUT(sc, SNCR_CEP, i);
723 wbflush();
724 ap2 = NIC_GET(sc, SNCR_CAP2);
725 ap1 = NIC_GET(sc, SNCR_CAP1);
726 ap0 = NIC_GET(sc, SNCR_CAP0);
727 printf("%d: ap2=0x%x ap1=0x%x ap0=0x%x\n", i, ap2, ap1, ap0);
728 }
729 printf("CAM enable 0x%x\n", NIC_GET(sc, SNCR_CEP));

--- 481 unchanged lines hidden ---
722 NIC_PUT(sc, SNCR_CEP, i);
723 wbflush();
724 ap2 = NIC_GET(sc, SNCR_CAP2);
725 ap1 = NIC_GET(sc, SNCR_CAP1);
726 ap0 = NIC_GET(sc, SNCR_CAP0);
727 printf("%d: ap2=0x%x ap1=0x%x ap0=0x%x\n", i, ap2, ap1, ap0);
728 }
729 printf("CAM enable 0x%x\n", NIC_GET(sc, SNCR_CEP));

--- 481 unchanged lines hidden ---