aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/if_de.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-01-29 11:31:45 +0000
committerBruce Evans <bde@FreeBSD.org>1999-01-29 11:31:45 +0000
commitd12895f90b090dc5e39f514046146b78eb3cf035 (patch)
treee88850838a8122b46ebf6ff49026be4654b79a1f /sys/pci/if_de.c
parent9a6c0bd6c9e0273d88ff515e5eb582961445acf3 (diff)
downloadsrc-d12895f90b090dc5e39f514046146b78eb3cf035.tar.gz
src-d12895f90b090dc5e39f514046146b78eb3cf035.zip
Removed a bogus cast to v_caddr_t. This is part of terminating
v_caddr_t with extreme prejudice. Here the bogons were originally the same as for c_caddr_t (half-baked K&R support), but rev.1.95 changed one wrong cast and one harmless cast to 2 wrong casts, and rev.1.96 only fixed the originally wrong cast.
Notes
Notes: svn path=/head/; revision=43391
Diffstat (limited to 'sys/pci/if_de.c')
-rw-r--r--sys/pci/if_de.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c
index e8c2ae45d121..49ae4a2f4500 100644
--- a/sys/pci/if_de.c
+++ b/sys/pci/if_de.c
@@ -1,5 +1,5 @@
/* $NetBSD: if_de.c,v 1.80 1998/09/25 18:06:53 matt Exp $ */
-/* $Id: if_de.c,v 1.96 1999/01/28 17:32:02 dillon Exp $ */
+/* $Id: if_de.c,v 1.97 1999/01/29 08:29:05 bde Exp $ */
/*-
* Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
@@ -2412,7 +2412,7 @@ tulip_srom_decode(
/*
* Save the hardware address.
*/
- bcopy(shp->sh_ieee802_address, (v_caddr_t) sc->tulip_enaddr, 6);
+ bcopy(shp->sh_ieee802_address, sc->tulip_enaddr, 6);
/*
* If this is a multiple port card, add the adapter index to the last
* byte of the hardware address. (if it isn't multiport, adding 0