Commit Graph

107655 Commits

Author SHA1 Message Date
matt
dfbd1e0d55 Add the new mpc85xx/booke device names. 2011-01-04 01:26:22 +00:00
matt
d4c26fdc30 Add a generic Motorola/Freescale i2c driver. This was taken from sandpoint
and heavily modified.  It works on most Freescale PowerPC and ARM SoCs.
2011-01-04 01:24:56 +00:00
pooka
41cdab1b22 Don't try to change the size of non-reg nodes or when vattr doesn't
contain a new size.

from njoly
2011-01-04 00:09:43 +00:00
skrll
9ed174ca8e Reformat comment. 2011-01-03 19:20:11 +00:00
pooka
7766a79555 kqueue signal filters are not supported, so be explicit about it. 2011-01-03 14:57:06 +00:00
pooka
a27f30410a update comment 2011-01-03 13:22:32 +00:00
drochner
bccb285ad5 destroy mutex/cv before freeing the struct holding them, fixes
LOCKDEBUG panic
2011-01-03 13:12:40 +00:00
jruoho
6a3b9e2cde Scan for devices that are "hot-pluggable". 2011-01-03 08:50:23 +00:00
tsutsui
ee16ecf67d Add (commented out) options MODULAR. Confirmed working on XM6i. 2011-01-03 06:15:16 +00:00
tsutsui
a9ce633ac2 Xref module(7) in comments. 2011-01-03 06:07:42 +00:00
tsutsui
7790fd94ea Enable options DDB. Ok from isaki@ 2011-01-03 03:43:22 +00:00
jakllsch
71481e188f Zero the in-memory super block after allocation. It contains a pointer
that, if not properly initialized, could be improperly deallocated.
2011-01-02 21:37:01 +00:00
christos
d232460a0a kern/44310: Alexander Nasonov: write to /dev/bpf truncates size_t to int 2011-01-02 21:03:45 +00:00
christos
7e1e338bd2 Simplify and avoid kernel segv when the list is NULL. 2011-01-02 20:50:55 +00:00
matt
d24d5902b3 Kernels modules are c99 (gnu99) just like the kernel.
Add(move) -std=gnu99 to CPPFLAGS (from COPTS).
2011-01-02 19:24:47 +00:00
tsutsui
6542895ee1 Tidy up common comments. (Yes, too many dup code...) 2011-01-02 18:48:04 +00:00
tsutsui
ba49f620d3 Pull code that maps the kernel segment table cache invalidated for 040/060,
to reduce diffs from other m68k ports.

Compile test only. (any working machine for these port?)
2011-01-02 18:39:11 +00:00
tsutsui
d0f75d9074 Pull code that maps the kernel segment table cache invalidated for 040/060,
to reduce diffs from other m68k ports.

Tested on LC630 (with 68LC040) upto single user.
2011-01-02 18:16:59 +00:00
skrll
cc800d12bd Remove last references to __HAVE_SIGINFO 2011-01-02 18:12:01 +00:00
skrll
4e5433fc00 __HAVE_SIGINFO has not been required/used for a long time now.
Prompted by uwe@
2011-01-02 18:07:02 +00:00
pooka
afa6c20325 regen: rump_lwproc_rfork 2011-01-02 12:53:13 +00:00
pooka
8b69e65f3e There is a use case where preserving the parent's fd table is
relevant, so to accommodate that change rump_lwproc_newproc() to
rump_lwproc_rfork().  The new interface has the rfork() fd table
semantics.  The equivalent of rump_lwproc_newproc() is
rump_lwproc_rfork(RUMP_RFCFDG).
2011-01-02 12:52:25 +00:00
mbalmer
ec2d803578 Cap h.loc.count at MAXKEYCODE instead of bailing out. This lets some obscure/
roque keyboards attach.

From loganaden@devio.us (Loganaden Velvindron), thanks!
2011-01-02 12:36:41 +00:00
he
1445b77a3f Make this build again by removing the const qualifier on the
local pcb0 variable in mips_init_lwp0_uarea().
2011-01-02 12:17:28 +00:00
jruoho
6248a51d8a Adjust error messages for the previous commit. 2011-01-02 12:06:02 +00:00
mrg
de80fec71b add the normal DKWEDGE* options, and enable drvctl. 2011-01-02 11:25:31 +00:00
mrg
546f8cf55d now that it's optional, kill schizo_pci_find_ino().
prepare to enable the tomatillo iocache.
2011-01-02 10:43:18 +00:00
hannken
111bde084e layer_inactive: With specnodes introduced during vmlocking2
it is safe to cache device nodes.

