diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-17 18:42:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-17 18:42:07 +0000 |
commit | 5b9bd30fe6b44fbae7ef327fbb4a7ea3390ac4c1 (patch) | |
tree | 74ebcea6fa8742b4d3cce14511c68c5e70667ba3 /sys/arch/mvme68k/stand/netboot/if_ie.c | |
parent | c08507e1938fc34b95315ffde083468e6ab0585d (diff) |
Move ethernet buffers higher in memory, just below our text, to allow
larger bsd.rd to load correctly. Tested on MVME147 (if_le) and MVME167 (if_ie).
Diffstat (limited to 'sys/arch/mvme68k/stand/netboot/if_ie.c')
-rw-r--r-- | sys/arch/mvme68k/stand/netboot/if_ie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/stand/netboot/if_ie.c b/sys/arch/mvme68k/stand/netboot/if_ie.c index baa7f08ef6c..0fb27fbe9a7 100644 --- a/sys/arch/mvme68k/stand/netboot/if_ie.c +++ b/sys/arch/mvme68k/stand/netboot/if_ie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ie.c,v 1.12 2003/08/20 00:26:00 deraadt Exp $ */ +/* $OpenBSD: if_ie.c,v 1.13 2009/02/17 18:42:06 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -422,8 +422,8 @@ ie_init(struct iodesc *desc, void *machdep_hint) bzero(&ie_softc, sizeof(ie_softc)); ie_softc.sc_reg = (struct iereg *) ie_config[desc->io_netif->nif_unit].phys_addr; - /* printf("buffer @0x%x\n", RELOC - 0x20000);*/ - ie_softc.sc_mem = (struct iemem *) 0x3e0000; + /* use 64KB below our code as buffers */ + ie_softc.sc_mem = (struct iemem *)(STAGE2_RELOC - 0x10000); ie_reset(desc->io_netif, desc->myea); printf("device: %s%d attached to %s\n", nif->nif_driver->netif_bname, nif->nif_unit, ether_sprintf(desc->myea)); |