Commit Graph

111797 Commits

Author SHA1 Message Date
itojun
906a2ba4ed always configure IPV6_FAITH explicitly to avoid misconfiguring it on SIGHUP.
sync w/kame
2003-04-22 07:45:27 +00:00
itojun
39d6020d8a backout 1.18 and 1.19 2003-04-22 03:51:07 +00:00
itojun
e2d8f394cc free vis_user 2003-04-22 03:03:16 +00:00
itojun
750506085f malloc vis_user (why 1.6 branch has the fix already?) 2003-04-22 03:02:14 +00:00
jmc
57e8e96d56 Configs used to build 1.6.1 iso images 2003-04-22 02:55:41 +00:00
thorpej
1f5e3cbbe6 New pmap for netwinder. 2003-04-22 01:42:01 +00:00
hubertf
4af963d89d Rename "upgrade" variable to "Replace" (etc.) as that is what it's really
for. Assorted text updates.
2003-04-22 01:17:03 +00:00
thorpej
bbef46a7e9 Some ARM32_PMAP_NEW-related cleanup:
* Define a new "MMU type", ARM_MMU_SA1.  While the SA-1's MMU is basically
  compatible with the generic, the SA-1 cache does not have a write-through
  mode, and it is useful to know have an indication of this.
* Add a new PMAP_NEEDS_PTE_SYNC indicator, and try to evaluate it at
  compile time.  We evaluate it like so:
  - If SA-1-style MMU is the only type configured -> 1
  - If SA-1-style MMU is not configured -> 0
  - Otherwise, defer to a run-time variable.
  If PMAP_NEEDS_PTE_SYNC might evaluate to true (SA-1 only or run-time
  check), then we also define PMAP_INCLUDE_PTE_SYNC so that e.g. assembly
  code can include the necessary run-time support.  PMAP_INCLUDE_PTE_SYNC
  largely replaces the ARM32_PMAP_NEEDS_PTE_SYNC manual setting Steve
  included with the original new pmap.
* In the new pmap, make pmap_pte_init_generic() check to see if the CPU
  has a write-back cache.  If so, init the PT cache mode to C=1,B=0 to get
  write-through mode.  Otherwise, init the PT cache mode to C=1,B=1.
* Add a new pmap_pte_init_arm8().  Old pmap, same as generic.  New pmap,
  sets page table cacheability to 0 (ARM8 has a write-back cache, but
  flushing it is quite expensive).
* In the new pmap, make pmap_pte_init_arm9() reset the PT cache mode to
  C=1,B=0, since the write-back check in generic gets it wrong for ARM9,
  since we use write-through mode all the time on ARM9 right now.  (What
  this really tells me is that the test for write-through cache is less
  than perfect, but we can fix that later.)
* Add a new pmap_pte_init_sa1().  Old pmap, same as generic.  New pmap,
  does generic initialization, then resets page table cache mode to
  C=1,B=1, since C=1,B=0 does not produce write-through on the SA-1.
2003-04-22 00:24:48 +00:00
elric
645dee56e4 Adding libbsdmalloc which is Chris Kingsley's `power of two bucket' malloc.
Suggested by christos.
2003-04-21 22:21:06 +00:00
christos
d0fa76e947 PR/21253: Manuel Bouyer: cpio should never descend on a directory; even on
the first one.
2003-04-21 22:10:10 +00:00
fvdl
3f5d6a0d73 Remove unused variable. 2003-04-21 22:00:42 +00:00
fvdl
9ec222cfbe Remove trigraph. 2003-04-21 21:49:31 +00:00
fvdl
2674450fcb Avoid trigraph in string. 2003-04-21 21:45:59 +00:00
fvdl
13b6cff110 Reset bus in attach, not at first access. 2003-04-21 20:05:26 +00:00
fvdl
11e1ebb8dd Reset channel(s) in ahc_attach, rather than at first access. 2003-04-21 19:59:48 +00:00
fvdl
1adc169997 Add NetBSD RCS Id. 2003-04-21 18:12:22 +00:00
fvdl
8775f88505 Add another IBM drive that incorrectly reports DT only. 2003-04-21 18:07:14 +00:00
fvdl
d7ad58b224 Add file that I missed when adding the ahd driver. 2003-04-21 16:53:59 +00:00
fvdl
7c5409295c Set/report DT a bit more correctly. 2003-04-21 16:52:07 +00:00
augustss
7d5779ad01 Recognize more devices. From FreeBSD. 2003-04-21 16:38:34 +00:00
augustss
6be8a91f88 Add quirk. From FreeBSD. 2003-04-21 16:37:42 +00:00
augustss
33011a8fcf Regen. 2003-04-21 16:37:14 +00:00
augustss
ac600b6a72 Add more devices. From FreeBSD and OpenBSD. 2003-04-21 16:36:52 +00:00
manu
0fd8402c80 Some Mach-O libraries do not have a load base address. The Darwin
kernel seems to skip them, letting the dirty job to dyld.
2003-04-21 14:32:25 +00:00
jrf
6867af7aad This addresses PR 17613 when certain methods of adding routes would
muck up the routing tables. The patch was submitted by Quentin Garnier
<netbsd@quatriemek.com> and tweaked a little after it was reviewed
by Christos Zoulas <christos@netbsd.org>. Final change/commit approved
by Christos.
2003-04-21 13:42:50 +00:00
martin
d65cbab3ff Connect the front panel power button on psycho based machines to sysmon's
/dev/power.

