Commit Graph

110 Commits

Author SHA1 Message Date
gwr 3828f3a600 Add idprom.c and libsa files that are now separate
(sprintf.c subr_prf.c ...)
1999-03-04 08:19:38 +00:00
gwr 8cf14656b3 On Sun3X machines, use the PROM sif_macaddr function,
but only on PROM 3.0 or later.  With older PROMs, ask
the idprom module to find it (just like on the Sun3).
1999-03-04 08:13:42 +00:00
gwr 631e2be71e Separate checksum function from the fetch/copy functions.
Compute the checksum on only IDPROM_CKSUM_SIZE bytes.
1999-03-04 08:06:59 +00:00
gwr 78eab1b1b9 Replace sun3_etheraddr with sun3_getidprom (used by idprom.c) 1999-03-04 07:56:41 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
pk c2b3e6490b Assign my copyrights to TNF. 1998-09-05 15:28:07 +00:00
pk a51c63c933 Assign my copyrights to TNF. 1998-09-05 15:28:06 +00:00
gwr 76cd67b8c7 Allow netif_getether() to use sif->sif_macaddr() on the Sun-3X
but check the PROM rev first, and print some info I want when
a PROM earlier than 3.0 is found.  (Then just try it!)
1998-07-02 21:58:25 +00:00
gwr 4b50f96523 Add strncmp.c 1998-07-02 21:36:00 +00:00
gwr efa0b5e2f5 fix the comment 1998-07-01 23:12:42 +00:00
gwr 294fa42b6c Use the shared ../libsa/xxboot.c 1998-07-01 22:56:45 +00:00
gwr c426f6cd97 Replace {net,ufs}boot/boot.c with a shared libsa/xxboot.c 1998-07-01 22:51:43 +00:00
gwr c80e8cd6ef Note recent changes. (and bump CVS revsion here) 1998-06-29 20:33:03 +00:00
gwr 8db8875feb Add a comment, kill an unused variable. 1998-06-29 20:18:07 +00:00
gwr b339af5461 Support multiple file open attempts without closing and reopening
the underlying raw device (which is expensive and causes problems).
This allows the boot program to try a sequence of names by default,
which is used to support common boot media for sun3 and sun3x.
(Now tries "netbsd.$arch" before "netbsd")
1998-06-29 20:17:03 +00:00
gwr 8261ec142f Minor tweaks for consistency with the other boot programs. 1998-06-29 20:11:06 +00:00
gwr 762cfeb615 Reimplement the header strip using two instances of dd in a pipe,
so it works with a dd that does not know conv=osync (i.e. Solaris).
1998-06-29 20:09:14 +00:00
gwr 2c0ea58240 Fix "integer overflow" error. 1998-06-29 20:06:34 +00:00
gwr e49744ee1c Get rid of user-level includes.
Do not reset the I/F on timeout.
Kill some old debug code.
1998-06-29 20:05:36 +00:00
gwr efb1b0549a Declare load_sun() 1998-06-29 20:03:14 +00:00
gwr 57a3ff9f72 Add load_sun() which does the guts of exec_sun() but lets
the caller do the file open/close and control transfer.
1998-06-29 20:02:49 +00:00
fair 508c432635 apparently {set,long}jmp() are not used by the sa code any more. 1998-06-26 08:59:03 +00:00
gwr 1284f08847 Make this match ../libsa/dev_disk.c 1998-03-16 14:49:26 +00:00
fair c89e1afb8b saio.h is in ../libsa/, not <machine> and the Makefile does the right thing with -I, so fix compile error 1998-03-15 02:28:19 +00:00
cgd 9da165424c allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-02 19:57:00 +00:00
cgd 0924c4443d Make sure the reason that NOLINT is set is documented. Additionally
in places where it should be set (or has to be set right now), do so.
1998-02-19 02:17:05 +00:00
gwr eff2e270bd Merge arch/sun3x into arch/sun3 1998-02-05 04:56:24 +00:00
gwr 995291fbac Deal with the fact that PROM driver descriptors are allowed to have
zero-length list of "standard addresses" by ignoring d_devbytes if
there are no addresses provided.  In these cases, the PROM will map
the device without our help.
1998-01-26 22:02:17 +00:00
gwr 2628e0df8a Add the sif_macaddr member to struct saif, which can be used
in version 3.X PROMs (gets our Ethernet address).
1998-01-18 05:24:38 +00:00
perry 015e898c02 RCSID Police. 1998-01-05 07:02:46 +00:00
lukem 3e8e744696 getopt returns -1 not EOF 1997-11-01 06:49:14 +00:00
gwr 3d76b19e4b Add idprom.c 1997-10-17 04:26:10 +00:00
gwr 297a7bfa90 Move IDPROM stuff from netif_sun.c to idprom.c where it belongs. 1997-10-17 04:06:23 +00:00
gwr 81bc13db4b Need to flush the I-cache before jumping into just-loaded code.
Without this, boot programs fail with some PROM versions...
1997-10-06 19:37:26 +00:00
gwr 8b680f206c Need to flush the I-cache before jumping into just-loaded code.
Without this, boot programs fail with some PROM versions...
1997-09-18 01:47:08 +00:00
gwr d2e3710fa9 Cosmetic (s/sun3_/_/) to be closer to the sun3x version. 1997-09-05 04:51:06 +00:00
gwr c04589c8a8 Make stand/Makefile.inc work with obj directories. (Fixes PR 4014) 1997-09-05 04:31:50 +00:00
drochner bdb232d2b6 Don't use <lib/libsa/if_ether.h> anymore. This was a copy of the
old (before ARP changes) <netinet/if_ether.h>, intended for
temporary use.
1997-07-22 17:41:01 +00:00
mrg 71ee532c82 move man pages into share/man. 1997-06-22 06:25:58 +00:00
veego 6bdd438fca s/_round_page/m68k_round_page/ 1997-06-10 19:27:08 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 83498d7e88 Remove empty libinstall target and add NOINSTALL=1. 1997-05-30 13:43:06 +00:00
mycroft 185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
gwr 0faac5faf2 Back-out the CWD hack... 1997-04-01 23:11:28 +00:00
gwr 8bec95da2c Use ${INSTALL} ... 1997-03-24 17:48:19 +00:00
is 07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
gwr 40b1a6f68b No longer need to define SUN_BOOTPARAMS 1997-03-14 21:28:38 +00:00
gwr f3952a7326 No longer need to override DEFS 1997-03-13 16:19:01 +00:00
gwr 032d13fc7d s/sun3_/_/ in sun3_(round|trunc)_(page|seg) macros 1997-03-13 15:58:49 +00:00
gwr ec6bb1d018 s/-T/-Ttext/ 1997-03-11 20:13:20 +00:00