Commit Graph

121849 Commits

Author SHA1 Message Date
scw 0e54a63381 Recognise sh5 and sh5le. 2003-12-07 09:58:56 +00:00
mrauch f06ab72b6e Change the symbol lookup order to search RTLD_GLOBAL objects
before referencing object's DAG. This makes it possible for
C++ exceptions to work across shared libraries.

Patch taken from FreeBSD: src/libexec/rtld-elf/rtld.c: 1.67 -> 1.68,
committed there by kan@FreeBSD.org.
2003-12-07 09:36:06 +00:00
mrg 8ae92b7455 merge ultrasparc ofwboot / ofwboot.net. 2003-12-07 09:05:18 +00:00
christos 6a02b7be66 - avoid coredump by returning NULL when read fails and don't keep following
the list.
- avoid zerodivide.
XXX: still does not work, but at least it does not core-dump.
2003-12-07 07:28:05 +00:00
christos 676abde787 be more descriptive about what failed by printing the errno and the
variable we were trying to fetch.
2003-12-07 07:27:09 +00:00
dyoung 609617af90 Enable RSSI-based rate-adaptation for wi(4). This enables wi(4)-based
APs to run at "full speed" where before they ran at just 1 or 2Mb/s.
The AP will adapt the data rate for each client based on packet
losses and the received signal strength.

I have also enabled rate adaptation for STA mode and for IBSS mode,
but the hardware gives us less control over the data rate in those
modes.
2003-12-07 05:44:49 +00:00
dyoung 4232da0fda Diagnostics: complain if packet decapsulation fails. 2003-12-07 05:34:22 +00:00
dyoung 97ea67538a Add the RSSI-based rate-adaptation library to the build. 2003-12-07 05:30:22 +00:00
dyoung 2e4c586701 Oops. Make it compile with 'options IEEE80211_DEBUG'. 2003-12-07 05:29:39 +00:00
dyoung 00c2f586dc Get/set fragmentation threshold. DTRT when the RTS threshold is
set.
2003-12-07 05:23:12 +00:00
dyoung d942dc3968 In _STA mode, don't panic when a stray beacon-miss interrupt is
received.  Instead, ignore it. It's normal for a stray to come
during the transition to monitor mode.
2003-12-07 05:09:02 +00:00
dyoung 9270de9dc4 Updates to 802.11 radiotap. The _DB_ flags were used everywhere to
denote a signed dBm Rx power, so rename them to _DBM_ and change
the signedness.  Add new _DB_ flags for unsigned Rx power measured
from an arbitrary reference.

