Create an MI Ether3 driver. It's derived from the arm26 driver, which uses

my MI SEEQ 8005 driver, which is based on the arm32 ea driver.
This commit is contained in:
bjh21 2001-03-24 00:14:52 +00:00
parent 2714607c72
commit 8bd452c648
5 changed files with 15 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.arm26,v 1.25 2001/03/20 00:01:37 bjh21 Exp $
# $NetBSD: files.arm26,v 1.26 2001/03/24 00:14:53 bjh21 Exp $
# Copyright (c) 1997, 1998, 2000 Ben Harris
# All rights reserved.
@ -170,11 +170,6 @@ file arch/arm26/iobus/upc_iobus.c upc_iobus
include "dev/podulebus/files.podulebus"
# Acorn/Atomwide Ether3
device ea: ether, ifnet, arp, seeq8005
attach ea at podulebus
file arch/arm26/podulebus/if_ea.c ea
# i-cubed EtherLAN 100, 200 and 500
device eh: ether, ifnet, arp, dp8390nic, podloader
attach eh at podulebus

View File

@ -1,4 +1,4 @@
# $NetBSD: files.arm32,v 1.103 2001/03/20 18:20:54 reinoud Exp $
# $NetBSD: files.arm32,v 1.104 2001/03/24 00:14:54 bjh21 Exp $
#
# First try for arm-specific configuration info
#
@ -227,10 +227,6 @@ include "dev/podulebus/files.podulebus"
attach ne at podulebus with ne_pbus
file arch/arm32/podulebus/if_ne_pbus.c ne_pbus
device ea: ether, ifnet, arp
attach ea at podulebus
file arch/arm32/podulebus/if_ea.c ea
device eb: ether, ifnet, arp
attach eb at podulebus
file arch/arm32/podulebus/if_eb.c eb

View File

@ -1,6 +1,11 @@
# $NetBSD: files.podulebus,v 1.1 2001/03/19 23:58:12 bjh21 Exp $
# $NetBSD: files.podulebus,v 1.2 2001/03/24 00:14:52 bjh21 Exp $
# Acorn Ether1
device ei: ether, ifnet, arp, i82586
attach ei at podulebus
file dev/podulebus/if_ei.c ei
# Acorn/Atomwide Ether3
device ea: ether, ifnet, arp, seeq8005
attach ea at podulebus
file dev/podulebus/if_ea.c ea

View File

@ -1,7 +1,7 @@
/* $NetBSD: if_ea.c,v 1.26 2001/03/18 15:56:04 bjh21 Exp $ */
/* $NetBSD: if_ea.c,v 1.1 2001/03/24 00:14:53 bjh21 Exp $ */
/*
* Copyright (c) 2000 Ben Harris
* Copyright (c) 2000, 2001 Ben Harris
* Copyright (c) 1995 Mark Brinicombe
* All rights reserved.
*
@ -38,7 +38,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: if_ea.c,v 1.26 2001/03/18 15:56:04 bjh21 Exp $");
__RCSID("$NetBSD: if_ea.c,v 1.1 2001/03/24 00:14:53 bjh21 Exp $");
#include <sys/device.h>
#include <sys/socket.h>
@ -46,7 +46,6 @@ __RCSID("$NetBSD: if_ea.c,v 1.26 2001/03/18 15:56:04 bjh21 Exp $");
#include <machine/bus.h>
#include <machine/intr.h>
#include <machine/irq.h>
#include <net/if.h>
#include <net/if_ether.h>
@ -120,8 +119,9 @@ eaattach(struct device *parent, struct device *self, void *aux)
/* dprintf(("Attaching %s...\n", sc->sc_dev.dv_xname));*/
/* Set the address of the controller for easy access */
bus_space_shift(pa->pa_mod_t, pa->pa_mod_h, EA_8005_SHIFT,
&sc->sc_8005.sc_iot, &sc->sc_8005.sc_ioh);
podulebus_shift_tag(pa->pa_mod_t, EA_8005_SHIFT, &sc->sc_8005.sc_iot);
bus_space_map(sc->sc_8005.sc_iot, pa->pa_mod_base, /* XXX */ 0, 0,
&sc->sc_8005.sc_ioh);
/* Get the Ethernet address from the device description string. */
if (pa->pa_descr == NULL) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_eareg.h,v 1.5 2000/09/18 20:51:16 bjh21 Exp $ */
/* $NetBSD: if_eareg.h,v 1.1 2001/03/24 00:14:53 bjh21 Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe