Commit Graph

44120 Commits

Author SHA1 Message Date
jmcneill ccfadab966 Microsoft Xbox support, from Andrew Gillham.
Still requires some bug fixes in the nfe(4) driver; works with USB ethernet.
Requires Xromwell / Cromwell 2.41dev or above to boot. Tested both CD boot
and etherboot.

xboxfb(4) currently does not work properly with component video cables.
2007-01-04 18:16:43 +00:00
elad 1e70d64818 Consistent usage of KAUTH_GENERIC_ISSUSER. 2007-01-04 16:55:29 +00:00
macallan 4488d8197e if we encounter a cardbus bridge with bogus bus number try to get OF to
assign it a bus number so cardbus* will attach properly.
Should fix PR26508
2007-01-03 22:28:30 +00:00
gdt e8b17765a8 Comment out -g, avoiding building netbsd.gdb. Because of inclusion,
this affects XEN3_DOM[0U] as well.  This change shrinks the amount of
disk space required for a full build significantly, and now only ALL
has -g enabled.

ok bouyer@
2007-01-03 19:42:37 +00:00
tron ffb1f19b79 Disable ppp(4) because pppd(8) isn't on the installation image anyway. 2007-01-03 13:43:49 +00:00
tron 1001a93eaa Having ppp(4) and sl(4) enabled in this kernel configuration is completely
pointless because it doesn't support any serial interfaces.
2007-01-03 13:36:03 +00:00
dsl 7510ceee96 Comment out 'bnx', a network card that requires a 120kb download isn't
going to be the only way to get data onto a system.
This should get the INSTALL image way back under 2.8M again.
Someone does need to sort out an ACPI install kernel though....
2007-01-02 18:05:19 +00:00
ad 8ca9bfb9b5 - Don't print any specifics unless booted with -d.
- Disable for now, at least one model of CPU throws a GPF.
2007-01-02 16:57:54 +00:00
yamt 760e1ad563 xbd_handler: call dk_iodone after updating rsp_cons.
otherwise, xbdstart kicked via dk_iodone still sees RING_FULL condition
and just returns.  it makes xbd stall when all requests are acked by
a single xbd_handler.  PR/34005.
2007-01-01 22:54:14 +00:00
dsl fb47ef3c1d Add a sub-512 byte piece of code that can be written (by a modified installboot)
into the first sector of a FAT16 filesystem and will load 'boot' (and hence)
the netbsd kernel from it.
Unlike bootxx_msdosfs this doesn't need the filesystem to have 8k of 'reserved'
sectors, and may well work on non-512 byte media (as yet untested).
2007-01-01 22:11:09 +00:00
ad e3603e4e86 Cut size of tables slighty. 2007-01-01 21:03:26 +00:00
ad 75b6baf536 Oops, issue a warning only once. 2007-01-01 21:00:13 +00:00
ad fb7fd24980 Report on and where possible, try to work around some of the known errata
for Athlon 64 and Opteron processors. Tested briefly by cube@ and elad@.
2007-01-01 20:56:58 +00:00
pavel 0e92fba1ae sync the zstty configuration with GENERIC, for consistency. 2007-01-01 15:36:16 +00:00
pavel 4e17ca0304 Explicitely configure zstty2 at zsc1. The corresponding /dev special file
is /dev/ttyB1 which has minor 2. If this serial port becomes zstty1,
/dev/ttyB1 becomes unusable because the minor number does not match. (The
problem was introduced when we started using the zstty(4) driver instead of
the scc(4) driver between NetBSD 1.6 and 2.0.)

Suggested by Bill Studenmund a long time ago.

