Commit Graph

128783 Commits

Author SHA1 Message Date
mycroft
a10e4d1f3a Cardbus -> CardBus 2004-07-03 17:36:51 +00:00
manu
318748a9d0 Wrong argument to memset for bzero in commpage. 2004-07-03 17:29:17 +00:00
mycroft
02bab8c5fb There is no "DWL-G520B". There is, however, a "DWL-G520", which actually
works now.
Also, spell "CardBus" consistently.
2004-07-03 16:58:18 +00:00
manu
5d33c4b91c 2^53 does not compute 2 power 53... 2004-07-03 16:47:13 +00:00
manu
e317692907 When the keyboard type is unknwon, don't attach both ADB and USB, as the
kernel will panic if an USB keyboard is plugged later.

Of course there will be a problem on a desktop machine with an USB attached
keyboard, but that cannot be fixed without access to such a machine..
2004-07-03 16:24:57 +00:00
tron
ee13f974b7 Add formatted manual page for strcasestr(3). 2004-07-03 15:15:04 +00:00
uch
17835aa16b add apm 2004-07-03 14:59:17 +00:00
tron
ed6abe1ce8 The minor of "libc" was bumped to 121. 2004-07-03 14:35:29 +00:00
chs
907e0da361 more shlib updates. 2004-07-03 14:11:25 +00:00
chs
64c100de23 add a missing symlink as well. 2004-07-03 13:45:58 +00:00
uch
ad9ac7f68e add apm, apmd 2004-07-03 12:57:18 +00:00
uch
0afeae9aa7 add hpcsh 2004-07-03 12:55:47 +00:00
uch
c5f0120f16 hpcmips independent hpcapm part are moved to sys/dev/hpc/
hpcmips dependend part is separated to sys/arch/hpcmips/hpcapm_machdep.c
2004-07-03 12:54:34 +00:00
uch
bb2b8b1099 jornada 6x0 power mannagement support.
[on/off] button power off LCD and CPU sleeps.
2004-07-03 12:49:21 +00:00
uch
eb34a4299d jornada 6x0 use j6x0pwr as power button. remove special keymap. 2004-07-03 12:47:53 +00:00
uch
fc3043bcdd hpcmips independent part are moved to sys/dev/hpc/ 2004-07-03 12:46:57 +00:00
manu
4d933c5be0 Mark the thread id as clean in cthread_set_self 2004-07-03 09:44:04 +00:00
mrg
13e5b34e5b fix "zcat -f" on normal files. fixes PR#26145 2004-07-03 09:39:30 +00:00
junyoung
07ac9ff574 Add strcasestr(3). 2004-07-03 09:03:37 +00:00
junyoung
559ae6bad7 Note addition of strcasestr(3). 2004-07-03 08:32:43 +00:00
junyoung
74d67c3551 Add strcasestr(3), case insensitive version of strstr(3).
Bump libc minor.

From FreeBSD.
2004-07-03 08:27:25 +00:00
simonb
b52cdd0dd6 Copy the sparc/sparc64 __longjmp14() way of dealing with signal masks:
* Restore the signal mask with sigprocmask() instead of _UC_SIGMASK,
  * since libpthread may want to interpose on signal handling.

Fixes regress/lib/libpthread/siglongjmp1.
2004-07-03 05:44:55 +00:00
simonb
b4f0be566a Catch up with changes to __fpregset_t.
In __longjmp14(), copy the FP CSR from the correct array and array slot.

Completes fix for PR port-mips/25942.
2004-07-03 05:10:06 +00:00
simonb
7f2fc41e2f In cpu_{set,get}context(), copy the FP registers themselves and the FP
CSR separately (and now from the correctly sized __fpregset_t).  The
FP CSR is copied separately to avoid endianness/alignment issues.

Part of fix for PR port-mips/25942.  Thanks to Christos Zoulas and
Klaus Klein for help with debugging this.
2004-07-03 05:08:34 +00:00
simonb
7b72fd9dc6 Drop the "catchall" __fpregset_t, and use either a 32-bit or 64-bit
structure depending on the current ABI.

Part of fix for PR port-mips/25942.  Thanks to Christos Zoulas and
Klaus Klein for help with debugging this.
2004-07-03 05:06:37 +00:00
simonb
ba7395bc5d Run the test programs out of "." (which may be an obj dir) instead of
${.CURDIR}.
2004-07-03 03:19:06 +00:00
manu
26200ee754 In MacOS X.3, the kernel maps tw opages of memory in every user process.
This areas is called the comm pages. It is used to provide fast access to
several data and functions.

The comm pages are mapped starting at 0xffff800 (address chosed so that
absolute branch can be used, so it can be accessed even when dynamic linking
is not ready). NetBSD has the user stack here, so we need to provide a
Darwin-specific stack setup routine which sets the top of the stack at
0xbfff0000.