Tested with nullfs only as unionfs with device nodes panics.
2011-01-02 10:38:02 +00:00
tsutsui
1566040d94 Switch mvmeppc bootloader to using MI libsa and libkern for maintainability.
Mostly taken from mvme68k.

Compile test only, but no functional changes.
2011-01-02 09:40:51 +00:00
tsutsui
3beadbf115 Misc cosmetics to reduce diff among hp300 derived m68k ports.
XXX: too many quirks to merge...
2011-01-02 08:40:54 +00:00
tsutsui
61ec97e196 Add a dummy <machine/bus.h> which nows seems to be mandatory in MI code
including <sys/bus.h> even if a port doesn't use it. Taken from sbmips.
2011-01-02 08:22:35 +00:00
tsutsui
7e5fe04d25 Explicitly include <machine/bus.h> here for bus_space_tag_t and bus_dma_tag_t. 2011-01-02 08:19:03 +00:00
tsutsui
180ea1e5f3 Fix one more fatal typo. Umm. 2011-01-02 07:51:02 +00:00
tsutsui
600906f486 Misc cosmetics to reduce diffs among these ports. 2011-01-02 07:03:46 +00:00
dholland
6422814ed0 Remove references to SAVESTART and SAVENAME in comments. 2011-01-02 06:58:45 +00:00
tsutsui
19cecafc81 Some cosmetics to reduce diffs from other m68k ports. 2011-01-02 06:25:23 +00:00
tsutsui
46705dc7b5 Remove "last kernel PT page" stuff derived from hp300 where PA != VA.
Compile test only, but same changes as other PA == VA m68k ports like
luna68k, news68k, and x68k used for a decade.
2011-01-02 06:15:04 +00:00
jruoho
e008cf160e Use "real" device names for the hw.acpi.wake and hw.acpi.power sysctl(8)
trees. For instance, instead of hw.acpi.wake.DURT, we have hw.acpi.wake.wm0
for wm(4). This is a temporary solution, but without solving the big
abstraction questions, this is the best we can do.
2011-01-02 06:05:47 +00:00
jruoho
9a11653a7b Print a warning if the BIOS thinks that the timer is unreliable. However, do
not touch the quality of the timecounter(9) based on this information.
2011-01-02 05:48:55 +00:00
tsutsui
ba426c081d Switch mvme68k standalone problams to using MI libsa and libkern
for maintainablility. Also bump version for note.

Compile test only, but no functional changes.
2011-01-02 05:30:11 +00:00
tsutsui
0d6929ab07 Make pmap_aliasmask unsigned and declare it in <m68k/pmap_motorola.h>.
XXX: does anyone still have working HP320 or HP350 with 020+HP_MMU+VAC?
2011-01-02 05:21:11 +00:00
tsutsui
65021e823c Pull code that maps the kernel segment table cache invalidated for 040/060,
to reduce diffs from other m68k ports.

Tested on HP362 (030) and HP382 (040), and no visible performance difference.
(what should we do per "for the 68040 not strictly necessary but
 recommended by Motorola" comment?)
2011-01-02 05:18:04 +00:00
dholland
3822046d71 5.99.43: R.I.P. SAVESTART. 2011-01-02 05:13:53 +00:00
dholland
a2770d1fb4 Final regen for tonight. 2011-01-02 05:12:56 +00:00
dholland
6d2ff39e83 Remove remaining references to SAVESTART. 2011-01-02 05:12:33 +00:00
dholland
201ce42cd0 Regen yet again. 2011-01-02 05:09:50 +00:00
dholland
13fc777536 Remove the special refcount behavior (adding an extra reference to the
parent dir) associated with SAVESTART in relookup().

Check all call sites to make sure that SAVESTART wasn't set while
calling relookup(); if it was, adjust the refcount behavior. Remove
related references to SAVESTART.

The only code that was reaching the extra ref was msdosfs_rename,
where the refcount behavior was already fairly broken and/or gross;
repair it.

Add a dummy 4th argument to relookup to make sure code that hasn't
been inspected won't compile. (This will go away next time the
relookup semantics change, which they will.)
2011-01-02 05:09:30 +00:00
tsutsui
04a4956fe1 Remove disabled code for VAC. No such news68k models. 2011-01-02 05:09:27 +00:00
dholland
bf71879ee8 Regen again. 2011-01-02 05:05:42 +00:00
dholland
b845056678 Add an INRELOOKUP namei flag. Sigh. (We don't need more namei flags.)
However, because of a protocol deficiency puffs relies on being able
to keep track of VOP_LOOKUP calls by inspecting their contents, and
this at least allows it to use something vaguely principled instead of
making wild guesses based on whether SAVESTART is set.

Update libp2k to use INRELOOKUP instead of SAVESTART.
2011-01-02 05:04:58 +00:00