Tested on DEC 3000 - 300LX and DEC 3000 - M600.
2007-01-01 15:32:34 +00:00
yamt 35374d3155 bring in wedge handling code from arch/x86/x86/x86_autoconf.c.
unlike i386, we can't rely on the bootloader.
2007-01-01 02:59:50 +00:00
ragge 0dc4689916 GCC constraints error for inline assembler, causing in_cksum to calculate
the checksum wrong in the non-optimized case.  Fix provided in PR#14614
by Rhialto, so this solves this PR.
2006-12-31 10:52:52 +00:00
rumble 9f443e25a4 Remove braces from non-optional arguments in usage. 2006-12-30 18:25:30 +00:00
rumble be99e9b07a Fix typo in comment. 2006-12-30 16:57:45 +00:00
nonaka a2d64d3518 remove unused files. 2006-12-30 06:13:37 +00:00
rumble fd144d2f8a Add -p command to usage. 2006-12-30 06:10:38 +00:00
rumble 3fa14b5d00 Add some items for myself. 2006-12-30 03:17:35 +00:00
martin 6288976a60 Allow pmap_enter_ptpage to fail, sometimes. Pass WAIT/NOWAIT flags and
fix some obvious locking problems. This allows us to run a LOCKDEBUG
kernel now.
No objection from mhitch and chs.
2006-12-30 01:28:57 +00:00
xtraeme 091ed609dd It's stupid to build this kernel with '-march=pentiumpro -mtune=i486"
because xen does not work on them... use '-march=i686" as we already
do in XEN2_DOM0.
2006-12-29 21:54:44 +00:00
yamt 3f0f3de613 update comments on NFS_V2_ONLY after nqnfs removal. no functional changes.
from Arnaud Lacombe.
2006-12-29 21:49:03 +00:00
ad 7334cf17bb Enable /dev/io for COMPAT_FREEBSD. 2006-12-29 19:16:30 +00:00
yamt ce9d4b0004 remove nqnfs from comments. from Arnaud Lacombe.
(no functional changes.)
2006-12-29 13:05:48 +00:00
rumble b469bdeb5a Tweak comments. 2006-12-29 07:15:01 +00:00
rumble e9e4c3f030 Change printing such that our 'timecounter:' message gets its own line on
IP12.
2006-12-29 07:06:19 +00:00
rumble 4713534bc9 Move the mips1_clock_intr handling into int.c where it belongs. 2006-12-29 07:00:11 +00:00
rumble 0cc003109f Add i8254 timecounter support for use on IP12.
Now pings aren't 0.000 ms anymore.
2006-12-29 06:52:01 +00:00
rumble 1426ceeded IP12 (and perhaps other systems) appear to be buggy and incapable of
reliably supporting badaddr(). False negatives appear to occur
approximately 1.8 percent of the time, although neither false positives
nor consecutive false negatives occur. We take advantage of the latter
property and always use a wrapper that makes multiple checks.

My IP12 no longer sees occasional ghost devices and related panics during
boot.
2006-12-29 05:26:30 +00:00
rumble eb755ecb24 Enable light(4). 2006-12-29 00:42:01 +00:00
rumble 163b9bb1ca Rework GIO probing a bit.
Devices present on the GIO bus needn't always provide a Product
Indentification Word, even if their address space is the same as the
address space of a slot. Separate the handling of probing for slot-based
devices and graphics devices, matching the latter first, and precluding
addresses probed for the former when a graphics device is known to exist
in a slot's space.
2006-12-29 00:41:11 +00:00
rumble 627a4f61bc Actually probe for the device when matching. 2006-12-29 00:31:48 +00:00
rumble b8c7e16b6c Update a comment and note the SetEng workaround. 2006-12-29 00:04:20 +00:00
dogcow 949714e345 Since pppd isn't part of the install image, having ppp in the kernel is a
little silly. (This also reduces the kernel size enough for build release to
work again.)
2006-12-28 22:32:19 +00:00
rumble 860011e433 Only probe on known supported base addresses. 2006-12-28 22:10:05 +00:00
rumble 210fcff558 Do not rely on the Product ID Word to be 0x04 since there is no such
thing for graphics options. Since we're removing this, ensure that we can
read the probe registers before proceeding.
2006-12-28 22:08:04 +00:00
rumble fe6d50f4ad Check the return value of gio_cnattach as it can fail despite what the
PROM says we should do.
2006-12-28 18:32:08 +00:00
rumble d7e1303681 Permit mmap, improve register definitions, disable the hardware cursor, and
other minor nits.
2006-12-28 16:33:49 +00:00
rumble c4ba13a80c Sprinkle static. 2006-12-28 16:19:14 +00:00
rumble c77d82ad5f Handle fpu interrupts (MIPS interrupt 0) on IP12. 2006-12-28 16:15:11 +00:00
rumble ca581a2f34 Catch and report bus errors. 2006-12-27 15:56:26 +00:00
rumble 63c6a08fb6 Specify the member names of struct platform for clarity. 2006-12-27 07:45:11 +00:00
martin e131201724 When converting FP exception codes, prefer overflow/underflow over
inexact result - this makes regress/lib/libc/ieeefp/except a bit happier.
2006-12-26 23:26:13 +00:00
rumble d1139b199f zskbd is unit 0, not 1. 2006-12-26 19:29:00 +00:00
rumble 0887b4b60e Make backspace and control keys work.
XXX: Why does KS_BackSpace not do what we want? We're copying pckbd now...
2006-12-26 17:37:22 +00:00
ad e96fca7884 Define ipl_t as uint8_t so that it can be packed into a word with a lock
byte. Ok yamt@.
2006-12-26 15:22:44 +00:00
martin e404fd2fc6 Make the DDB_TRACE variant compilable 2006-12-26 12:28:31 +00:00