Commit Graph

182706 Commits

Author SHA1 Message Date
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
matt
d9fa6bc288 Use bool instead of int. 2009-08-06 00:42:22 +00:00
pooka
0013bbb8eb add D to getopt so that previous actually works 2009-08-06 00:23:08 +00:00
pooka
b5cf475347 add -D, which prompts to stay on foreground without debug spewage 2009-08-06 00:20:45 +00:00
pooka
e2863984f7 Check main loop fcntl return value and error out if it fails.
Prevents e.g. from 5.0 cleaner looping forever against -current
lfs driver (fcntl data structure sizes are different).
2009-08-06 00:05:01 +00:00
wiz
9c8f6f63d2 Bump date for previous. 2009-08-05 23:15:52 +00:00
pooka
27db690df3 fhopen() needs sys/mount.h
(if someone disagrees, feel free to fix as much as your heart desires)
2009-08-05 23:03:08 +00:00
dsl
68a8748cf1 Change arguments to decimal() to be int64_t.
They need to be able to hold disk sector numbers > 2^31 and also -1.
Should fix PR/34807
2009-08-05 21:31:50 +00:00
dsl
f687cf7e68 If the current locale doesn't define the 'thousands' grouping info
then use sane defaults (',' every 3 digits).
Fixes PR/40714
2009-08-05 20:46:01 +00:00
jym
bba2c41d59 Add Intel SpeedStep and AMD PowerNow! support in Xen dom0. MSR operations
are now compiled in by default.

Note that MSR support in Xen depends on its version. rdmsr() should always
succeed, but wrmsr() to certain registers can end in a NOOP. In that case,
the error will be logged (see xm dmesg).

Setting CPU frequency (SpeedStep) requires Xen 3.3 with the option
cpufreq="dom0-kernel" passed down to hypervisor during boot.

Compiled and tested for SpeedStep under i386 for XEN3_DOM0 and XEN3PAE_DOM0
by jym@. amd64 was tested by Joel Carnat.

See also http://mail-index.netbsd.org/port-xen/2009/08/02/msg005213.html .

Commit requested by bouyer@.
2009-08-05 20:15:36 +00:00
dsl
8b926bc93c Fix ktrace of data from iovec based system calls.
Fixes PR/41819
2009-08-05 19:53:42 +00:00
dsl
8129ef72eb lockf() passes its arguments through to fcntl() but is supposed to
support -ve lengths (lock area before current offset).
Nothing in libc or the kernel allowed for this, so some random part
of the file would get locked (no idea which bits).
Although this could probably be fixed in libc, the stubs for posix file
locks for emulations could easily get into the kernel with -ve lengths.
So fixing in the kernel avoids those problems.
This also fixes PR/41620 (attempting to lock negative offsets) - which
is what I was looking into!
2009-08-05 19:39:50 +00:00
christos
4b76b4506c don't use char values for functions that can return -1; chars are not always
signed.
2009-08-05 19:34:09 +00:00
christos
0eff0ff3d3 mention new openssl. 2009-08-05 19:10:56 +00:00
wiz
8356afb2c1 Fix typos in comment. 2009-08-05 19:08:28 +00:00
christos
bb8cb2851b resolve conflicts 2009-08-05 18:38:21 +00:00
christos
86adef1b84 import 20090805 snapshot. 2009-08-05 18:31:57 +00:00