From cc48c70aca802844f758f365a4d8c646024c339a Mon Sep 17 00:00:00 2001 From: bde Date: Fri, 29 Jan 1999 11:31:45 +0000 Subject: 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. --- sys/dev/de/if_de.c | 4 ++-- sys/pci/if_de.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index e8c2ae4..49ae4a2 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/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 diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c index e8c2ae4..49ae4a2 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 -- cgit v1.1