thorpej
8b1707fd43
Disable pre-compiled headers on Darwin.
2003-03-13 05:00:28 +00:00
thorpej
0164fc61c8
We don't actually need libutil when building as a hostprog.
2003-03-13 04:50:53 +00:00
thorpej
c0d5461540
Pass -no-cpp-precomp to the C preprocessor on Darwin; our use of
...
libnbcompat is incompatible with pre-compiled headers (which the
compiler correctly detects, but warns about profusely).
2003-03-13 04:43:37 +00:00
thorpej
acd9c2da10
Allow "-no-cpp-precomp", which disables use of pre-compiled headers
...
on Mac OS X.
2003-03-13 04:40:45 +00:00
thorpej
72ec5d6a9c
Check for sys/socket.h and socklen_t.
2003-03-13 04:30:39 +00:00
simonb
3c7ff59b5b
Sprinkle some "volatile"; fixes problems with the {read,write}_{1,2}
...
functions big-endian Au1xxx CPUs.
2003-03-13 03:04:13 +00:00
jhawk
2c14f3de0e
Note todo item (overlay/split info for non-future areacodes)
2003-03-13 02:55:01 +00:00
thorpej
c24b9b414e
Support Mac OS X host.
2003-03-13 02:17:58 +00:00
thorpej
104c77b807
The preprocessor in Apple's GCC 3.1 doesn't like being passed a macro
...
with empty arguments on each side of the comma; hack around this.
2003-03-12 23:00:40 +00:00
dsl
741870b7ef
Validate that pgid argument to TIOCSPGRP in part of current session.
...
Treat +ve numbers as process group ids and -ve as pids (see tcsetpgrp() in part of current session.
Treat +ve numbers as process group ids and -ve as pids - see tcsetpgrp(3).
(approved by christos)
2003-03-12 23:00:03 +00:00
dsl
5786e3a6e8
Add pgid_in_session() for validating TIOCSPGRP requests
...
(approved by christos)
2003-03-12 22:54:44 +00:00
thorpej
ea5ffc0fa7
Don't do _INTL_REDIRECT_ASM if __APPLE__.
2003-03-12 22:46:25 +00:00
dsl
1c38f38f99
Add pgid_in_session() for validating TIOCSPGRP requests
...
(approved by christos)
2003-03-12 22:16:31 +00:00
augustss
177beb544c
Two more __RCSID checks that I missed.
2003-03-12 18:32:51 +00:00
augustss
c8e6437c5e
More tests if __RCSID is defined.
2003-03-12 18:26:32 +00:00
drochner
9b72b507ef
-use our own netif layer
...
-call the pxe unload function only on close(), not on open() errors,
so we have a chance to retry
-remove some remaining references to NFS
2003-03-12 17:35:57 +00:00
drochner
168322ea77
kick out mi libsa/netif.c references
2003-03-12 17:33:55 +00:00
drochner
542ccfb0d5
Kick out the netif layer from mi libsa and implement an own, smaller, one
...
(we really don't need to support multiple interfaces)
Also arrange things so that we are able to unload the PXE stacks only
when we are sure that we don't need them anymore. (To make this more
useful, a hook in exec() is needed.
2003-03-12 17:33:10 +00:00
augustss
a24a8f129a
Do the defined(__RCSID) song and dance to enable cross compilation.
2003-03-12 16:46:33 +00:00
drochner
68edf0e576
separate ether_sprintf() from the rest of ethernet support -- sometimes
...
it makes sense to use the former w/o the latter (eg PXE)
2003-03-12 16:46:31 +00:00
dsl
8bf20eda9b
KNF function prototypes
2003-03-12 16:39:01 +00:00
dsl
4f78d8c26a
Need to call calcru while l->l_stat == LSONPROC
2003-03-12 15:26:33 +00:00
drochner
7b3b2ea783
no need to include "netif.h" anymore
...
(shared interface stuff is in iodesc.h, included by net.h)
2003-03-12 14:51:31 +00:00
drochner
7816074c59
separate the netif interface from the rest of the networking code,
...
so that it can be replaced easily in md code
2003-03-12 14:49:19 +00:00
minoura
552efeab39
Disable ISA DMA emulation for SoundBlaster module explicitly.
...
This fixes the floppy access problem on some hardware.
Problem reported by Miroslav Kure via Jason Wright <jason [at]
thought [dot] net> of OpenBSD. Thanks.
Fix from ALSA driver; although this setting is undocumented but
according to Jaroslav Kysela <perex [at] suse [dot] cz> of ALSA,
there's no error reported so far.
2003-03-12 13:36:22 +00:00
minoura
f5e8ac30e3
Typo.
...
Register value symbols YDS_PCI_EX_LEGACY_SBMOD_* ->
YDS_PCI_EX_LEGACY_SMOD_*.
2003-03-12 13:28:19 +00:00
drochner
1ebc8c2dbd
cleanup:
...
-update comments
-remove remaining references to "bootparam"
-don't try to interpret extra arguments to net_open() - we
get only passed a NULL anyway (see devopen.c)
2003-03-12 13:15:08 +00:00
drochner
c693137139
sync with mi libsa/nfs.c (with the intent to replace it eventually):
...
-kill "register" attributes
-obey "LIBSA_NO_TWIDDLE"
-ignore leading "/" also in the NFS_NOSYMLINK case
2003-03-12 12:23:06 +00:00
hannken
1f71f9dc35
Note support for the NCD Explora451 ThinClient.
2003-03-12 12:22:12 +00:00
jdc
cc782e8a7e
Make this compile with only SUN4 defined.
2003-03-12 07:51:00 +00:00
matt
cd26de2684
Same code exists in both halves in #ifdef/#else/#endif. move it outside.
2003-03-12 06:00:36 +00:00
thorpej
834dd24299
Fix a couple of merge errors.
2003-03-12 03:46:11 +00:00
wiz
5feeffaf69
Remove some.
2003-03-12 00:24:41 +00:00
wiz
b413b8eb87
Update script for bktr-sf imports.
2003-03-12 00:23:39 +00:00
wiz
fa96c20c88
Merge some more.
2003-03-12 00:19:20 +00:00
wiz
0cdd0c6614
Merge first bktr-sf import.
2003-03-12 00:14:40 +00:00
thorpej
7d8f167f16
Split bus_space and bus_dma into separate files.
2003-03-12 00:09:51 +00:00
wiz
a0685571bd
Import of current state of bktr(4) in sourceforge repository.
...
Changes since last import:
. lots of whitespace cleanups
. typo fixes (e.g. hz, compatibilty)
. fix brightness ioctl return value
. wait for int ready using DELAY() instead of tight loop
2003-03-12 00:02:19 +00:00
thorpej
9e72adcc79
Grok "z" (size_t) and "t" (ptrdiff_t) format length modifiers.
2003-03-11 21:39:34 +00:00
martin
717651ac94
Band aid - the infamous dcache_flush_page change independently suggested
...
by Andrey Petrov and Jason Thorpje (AFAIK).
This is a hack that covers some symptoms while we have no idea where
the real problem is. Anyway, since this avoids random data corruption
we better be safe and have this in-tree until the problem is solved the
right way.
2003-03-11 21:28:23 +00:00
jmmv
5649a49e43
After the "insert disk <number>, and press return..." message, check only
...
for the return keypress.
2003-03-11 19:43:04 +00:00
drochner
a82c138b1c
If we get passed a filename (from the command line or default "netbsd"),
...
pass it to the BOOTP server in the "filename" field.
(as the "netboot" bootROMs already did)
So the user can easily switch between different kernels/configurations.
2003-03-11 18:32:59 +00:00
drochner
dd15fa8102
Fix bug in readudp(): we have to return the correct length
...
of the received packet to the caller.
TFTP works now.
2003-03-11 18:29:00 +00:00
tshiozak
5e62671b2f
changes for cross build on FreeBSD box.
...
- rename some macros and types defined in runetype.h.
- move declarations of some global symbols to rune.h from runetype.h.
- make sure the target sources use rune.h and mklocale use runetype.h.
I tested them on FreeBSD-4.6.2 box (./build.sh -m i386 tools).
2003-03-11 17:23:07 +00:00
augustss
287c3adc4d
Update URLs for the HID spec.
...
(Committed at 36000 feet above the Atlantic on board LH418 using
a broadband satellite connection.)
2003-03-11 16:44:00 +00:00
drochner
df62259ae1
kick out RARP/bootparam - PXE uses BOOTP anyway
2003-03-11 16:30:02 +00:00
nathanw
64324a8175
Remove debugging code accidentally committed.
2003-03-11 16:27:38 +00:00
drochner
dd688f888f
translate EACCES (happens with NFS)
2003-03-11 15:02:54 +00:00
drochner
ff28ac27ec
use our own NFS fs implementation, which is smaller, does a better job
...
in error reporting and coexists with the TFTP fs
2003-03-11 15:01:51 +00:00
drochner
8e04272b51
add prototypes for local functions
2003-03-11 14:38:45 +00:00