This implementation is not complete but it does enough to get MacOS X.3
starting again (static binaries run, dynamic binaries still have an issue).
in the comm pages functions, we only implement bcopy, pthread_self and
memcpy.

TODO:
- clean up the powerpc specific code from MD parts
- for now we map only one page to avoid a crash, we want two pages.
- write all the comm functions.
2004-07-03 00:14:30 +00:00
dyoung
4021fab89e Remove a few levels of indentation in ieee80211_find_rxnode by
return'ing early.
2004-07-02 23:54:08 +00:00
dyoung
b678db6630 Indicate link status changes on the routing socket. 2004-07-02 23:41:34 +00:00
dyoung
d16482800f Cosmetic: shift a break-statement into the right column. 2004-07-02 21:22:18 +00:00
dyoung
ef5c009e5c wi_start compaction: check for software descriptor exhaustion in
one place.  Check for the _RUN state in one place.
2004-07-02 21:20:10 +00:00
mycroft
0e13cf8bb2 Actually initialize the direct-mapped DMA window, which is clearly not set up
by the firmware on my Multia.  Now PCI devices like the builtin tlp actually
work.
2004-07-02 19:54:22 +00:00
mycroft
e8699d813a Add debugging code to dump the filter setup descriptor, similar to the transmit
path.
2004-07-02 19:53:31 +00:00
junyoung
b774e487ce - Add missing .YorN
- Fix typos in previous commit
2004-07-02 18:20:27 +00:00
heas
192b371d42 Adjust description for net.inet.udp.checksum; it does not controll checking,
only computing.
2004-07-02 18:19:51 +00:00
heas
2cc74cfa3e UDP checksums are always checked (RFC1122 S4.1.3.4), it is not controllable
by net.inet.udp.checksum.
2004-07-02 18:17:45 +00:00
uch
db7514c3d2 enable X-window configuration default.
add com* at pcmcia and ppp configuration.
move debug option to DEBUG.
2004-07-02 18:05:23 +00:00
drochner
12abfacf0b just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
drochner
2706519f5d add a <machine/joystick.h> which just includes the new common one 2004-07-02 17:02:24 +00:00
drochner
317ca9a542 the port's joystick.h are all identical, so use a common one 2004-07-02 17:00:31 +00:00
bouyer
a784628775 Fix PR 25788 by Arto Huusko using a cleaned up version of the provided patch.
Not reading the mii media status if the interface isn't up doesn't hurt,
as the real media status isn't reported if the interface isn't up anyway
(checked on i386).
On my alpha500, I tracked down the machine check to the GO_WINDOW(4) at
line 1858 of elinkxl.c. It's possible that the problem which was fixed in
rev 1.72 was also the GO_WINDOW(4) used in the non-mii case. tr from ddb
and a single-step show different results, and I trust the single-step
one :)
2004-07-02 16:58:36 +00:00
christos
0dd4809fb6 remove stray debugging left from last commit. 2004-07-02 16:26:53 +00:00
mycroft
f98a477f22 Ahem. Parts of this are *clearly* derived from the old i386/isa/intr.c, so
put back the copyright from there.
2004-07-02 16:05:57 +00:00
skrll
c561286bf0 wizd missed one! 2004-07-02 13:42:06 +00:00
wiz
711c55c92c Drop trailing whitespace; fix Dd argument; use standard section headers;
sort SEE ALSO; use \*[Lt]\*[Gt] instead of <>; empty lines are fine in
.Bd/.Ed.
2004-07-02 13:38:14 +00:00
wiz
07b563fdee Fix typo. 2004-07-02 13:33:39 +00:00
cube
4791863f66 Add 'pcilkm' module.
It is a layer to make it possible to have loadable PCI device drivers.

First you load (with symbols) the pcilkm module, then you can load PCI
drivers that have been compiled to work with pcilkm.

Two examples are provided.  'pcienum', the first one, is a simple
demonstration of how to use pcilkm:  it is the basic skeleton of a PCI
driver, and will attach at load time to all PCI devices known to the
system.

The second example 'auich' demonstrates how simple it is to use an
existing driver as a LKM.  It simply includes the code for auich(4) and
then adds the necessary pcilkm logic.  However there are some drawbacks
that are described in the README file.
2004-07-02 13:26:40 +00:00
simonb
f41923b7dd Fix a precedence problem setting uc_flags.
Part of fix for PR port-mips/25942.  From Christos Zoulas.
2004-07-02 12:32:16 +00:00
agc
b186672660 Now that we have SHA1 passwords, modify useradd(8) so that it will accept
an encrypted SHA1 password on the command line.
2004-07-02 12:01:00 +00:00
drochner
3e7f9e1481 allocate stack space for temporary storage 2004-07-02 10:17:23 +00:00