Try to synchronize net80211/ieee80211_radiotap.h with my tcpdump
sources (which public tcpdump has not seen, yet) and with FreeBSD.
2003-12-07 04:49:17 +00:00
dyoung 78b6786442 Make the MASK_TO_SHIFT expression less "tall." Hopefully helps
work-around the gcc bug reported by Erik Osheim.
2003-12-07 04:22:57 +00:00
dyoung 69ed3fa879 Cosmetic: add some whitespace for readability. 2003-12-07 04:19:27 +00:00
chs 291c877a9c add support for more than 2 PT_LOAD sections. from OpenBSD. 2003-12-07 02:18:53 +00:00
chs 961d62cfa5 add console support, based on other platforms. from Jochen Kunz. 2003-12-07 02:17:22 +00:00
dmcmahill 3bff1bb631 fix style. Thanks Simon! 2003-12-07 02:01:25 +00:00
dmcmahill a243add09b regen after schedctl addition. 2003-12-07 01:50:10 +00:00
dmcmahill 82d69cf8b8 Add a dummy entry for syscall #206, schedctl, that simply returns zero.
This lets FlexLM clients run under compat_svr4_32 on sparc64.  Patch
checked by Matt Green.
2003-12-07 01:36:58 +00:00
jonathan 27171efb6d KNF: s/unsigned/u_int/, in a couple of places I missed. 2003-12-07 01:18:26 +00:00
dmcmahill 5455115fd1 Conditionally include nbtool_config.h to make sure __P has been defined
when this is built as a host tool on some non-netbsd hosts such as
solaris-2.6.  fgen now correctly builds there.
2003-12-07 01:02:36 +00:00
tsutsui 082caf94ca Allow sysctl(8) to update vm.{anon,exec,file}{min,max}.
XXX needs sysctl(9) man page to confirm this change..
2003-12-07 00:40:43 +00:00
jonathan c56097abb8 Replace the single global IP reassembly list/listhead, with a
hashtable of list-heads. Independently re-invented, then reworked to
match similar code in FreeBSD.
2003-12-06 23:56:10 +00:00
bouyer 464de24c0e Clone artisea_chip_map() for use by the ICH5 SATA controllers.
The 31244 is really different from the ICH5, and one day the map function
could be incompatibles. Suggested by thorpej@
2003-12-06 22:40:03 +00:00
bjh21 df8ccd8d1b Undo last change: The "iomd" driver has its own bus_space tag, so it didn't
rely on the brokenness of the mainbus one.
2003-12-06 22:31:16 +00:00
bjh21 ed4b80b144 Fix the ARM mainbus version of bus_space_subregion() to correctly shift the
base offset before using it.  This makes it work the same as every other
implementation, and makes wdc at pioc on acorn32 work again.  Fix the only
caller I found which depended on the old behaviour.
2003-12-06 22:05:33 +00:00
martin c70b2edfae Fix kern.cp_time for MULTIPROCESSOR kernels: calculate size of result
correctly, free original instead of incremented pointer, copy results for
n = -2 case too, so top shows correct stats.
Additionaly, rearange code for better readability (from Andrew).
2003-12-06 21:33:51 +00:00
fvdl 150a6bd869 Include opt_posix.h for the P1003_1B_SEMAPHORE define.
Include <machine/cpu.h> just to be sure.
2003-12-06 20:06:11 +00:00
bjh21 b5479325d6 Correct typo in last. 2003-12-06 20:00:12 +00:00
bjh21 3f1dc2b013 Don't complain if we're asked for != 8 channels. There's no actual support
for fewer channels yet, but this is necessary just to avoid a boot-time panic.
2003-12-06 19:59:32 +00:00
manu dc728f311c Don't allow mappings at address zero in vm_allocate: first page is a
red zone in Darwin, and nothing should be mapped there.
While we are here, ifdef DEBUG_MACH_VM all the VM-related debug messages
2003-12-06 19:34:21 +00:00
bjh21 cdfcb25142 Fix tiny formatting glitches. 2003-12-06 17:39:30 +00:00
fvdl e16473e240 Segment registers are only 16 bits wide, so only check 16 bits worth of
them for validity in check_mcontext.
2003-12-06 17:35:44 +00:00
yamt 8e92859632 rev.1.55 didn't handle BUFQ_SORT_CYLINDER case correctly.
pointed by Juergen Hannken-Illjes.  patch provided by him.
2003-12-06 17:23:22 +00:00
manu 0951833f2e Remove the reference to struct proc in kernel and host port once the
process terminate, so that no stale pointer can be used if the port is
still referenced
2003-12-06 17:04:50 +00:00
simonb c26ed27f0c Only compile in sysctl_machdep_booted_kernel() if __HAVE_BOOTINFO_H
is defined.
2003-12-06 15:20:04 +00:00
manu 0105d58e0a Don't send Mach exceptions to dying processes 2003-12-06 15:16:38 +00:00
manu 174b751317 In task_terminate, unstop the process so that we can really terminate it now 2003-12-06 15:16:10 +00:00
manu 8f3ee36470 Fix some panics caused by incorrect Mach exceptions reference counts 2003-12-06 15:15:19 +00:00
yamt 88046c4ce5 fix a debug code to follow recent change about tailing slashes. 2003-12-06 14:17:13 +00:00
yamt e5d5094296 - turn non-verbose parts of NAMEI_DIAGNOSTIC into normal DEBUG.
- comments on #endif.
2003-12-06 14:16:11 +00:00
simonb c8ee7b6dd7 Add a WEAK_ALIAS macro.
While here, use #if instead of #ifdef for __STDC__ check.
2003-12-06 14:06:28 +00:00
simonb 5fc19197d5 Use crosscompile-friendly ${BINUTILSPROGRAMNAMES}.
Enable WARNS=2.
Don't use -z and update start address for binutils 2.14 ld.
2003-12-06 14:04:33 +00:00
simonb b3d9f58082 Make WARNS=2 friendly. 2003-12-06 14:02:40 +00:00
simonb 717bd17cec KNF, ANSIfy, de-__P. 2003-12-06 13:09:01 +00:00
manu 8019168c34 Remove a useless debug printf 2003-12-06 11:43:56 +00:00
yamt 3b65e1745b - disable ipv4 checksum offloading as it seems to have a problem.
- add comments to describe it.
2003-12-06 11:27:28 +00:00
jdolecek d9c37aa325 regen:
add NetMos NM9805 and NM9815
2003-12-06 11:20:55 +00:00
jdolecek 89d301d92d add NetMos NM9805 and NM9815 2003-12-06 11:19:17 +00:00
jdolecek d8065a9e15 add entry for another NetMos card - NetMos NM9815 Dual 1284 Printer port 2003-12-06 11:18:08 +00:00