Commit Graph

19639 Commits

Author SHA1 Message Date
enami acd4cefee0 In the function vattr_null(), assign each member individually
to prevent unintended conversion due to different sign and size.
1997-10-18 11:51:32 +00:00
enami f0a4660bee Pull down changes from branch which is commited to by mistake...
> revision 1.1.2.6
> date: 1997/10/18 10:50:21;  author: enami;  state: Exp;  lines: +2 -2
> In the macro ne2000_match(), use its argument `fct' instead of
> using pa->pf->number directly.
1997-10-18 10:56:28 +00:00
is 61f82620c4 Part of this is voodoo from the sparc/machdep.c, part guesswork. 1997-10-18 10:50:50 +00:00
mikel 4c46c2bcc3 cosmetic cleanup (newlines, comments) 1997-10-18 04:51:03 +00:00
mark dd5b814bb5 Don't try and support serial consoles for the riscpc. 1997-10-18 04:47:57 +00:00
mark 441bad5ec5 Updated for a couple of changes to the arm32 dp8390 driver brought
upto date with respect to the MI one.
1997-10-18 04:39:12 +00:00
mark 35286a1259 arm32 specific version of the dp8390 driver from dev/ic. Really the
MI dp8390 and ne2000 drivers from dev/ic could / should be used but this
version has a few changes and has been well tested and thus should be
used for 1.3.
Hopefully this driver will be short lived.
1997-10-18 04:38:19 +00:00
mark 469dddc61d Updated to include atapibus as standard. 1997-10-18 04:23:32 +00:00
mark 7ee02db44d Link address is 0xf0000000 now we use the NetBSD ld.
Don't build makemodes etc. for configs that don't require it.
1997-10-18 04:20:17 +00:00
mikel 27ab302eb9 RCSid police 1997-10-18 03:17:09 +00:00
briggs aead314eea Use bcmp instead of memcmp since we haven't switched to using memcmp elsewhere
in the kernel.
1997-10-18 02:54:57 +00:00
mark ea1c03acd8 Fix bug in last commit that only worked with cpp -traditional. 1997-10-18 02:46:09 +00:00
jonathan 82526d56fd Prototype __flt_rounds(). 1997-10-18 02:43:06 +00:00
jonathan d385e0e57e Prototype ANSI-safe gcc trampoline entrypoint. 1997-10-18 02:25:14 +00:00
thorpej 1adb3a7a9d Sync with GENERIC. 1997-10-18 02:01:36 +00:00
thorpej 2f26438522 Major cleanup of the GENERIC config file. The devices are laid out in
a more readable manner now, and sorted by bus type.
1997-10-18 01:42:22 +00:00
gwr c5b23be7bf Make sure vunmapbuf will kmem_free_wakeup() the same VA range
that came from kmem_alloc_wait().  (Same problem as PR#4120).
1997-10-18 00:17:21 +00:00
jonathan 8bb9a1ccb2 Protect #ifdef DEBUG printfs with a run-time teson a patchable variable
(epdebug), as per Jason Thorpe's comments.
1997-10-18 00:15:02 +00:00
gwr 0308bf1ac6 Use common zs code. 1997-10-17 23:59:44 +00:00
gwr b4e346f85d Rename cs_pad to cs_spare1 (for future use by Bill Studenmund). 1997-10-17 23:02:37 +00:00
gwr b69fc1a7cf Move the ttychars() call below the if-not-raw block.
(from Bill Studenmund)
1997-10-17 22:55:09 +00:00
jonathan e12d00b5e4 Add #include <sys/sysctl.h>, which in turn needs #include <vm/vm.h>. 1997-10-17 22:37:38 +00:00
kml 323c04642b Path MTU Discovery support. This is turned off by default.
Use sysctl -w net.inet.icmp.mtudisc=1 to turn on.
Still to come:  path removal after some period, black hole detection
1997-10-17 22:12:14 +00:00
gwr f246430dba Nuke same-unit hack in match. 1997-10-17 21:49:07 +00:00
thorpej 73b56bd5b0 Display The NetBSD Foundation, Inc.'s copyright notice at boot time. 1997-10-17 21:40:00 +00:00
thorpej 10f29f9bcb Allow `subnetsarelocal' to be changed via sysctl. 1997-10-17 21:20:49 +00:00
sommerfe 6bae176723 conditionalize so core pcmcia bus support is omitted if no pcmcia devices configured 1997-10-17 20:51:19 +00:00
oki ea023e3b94 Use rnd.h and #if NRND > 0. 1997-10-17 20:28:06 +00:00
oki e8b2ab848c Make this compile again. 1997-10-17 20:24:35 +00:00
is d3baeaf812 Stopgap for splaudio(), needed by the Melody driver.
This will be replaced soon by something similar to the spltty stuff.
1997-10-17 19:39:34 +00:00
bouyer dc67436742 Ops, forgot to include i2c files. 1997-10-17 19:33:54 +00:00
bouyer 10e68aaed1 Add tl and mii devices. 1997-10-17 19:25:36 +00:00
pk d24dbbbfc4 A `simplelock' suffices for most swap device list traversals, as noted
by Chuck Cranor.

Use an exclusive (long-term) lock before applying changes to the swap
lists. This lock is also used by the stats system call because of possible
blocking in copyout().
1997-10-17 19:06:05 +00:00
mjacob c3f84c257a more compile foo 1997-10-17 18:59:48 +00:00
mjacob c8fce5460c more compile foo. 1997-10-17 18:58:16 +00:00
mjacob eb249946d0 Recover from some include file foo. 1997-10-17 18:47:30 +00:00
scottr d383eb0134 Make this compile again. From Dave Carrel. 1997-10-17 18:45:55 +00:00
bouyer d3cfd58b6c Add mii. 1997-10-17 18:45:53 +00:00
scottr 961e600c5c Don't compile hpux_sys_ptrace(), as it uses a deprecated interface
(and didn't really work, anyway).  Suggested by Dave Carrel.
1997-10-17 18:43:48 +00:00
scottr 0ea4e1111a Regen. 1997-10-17 18:40:53 +00:00
scottr 519862a03a ptrace() emulation is no longer supported, and probably hasn't worked
for some time anyway.
1997-10-17 18:39:14 +00:00
bouyer fe74be001b Driver for Texas Instruments' thunderland network controller (present in some
Compaq products).
1997-10-17 18:38:23 +00:00
mark 680595e7c3 Fix extra 'S' character typo that resulted in the condition codes being
incorrectly internally on certain divides.
Handle the case where the internal result appears negative. This condition
can occur when dividing MIN_INT by certain values.
1997-10-17 18:35:19 +00:00
mark 1cc95a3df0 Fix .type directives to use #function rather than @function.
This is due to the problem of the @ character being a single character
comment in the asm assembler. The '#' character has now been chosen
instead for future versions of GCC and GAS so lets conform now.
1997-10-17 18:27:30 +00:00
mjacob d13d5783e4 Add in missing includes. 1997-10-17 18:25:32 +00:00
bouyer 0582a7d023 Add mii and i2c. 1997-10-17 18:19:47 +00:00
bouyer 9cba1f94e1 Add detection of cyrix/ibm 6x86 cpu: these CPU pass the 486 test, but
fail the cyrix486 one. Add a test which succeed for all cyrix CPUs (from
FreeBSD).
1997-10-17 18:05:44 +00:00
bouyer b35651ec97 kern/4267 (Takeshi Nakayama): Add a 'len' parameter to cd_scsibus_get_mode and
cd_scsibus_set_mode, to specifie the real len of "data" we need. These
functions were broken when scsi_cd_write_params_page was added to
scsi_cd_pages, thus changing the len of scsi_cd_mode_data.
1997-10-17 17:54:33 +00:00
christos 3f60774556 PR/4280: Chris Jones: Sending more than one fd over AF_UNIX sockets causes
panic. Bug in the fd -> struct file * conversion...
1997-10-17 17:35:08 +00:00
bouyer 10fcf021a5 Generic functions for the MII layer. mii attaches to mii-capable network
adapters, and provide media-selections and status to the parent.
This includes drivers for the Thunderland integrated PHY, and
National Semiconductor's DP83840A.
Note: The interface betweeen network controller and mii is not complete yet,
and will need some minors tweaks to support media auto-selection.
1997-10-17 17:33:45 +00:00