thorpej
2ec3e70ff4
- Don't look for a "suitable interface"; we're now given the name of the
...
network interface to use.
- If any part of the NFS root mount process fails, don't panic.
Simply return the appropriate error and let the caller recover.
1997-01-31 02:57:31 +00:00
fvdl
735944405b
Enhancements from Matthias Drochner:
...
- Try V3 first for diskless booting. Fall back to V2 if V3 fails.
- optionally (option NFS_BOOT_TCP) try a TCP mount first
for diskless booting. Fall back to UDP if it fails.
- Enable switching between UDP and TCP for remounts.
1996-10-20 13:13:22 +00:00
christos
bcf4552fb1
revert kprintf changes
1996-10-13 01:39:03 +00:00
christos
117a51c5a5
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:31:17 +00:00
thorpej
3b8a528094
Changed struct ifnet to have a pointer to the softc of the underlying
...
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit. Updated interface to (*if_watchdog)() and (*if_reset)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 02:51:25 +00:00
fvdl
5ac7df1caf
Bring in a merge of Rick Macklem's NFSv3 code from Lite2
1996-02-18 11:53:36 +00:00
gwr
04ff35d122
Add stub for nfs_boot_getfh if NETHER==0
1996-02-16 15:18:19 +00:00
gwr
b29ca3a272
Do the RPC to bootparamd a little later (just before the mountd call)
...
so that we do not ask for the "swap" path when swapping on disk.
1996-02-13 17:53:32 +00:00
pk
b153275d13
Don't return EBADRPC if we have something else.
1996-02-10 22:55:16 +00:00
christos
e4c93ec893
nfs prototype changes
1996-02-09 21:48:19 +00:00
cgd
3e0efb4d89
changes to make this work on systems where pointers & longs are 64 bits.
...
This is mostly just changes to make the stuff that goes over the wire
use fixed-size types.
1995-12-19 23:07:11 +00:00
mycroft
6897f39ae9
Various cleanup, including:
...
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.
1995-06-12 00:46:47 +00:00
cgd
f66bf5fd18
don't blindly set IFF_UP; or it with old flags
1995-05-23 00:14:06 +00:00
mycroft
f6ff0fba6d
Use fxdr_*() and txdr_*() macros to do byte order conversions.
1995-05-20 01:52:49 +00:00
gwr
d73db495da
Fixed RPC code to deal with RPC messages larger than one mbuf.
1995-04-24 21:54:56 +00:00
gwr
1012443810
Cosmetic changes suggested by Adam.
1995-03-28 21:29:32 +00:00
gwr
efc4706419
Do the printf "root/swap on" elsewhere to avoid confusion.
1995-03-18 05:51:22 +00:00
pk
d6faa0bf9c
Working "config generic" support; from Theo.
1995-02-16 21:42:50 +00:00
cgd
58604c58ca
fix a couple of obvious, painful endianness bugs introduced in last commit.
1994-10-29 06:38:11 +00:00
gwr
62f18b1dda
Do the first BOOTPARAM RPC call to the broadcast address instead of
...
using the address of the RARP server because a BOOTPARAM server
might not be running on the machine that sent the RARP reply.
1994-09-26 16:42:29 +00:00
mycroft
1f532b06bd
char * --> caddr_t, where appropriate.
1994-08-11 23:47:51 +00:00
gwr
38cca96798
Diskless boot will now bind the local socket to a reserved port to
...
satisfy picky servers. Also fix some missing initializations.
(Thanks to Chuck Cranor for PR#394 -- now fixed.)
1994-08-11 22:25:32 +00:00
gwr
dc718c003d
Fix the conditionally compiled code inside #ifdef NFS_BOOT_GATEWAY
...
and make some printf args use host byteorder.
1994-07-19 02:23:27 +00:00
paulus
a02a99e328
If we don't have ethernet, nfs_boot_init reduces to just a panic.
...
This is so I don't get an undefined symbol compiling a kernel with
NFSCLIENT but no ethernet.
1994-07-16 11:43:12 +00:00
deraadt
9bc624e44c
knf
1994-06-29 07:28:36 +00:00
cgd
fccfa11af5
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:39:25 +00:00
pk
2d90c57d10
Construct mountpath for remote root.
1994-06-21 08:30:20 +00:00
gwr
0784b58d30
New diskless boot code (uses RARP, bootparamd).
1994-06-13 15:28:55 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
glass
a3b042140f
revised nfs diskless support. uses bootp+rpc to gather parameters
1994-04-18 06:18:05 +00:00