Commit Graph

109999 Commits

Author SHA1 Message Date
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
wiz 8a1379d49c Mention in the grep update entry that -o now does something else.
Noted by Hubert Feyrer.
2003-03-11 12:44:40 +00:00
dsl f8f0dcfd17 Need .code32 after real_to_prot (not .code16) 2003-03-11 12:37:35 +00:00
drochner f4f1e00d62 make a kernel with the combination ohci@cardbus + ehci@pci link 2003-03-11 11:59:31 +00:00
drochner a6fda7bcfb create a symlink so that eg <x86/trap.h> is found 2003-03-11 11:03:23 +00:00
hannken 249e0067fe Add a port to the NCD Explora451 ThinClient.
- Supported devices: le, com, lpt, pckbd, frame buffer.
 - Support missing:   phy, audio, pcmcia.
 - Boots from network or md.

Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:57:54 +00:00
hannken 44b1e07ec9 Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers.
  - non-standard access to the time base.
  - 16 byte cache lines.

Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:40:15 +00:00
tshiozak 3f9925f700 add wcstoll, wcstoimax, wcstoull and wcstoumax. (lib/20656)
- these are defined in C99 (wcsto[ui]max) and SUSv3.
  - these implementations are written by sigsegv@s25.xrea.com,
    derived from NetBSD's wcstol/wcstoul.
  - I just added some comments.
2003-03-11 09:21:22 +00:00
lukem 664f01402c add multiple-include protection.
clean up some comments.
2003-03-11 07:18:38 +00:00
lukem 00a162d001 Augment the `KERNEL' field of MDSETIMAGES; if it contains a `/'
character, use that as the path to the kernel to use, rather than
using the default of "${KERNOBJDIR}/${KERNEL}/netbsd".
(Using this feature means that FILENAME == "-" isn't useful. such is life...)
2003-03-11 05:14:58 +00:00
lukem 325e31e279 rcconf_is_set(): add optional 4th arg to control whether "obsolete"
warnings are printed.  this means it can now be used for "non obsolete"
rc.conf checks as well...
2003-03-11 04:49:18 +00:00
perseant ec13062af8 - Get rid of unused #ifdefs LFS_NO_PAGEMOVE and LFS_MALLOC_SUMMARY (both
always true) and accompanying dead code.

- When constructing write clusters in lfs_writeseg, if the block we are
  about to add is itself a cluster from GOP_WRITE, don't put a cluster
  in a cluster, just write the GOP_WRITE cluster on its own.  This seems
  to represent a slight performance gain on my test machine.

- Charge someone's rusage for writes on LFSes.  It's difficult to tell
  who the "right" process to charge is; just charge whoever triggered
  the write.
2003-03-11 02:47:39 +00:00