itojun
1430af815a
discourage the use of aggressive mode
2003-06-16 08:40:11 +00:00
itojun
7a78321a15
tighten sanity check on ipsec policy. sync w/kame
2003-06-16 08:11:03 +00:00
martin
b9577aa450
Testing "unsigned long" vs. "double" does only make sense if there is
...
enough precision in double. Make it select double, long double or skip
the test at runtime, depending on sizeof() results.
2003-06-16 07:11:52 +00:00
martin
5ab640a98e
Fix format copy&pasto in failure case.
2003-06-15 23:38:17 +00:00
fvdl
3bc458d7f1
Bump version to 1.6U, because of PCI attach args changes.
2003-06-15 23:11:25 +00:00
fvdl
7dd7f8baa2
Handle 64bit DMA addresses on PCI for platforms that can (currently only
...
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
thorpej
998f8a71ed
Add an optional "width" locator to the obio bus, specifying the
...
bus width of the device.
2003-06-15 19:03:46 +00:00
thorpej
05d2fb4399
Use the new pmap_devmap facility in the on-board device mapping code.
2003-06-15 18:43:48 +00:00
thorpej
cf8a25bdfc
Add another devmap routine that allows bootstrap code to register
...
a devmap reflecting mappings that are created by really early
bootstrap code before pmap_devmap_bootstrap() is called.
2003-06-15 18:18:16 +00:00
tsutsui
af66232520
Fix function declaration mismatch with src/sys/ufs/ffs/ffs_extern.h which
...
causes makefs(8) failure on big endian machines. Pointed out by tsubai.
XXX The real problem is that some sources include {.CURDIR}/ffs/ffs_extern.h
XXX but others include /usr/include/ufs/ffs/ffs_extern.h .
2003-06-15 18:10:56 +00:00
thorpej
87d5bba5b3
Replace the ad-hoc "section mapping table" for static device mappings
...
with a more generic "devmap" structure that can also handle mappings
made with large and small pages. Add new pmap routines to enter these
mappings during bootstrap (and "remember" the devmap), and routines to
look up the static mappings once the kernel is running.
2003-06-15 17:45:21 +00:00
thorpej
d35db0b328
Garbage-collect some unused code.
2003-06-15 17:33:45 +00:00
martin
aba86b525b
Catch up with changes Nathan did to other archs.
2003-06-15 17:11:36 +00:00
yamt
424a10b9cc
genfs_getpages: if number of pages requested is >16,
...
use malloc/free for array of pointers to vm_page.
otherwise, use on-stack array as used to.
this change fixes assertion failure when nfsd gets a big read request
that isn't aligned with filesystem block.
discussed on tech-kern.
2003-06-15 16:14:46 +00:00
lukem
9f376c42d4
Don't coredump when printing '%n' in the prompt if there's no username yet.
...
Fix from Maxim Konovalov <maxim at freebsd dot org>.
2003-06-15 13:49:46 +00:00
igy
5dc7df164b
using write buffer in block_write.
2003-06-15 08:50:05 +00:00
igy
c0f40774f1
verify flash memory after write
2003-06-15 08:49:09 +00:00
tsutsui
a3631eeb28
Add isapnp0 at isa and enable working isa/isapnp devices.
2003-06-15 06:10:42 +00:00
tsutsui
964d2f945e
Remove nonexistent we* at isapnp.
2003-06-15 06:08:12 +00:00
tsutsui
55dd06d718
Don't enable both pc0 and vga0 at isa.
2003-06-15 06:05:31 +00:00
tsutsui
7826bdce78
Initialize and use extent maps for ISA bus space allocation.
...
Now isapnp on Tyne works properly.
2003-06-15 05:58:45 +00:00
tsutsui
580d8d6204
Note fix of DeskStation Tyne support on arc.
2003-06-15 04:26:59 +00:00
matt
27e1742142
Change the way multicasts are kept. They now use a hash table in the same
...
manner as the ifaddr hash table. By doing this, the mkludge code can go
away. At the same time, keep track of what pcbs are using what ifaddr and
when an address is deleted from an interface, notify/abort all sockets
that have that address as a source. Switch IGMP and multicasts to use pools
for allocation. Fix a number of potential problems in the igmp code where
allocation failures could cause a trap/panic.
2003-06-15 02:49:32 +00:00
simonb
83619b47f3
Wrap some long lines.
2003-06-15 01:34:34 +00:00
uwe
42dfb65e6b
Note wscons support for netwinder.
2003-06-15 01:21:01 +00:00
joff
2c4a7474a0
use TCP_NODELAY
2003-06-14 22:43:31 +00:00
tsutsui
109624a869
Fix a bug in isabr_dti_intr_status(), as per "re-look this" comment.
...
Now Tyne boots into single user (though it's still unstable). Woohoo!
2003-06-14 21:10:20 +00:00
thorpej
0ab88570d0
Use CPUFLAGS rather than COPTS to pass -mcpu=xscale.
2003-06-14 19:32:54 +00:00
uwe
d5e8f76b23
Use CPUFLAGS instead of COPTS.
2003-06-14 19:15:38 +00:00
tsutsui
ddeb889ae9
Add a file definition for isapnp.
2003-06-14 19:14:52 +00:00
tsutsui
5c69b73566
Set intrtype[] properly.
...
XXX ISA interrupts on Tyne does not work yet.
2003-06-14 19:13:42 +00:00
tsutsui
afa910a4ed
Add isa_intr_alloc() for isapnp support.
2003-06-14 19:11:40 +00:00
thorpej
792ce8fe0d
Fix typo in previous.
2003-06-14 19:03:40 +00:00
uwe
1b5c2a3f18
The igsfb(4) can now be used as console so delete the XXX comment that
...
says it cannot.
Add commented out options that give an example of how to force serial
console.
2003-06-14 18:59:25 +00:00
wiz
9376fa71c4
binutils-2.14 out.
2003-06-14 18:59:00 +00:00
uwe
c275928799
wscons as console support.
...
XXX: the way we pre-map memory for igsfb(4) is kludgy.
2003-06-14 18:57:38 +00:00
uwe
9feee6d724
Add PCKBC_CNATTACH_SELFTEST option.
2003-06-14 18:54:57 +00:00
wiz
4d5864791d
Use "nbnroff" instead of "nroff".
2003-06-14 17:57:26 +00:00
wiz
9e7c0f3178
Do not hardcode "nroff", allow it to be overridden by defining NROFF. Useful for tools/makewhatis.
2003-06-14 17:56:24 +00:00
wiz
e15134f39c
Add nbnroff as host tool.
2003-06-14 17:18:16 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
wiz
fee392c197
Report on which file nroff returned an error.
2003-06-14 16:58:00 +00:00
tsutsui
ffe3f2629c
Bump SYMTAB_SPACE to 194000.
2003-06-14 16:28:32 +00:00
tsutsui
17418f8476
Allow user pmap to pmap_enter device (bus-space) memory.
2003-06-14 16:27:36 +00:00
thorpej
5ae120da7b
Introduce a new "type" field in the softc which is used to indicate
...
the general UART type. Currently, we have "normal", "hayesp" and
"pxa2x0" types. Replace the corresponding hw flags with the new type
values.
2003-06-14 16:25:52 +00:00
tsutsui
fee6ce1d9f
Fix lack of parentheses bug which causes wrong pte settings.
2003-06-14 16:21:31 +00:00
tsutsui
0cd4c10ed3
Make this compile with no scsibus.
2003-06-14 16:18:30 +00:00
tsutsui
b201874a74
Add kloader (in-kernel kernel bootloader) support written by
...
UCHIYAMA Yasushi (uch@netbsd).
XXX Some of these code should be moved into MI place to share
XXX between other ports.
2003-06-14 16:15:16 +00:00
tsutsui
cead6ab903
mmap(2) function on sh3 should return page number, not physical address.
2003-06-14 16:08:09 +00:00
thorpej
1d99a54efe
Bring in the following patch from FSF binutils mainline:
...
2003-06-13 Richard Earnshaw <rearnsha@arm.com>
* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
FPU_ARCH_FPA for AOUT.
(md_begin): Don't try to guess the floating point architecture from
the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
...per Richard's suggestion.
2003-06-14 16:02:57 +00:00