Commit Graph

113964 Commits

Author SHA1 Message Date
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
dsl
17ae477780 Implement a limit on the size of / so that its guaranteed readable by the boot code.
Remove pointless 'len' parameter from read_mbr and write_mbr.
Make read_mbr initialise mbr if it can't be read (delete MD code).
Make i386 always ask at least once about the bootcode.
Move LIB_MOVE and LIB_COUNT from md.h to aout2elf.c
2003-06-14 12:58:45 +00:00
ichiro
1fd8fe7f02 make compile 2003-06-14 11:44:51 +00:00
ichiro
2075d7734d fix some bugs 2003-06-14 11:40:20 +00:00
ichiro
2aacfecbed regen. 2003-06-14 10:00:09 +00:00
ichiro
a933b95ba3 delete duplicate line 2003-06-14 09:58:55 +00:00
tsutsui
fdcf304c05 Set LINKFORMAT=-N.
ARCBIOS on Tyne can recognize only ECOFF with OMAGIC header.

XXX The real fix is implementing native bootloader.
2003-06-14 09:55:10 +00:00
tsutsui
d096df8f90 Fix CPU clock for Tyne. It has 133MHz R4600. 2003-06-14 08:11:56 +00:00
tsutsui
27ad3392b9 Change DESKstation -> DeskStation, as per spelling on the Tyne board. 2003-06-14 08:09:47 +00:00
nonaka
74db466478 Add some files for libevent. 2003-06-14 08:04:42 +00:00
tsutsui
3baa558986 Rewrite arc/isa/isapnp_machdep.c (based on i386).
It seems no one tried the previous code.
2003-06-14 07:58:16 +00:00
tsutsui
e1c1a8283d Add missed "\n" in attach message. 2003-06-14 02:57:03 +00:00