diff options
| author | dogcow <dogcow@NetBSD.org> | 2008-01-02 06:53:09 +0000 |
|---|---|---|
| committer | dogcow <dogcow@NetBSD.org> | 2008-01-02 06:53:09 +0000 |
| commit | fad5ee13970a7d5eccb807acfd5cb95be4ef673a (patch) | |
| tree | 0fad9fa043a074ce84768bf380756a6700528c44 /sys/arch/sun2/dev | |
| parent | b0e1200d26927de058cc68e8906f20936c0d214e (diff) | |
const char casting, to make gcc happy. (not that sun2 compiles these days
without other patches.)
Diffstat (limited to 'sys/arch/sun2/dev')
| -rw-r--r-- | sys/arch/sun2/dev/if_ec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sun2/dev/if_ec.c b/sys/arch/sun2/dev/if_ec.c index 91281c8900e..5bf4b263a8d 100644 --- a/sys/arch/sun2/dev/if_ec.c +++ b/sys/arch/sun2/dev/if_ec.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ec.c,v 1.12 2007/03/04 06:00:51 christos Exp $ */ +/* $NetBSD: if_ec.c,v 1.13 2008/01/02 06:53:09 dogcow Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_ec.c,v 1.12 2007/03/04 06:00:51 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ec.c,v 1.13 2008/01/02 06:53:09 dogcow Exp $"); #include "opt_inet.h" #include "opt_ns.h" @@ -286,7 +286,7 @@ ec_init(struct ifnet *ifp) delay(160); /* Set the Ethernet address. */ - bus_space_write_region_1(sc->sc_iot, sc->sc_ioh, ECREG_ARAM, LLADDR(sc->sc_ethercom.ec_if.if_sadl), ETHER_ADDR_LEN); + bus_space_write_region_1(sc->sc_iot, sc->sc_ioh, ECREG_ARAM, CLLADDR(sc->sc_ethercom.ec_if.if_sadl), ETHER_ADDR_LEN); ECREG_CSR_WR((ECREG_CSR_RD & EC_CSR_INTPA) | EC_CSR_AMSW); ECREG_CSR_WR(ECREG_CSR_RD & 0); |
