Commit Graph

109787 Commits

Author SHA1 Message Date
matt 8344279675 Synchronize macppc and evbppc majors when possible. Add a lot of missing
devices to evbppc.
2003-03-13 17:02:52 +00:00
thorpej 1d994487b3 Fix the socklen_t test; we need to explcitly list the headers we want
included for that test.
2003-03-13 16:27:03 +00:00
drochner 6b8fef6400 cleanup, delete declarations now in libsa/iodesc.h 2003-03-13 16:02:39 +00:00
drochner 66a5580c6e Remove remaining uses of libsa/netif -- the "netif" structure was only
used to lookup a "struct of_dev", everything else was ballast.
Do it straightforward now and assign the ofdev directly to io_netif.
2003-03-13 15:36:06 +00:00
hannken 42cc9f8839 Add wscons to MAKEDEV. Add wsfont major number. 2003-03-13 14:56:56 +00:00
drochner 6e14bfebea Remove remaining uses of libsa/netif -- the "netif" structure was only
used to lookup a "struct romdev", everything else was ballast.
Do it straightforward now and assign the romdev directly to io_netif.
2003-03-13 14:49:12 +00:00
scw bfca0494bd Try to configure all children of cprc0, not just clock. 2003-03-13 14:37:36 +00:00
drochner 7d2a35f773 kill the last use of NENTS
(We shouldn't use libsa/netif here at all.)
2003-03-13 14:15:58 +00:00
drochner a15dcfdce7 Avoid conflict with sockets[] definition in net.h
and add some typecasts.
Thanks to Juergen Hannken-Illjes for compile-checking.
2003-03-13 14:05:53 +00:00
drochner 20b8952600 cope with removal of this sick NENTS macro from libsa/netif.h 2003-03-13 13:59:11 +00:00
briggs 85d93f8d10 Detect SMC EZ Card as 64-bit. Patch from Pavel Cahyna in kern/20680. 2003-03-13 13:57:01 +00:00
drochner e537123c66 cope with changes to libsa/netif.h
(This shouldn't use libsa/netif at all.)
2003-03-13 13:55:24 +00:00
tsutsui 9053a4f127 NEC RISCstation 2200 (NEC-R94) doesn't have the secondary SCSI,
so prepare struct pica_dev for R94 in p_nec_r94.c to handle its quirk.
The problem was reported by David Hopper on port-arc.

XXX We should use ARC BIOS to get info of these devices.
2003-03-13 13:52:09 +00:00
scw d4f824014d A bunch of things:
- Clean up the way cpu-specific tlb/cache functions are configured
    and used.
  - Add a workaround for a problem whereby cpu* at superhyway? fails
    to probe.
  - Print more info about the cpu/cache.
  - Move the RESVEC handlers back into generic sh5 code and ditch
    the panic stack hack.
  - Make the on-chip SCIF device the default console on Cayman.
  - Add experimental support for booting via a standalone bootstrap
    program (not yet committed) and using the boot parameters passed
    in by it.
  - Add a few more SH elf constants.
  - Tick a couple of items off the TODO list.
2003-03-13 13:44:16 +00:00
drochner caa65123a8 cope with removal of this sick NENTS macro from libsa/netif.h 2003-03-13 13:35:55 +00:00
scw 31b3a7c37f In scif_getc(), check SCIF_SCFSR2_RDF in addition to SCIF_SCFSR2_DR to
detect waiting Rx data. This fixes an occasional console lockup when
when pasting text at the ddb prompt.
2003-03-13 13:19:01 +00:00
drochner e7bde1e9c7 adapt for void *io_netif 2003-03-13 12:44:48 +00:00
drochner 47fe380b4c make netif_close() return value void
fix prototype
2003-03-13 12:15:31 +00:00
mjl 79ea3ffca9 Fix handling of control and non-ascii charachters. Print a space
instead of what happens to be at that position (out of bounds)
in the char array. Prompted by OpenBSD PR/3147.
2003-03-13 12:13:43 +00:00
hannken f2746edc5b Explicit cast for netif.
Approved by: Matthias Drochner <drochner@netbsd.org>
2003-03-13 12:02:54 +00:00
mjl 15e3b4e9bf Correct handling of empty arguments as reported in OpenBSD PR/3146.
While there use strlcpy instead of strncpy and STDOUT_FILENO instead of 1.
2003-03-13 11:57:23 +00:00
drochner e5cc00b939 Remove remaining uses of libsa/netif -- the "netif" structure was only
used to lookup a "struct of_dev", everything else was ballast.
Do it straightforward now and assign the ofdev directly to io_netif.
2003-03-13 11:35:54 +00:00
dsl 30630417a8 Validate pgid arg to TIOCSPGRP 2003-03-13 10:24:38 +00:00
dsl a485005f79 Ensure that the pgid arg to TIOCSPGRP is in the current session.
Correctly treat a +ve value as a pgid and a -ve one as a pid.
2003-03-13 10:20:06 +00:00
dsl 53d2320e25 Check that the process/process group id passed to TIOCSPRP is in the session
of the current process.
2003-03-13 10:18:35 +00:00
bsh 436b3debe1 make this compile with SLHCI_DEBUG 2003-03-13 06:50:23 +00:00
thorpej 3550b00b45 Move -no-cpp-precomp logic to defs.mk. 2003-03-13 05:15:49 +00:00
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