wiz
ba544bf010
Add missing parenthesis in commented out code.
...
From Henning Petersen in PR 41838.
2009-08-07 13:53:54 +00:00
blymn
2a02a6feb9
Destroy mutex and condvar initialised in pccbbattach().
2009-08-07 12:09:50 +00:00
blymn
c6b1721d19
Clean up extraneous white space.
2009-08-07 12:04:43 +00:00
mbalmer
61e768bf92
Don't use an identifier name that probably clashes with the C standard.
...
Requested by many.
2009-08-07 08:15:52 +00:00
mbalmer
2ce40e808d
Properly teardown the sysctl node and detach child driver if gpiosim gets
...
detached itself (e.g. when the 'drvctl -d gpiosimX' command is entered).
2009-08-07 08:08:18 +00:00
mbalmer
d2c70191a8
Fold long line.
2009-08-07 08:05:48 +00:00
matt
ec695a81bd
Mark LOONGSON as uncached for the moment.
2009-08-07 03:33:28 +00:00
matt
a26452b1dd
Interrupts now work. Fix old bug with softints.
2009-08-07 01:27:14 +00:00
matt
5161730624
Fix references to mips_ipl_si_to_sr which were off by 1.
2009-08-07 01:26:13 +00:00
matt
01327baca5
attach the missed evcnt too
2009-08-07 01:14:26 +00:00
matt
60dd40f5be
Get the CPU frequency from the PMON environment (which it provided to us).
2009-08-07 00:11:08 +00:00
dyoung
cb637e784d
unifdef -U__FreeBSD__ -D__NetBSD__, et cetera.
2009-08-07 00:10:53 +00:00
dyoung
ec63b8722d
Re-use DK_BUSY().
2009-08-07 00:08:07 +00:00
dyoung
8bd642cce2
Put the entire expression that DK_BUSY() evaluates to in parentheses
...
for safety.
2009-08-07 00:07:39 +00:00
matt
d9c091be8f
Use mips3_get_cache_config for Loongson2
2009-08-06 23:16:39 +00:00
matt
5e3f78448a
print ra on trap.
2009-08-06 23:07:55 +00:00
matt
2891bea040
Update Loongston. Set colors and mark it as having virtual aliases.
2009-08-06 22:56:31 +00:00
wiz
18de4741b9
Improve wording, based on suggestions by Jukka Ruohonen in private mail.
2009-08-06 22:01:36 +00:00
dsl
3d8c11d579
ktrace the arguments to script interpreters that come from the script.
...
Fixes PR/33021
2009-08-06 21:33:54 +00:00
wiz
175898c4a2
Describe -D. Bump date.
2009-08-06 21:18:54 +00:00
macallan
54334fe790
enable the tcx driver
2009-08-06 18:28:41 +00:00
macallan
45b6e71b60
make the tcx driver do something useful:
...
- attach a wsdisplay
- make it work with an S24
- accelerate scrolling and character drawing
This isn't quite finished yet, it works fine as a console but most things
X will need are not functional right now.
2009-08-06 18:26:03 +00:00
dholland
b76cf716a9
Don't use a FILE * after fclose(). PR 41832 from Henning Petersen.
2009-08-06 17:55:18 +00:00
joerg
b9b5f22385
Use WARNS=4.
2009-08-06 16:57:20 +00:00
joerg
0590ec0a66
Import pkg_install-20090806:
...
- pkg_add: add support to check license conditions before installation
- pkg_delete: add -k option to skip over preserve packages.
- WARNS=4 clean, fix some potential uses of uninitialized variables
2009-08-06 16:55:16 +00:00
matt
db94de7856
Cleanup a bit and remove some debugging cruft that's no longer needed now
...
that the early console is working.
2009-08-06 16:37:01 +00:00
macallan
2b5246200f
add rasops15 too for completeness
2009-08-06 16:26:51 +00:00
macallan
69c048e118
pull in rasops16 - needed for gdium support
2009-08-06 16:24:43 +00:00
matt
7cb1141cfa
Change MIPS64_LOONGSON2 to MIP3_LOONGSON2 since it's a MIPS3 and not MIPS64.
2009-08-06 16:13:07 +00:00
haad
a0a1dfda1b
Add support for DIOCGDISKINFO for wedges. This fixes regression after my
...
DIOCGDISKINFO commit to fsck/partutil.c.
Tested by me and adegroot@.
2009-08-06 16:00:49 +00:00
matt
cff0705eb4
The Loongson2 secondary cache is unified.
2009-08-06 15:58:46 +00:00
matt
bb6666c5a7
Make cidnames const
2009-08-06 15:58:12 +00:00
mbalmer
133c6e2a65
For the sake of correctness, call pmf_device_deregister() in the detach
...
function.
2009-08-06 13:16:49 +00:00
cegger
302b7dbb45
Check if ndi is valid before use.
...
ok tonnerre@
2009-08-06 12:17:11 +00:00
pooka
75f7f90d47
Switch rump from the handwritten vnode pager to the standard kernel
...
vnode pager.
It would have been nice to keep a separate version:
* it has helped find file system bugs which the kernel pager
treated as non-errors
* it does not contain extra payload unnecessary in userspace
However, getting the details of the pager implementation correct
with all the flags, offsets and block/page size special cases is
*EXTREMELY* difficult (chuq > god).
On the plus side, LFS write now works for file data too instead of
just metadata. Also, maybe being able to singlestep the genfs
vnode pager in the comfort of userspace will allow more people to
understand how the behemoth functions.
2009-08-06 12:07:56 +00:00
pooka
7f2a28a489
Add suicidal stubs for pmap_enter() and pmap_remove(). Hopefully
...
the MD bits for all the glorious archs went right.
2009-08-06 11:50:19 +00:00
mbalmer
da7930a7f1
Add gpio to rc checks.
...
Diff from Geoff Wing <gcw@pobox.com>, thanks.
2009-08-06 08:31:58 +00:00
skrll
61b95b459d
Make ucycomstart use usbd_setup_xfer and a callback so that it doesn't
...
(attempt to) sleep in interrupt context.
From David Howland in PR 36276 with changes from me.
XXX Still losing data on input.
2009-08-06 07:07:30 +00:00
kml
20115c22f9
Later generation 82566 IGP PHYs have problems with media changes to 100Mb and
...
10Mb; it appears that the SmartSpeed workaround and dspcode in this PHY are
aimed at earlier generation IGPs. Remove reference to 82566s, allowing
them to fall through to choose other PHYs.
2009-08-06 04:58:48 +00:00
tteras
c2919dd501
From Paul Wenau: Check fgets return value in setkey to make gcc happy.
2009-08-06 04:44:43 +00:00
msaitoh
f02cd49d11
Add disassemble code for DMT, DMF, MTH and MFH.
2009-08-06 04:34:50 +00:00
msaitoh
9b3aa25fe3
If the difference bettween last flag and new flag is only IFF_PROMISC or
...
IFF_ALLMULTI, set multicast filter only to prevent link down. Tested by
Mark Davies and me. Fixes PR#29126 for wm.
2009-08-06 03:03:46 +00:00
matt
144bdbe663
Add Loongson2 support.
2009-08-06 01:27:47 +00:00
pooka
ceedea85d6
run lfs cleaner
2009-08-06 01:00:04 +00:00
pooka
4979347199
remember to add cleaner_main() prototype
2009-08-06 00:58:32 +00:00
pooka
fe44f86a99
in const where available
2009-08-06 00:55:08 +00:00
pooka
709a4d5bb6
Define syscalls of lfs userspace tools (cleaner, mainly) through
...
a struct called kernelops, which contains standard system calls
for the normal case and rump system calls for the rump case.
Make it possible to run the lfs cleaner in a library fashion (taking
the quick route with the implementation).
2009-08-06 00:51:55 +00:00
matt
74c9ebf370
GDIUM support. It compiles but doesn't yet work. It dies quickly in
...
mips_vector_init.
2009-08-06 00:50:25 +00:00
matt
fcbae537a4
Add ICT Loongson2 identification.
2009-08-06 00:46:34 +00:00
matt
48f76ccf28
LOONGSON2 is a MIPS III
2009-08-06 00:42:58 +00:00