XXX - due to the way interrupt handling is structured we have no easy
way to defer clearing the button interrupt until the sysmon callback
has  happened and the event is dispatched. We clear it imediately on
return from the interrupt handler. This means we get an interrupt storm
until the button is released, and then start to handle it.
This needs to be fixed! (But with the default application for the power
button does not make a user visible difference.)
2003-04-21 12:14:19 +00:00
scw
0b8f02edad Handle unaligned relocations, and RELATIVE relocs with non-zero addends.
This gets binaries linked against libstdc++ working (FSVO "working").
2003-04-21 11:54:46 +00:00
itojun
16435cdb98 strcpy/sprintf cleanup. from openbsd 2003-04-21 08:54:42 +00:00
bjh21
76a26cefcd This is a host tool, so check if __RCSID is defined before using it. 2003-04-21 08:41:28 +00:00
itojun
afdd63b90b remove redundant adjustment of m->m_pkthdr.len 2003-04-21 08:14:45 +00:00
dbj
2e6348f3d8 add a SIGINFO handler progress indicator 2003-04-21 07:58:55 +00:00
itojun
cb30d7ce0b correct arg to m_pullup (need to count IP header size as well) 2003-04-21 07:02:31 +00:00
itojun
a81c148373 correct (false) assumptions on mbuf chain. not sure if it really helps, but
anyways, it is necessary to perform m_pullup.
2003-04-21 06:52:47 +00:00
thorpej
215580f2da Defflag XSCALE_CACHE_READ_WRITE_ALLOCATE and XSCALE_NO_COALESCE_WRITES. 2003-04-21 05:36:14 +00:00
thorpej
0f16fc12a0 #ifdef, not #if, for XSCALE_NO_COALESCE_WRITES. 2003-04-21 04:33:30 +00:00
thorpej
9361d039a1 Add XSCALE_CACHE_READ_WRITE_ALLOCATE. 2003-04-21 04:02:04 +00:00
gson
c8da8f2398 Ignore input when the port is not open. This change is functionally
identical to the patch in kern/6502 (which is hereby fixed), but
modelled after the corresponding fix to the 8530 driver in
z8530tty.c revision 1.60 to maintain consistency with that driver.
2003-04-21 03:43:18 +00:00
christos
34ffdb33ed enable RCSID.. 2003-04-21 02:03:41 +00:00
christos
cbb9bcafa0 PR/8247: Simon Burge: monop(6) save/restore doesn't work.
With the advent of elf and mmaping malloc, assumptions that the code made
before about location and contents of the data segment broke. We supplied
an sbrk() only malloc, and recorded the break point at the beginning of
the program, so now save and restore works, in the traditional monop style.
2003-04-21 01:25:27 +00:00
christos
dcf856aa49 use an sbrk() only malloc() because save and restore depends on saving
the data segment only. Maybe we should make libbsdmalloc?
2003-04-21 01:23:06 +00:00
thorpej
e6227d3c54 Document the reset_button script. 2003-04-21 00:55:17 +00:00
christos
63c4aa480d PR/7885: Kip Rugger: ttylock(3) ignores flags and locker parameters 2003-04-21 00:39:40 +00:00
fvdl
bee66ff5b4 Add commented-out ahd driver. 2003-04-21 00:17:46 +00:00
fvdl
1aca5bda05 ahd, driver for Adaptec 790x U320 controllers. Originally by Justin Gibbs
for FreeBSD, ported to NetBSD by Pascal Renauld, Network Storage Solutions,
Inc, plus a bunch of changes by me.

This driver is as yet untested in this final form, it will be added
to config files when it has been tested.
2003-04-21 00:14:52 +00:00
christos
f1726c271b Override LDBL_MIN 2003-04-21 00:08:24 +00:00
christos
68e25dece2 no __i386__ here. charles explained that the value is correct. 2003-04-21 00:07:25 +00:00
christos
45aed1fbde PR/7713: David Holland: warn if we have mesg n. 2003-04-21 00:05:30 +00:00
christos
73b3e2ae58 separate the term check stuff. 2003-04-20 23:53:04 +00:00
fvdl
ee7b6f07aa One more FreeBSD compat define. 2003-04-20 23:43:04 +00:00
christos
3630d7f233 PR/7572: John F. Woods: document EINVAL caused by bogus flags in struct
sigaction.
2003-04-20 23:20:52 +00:00