Søren Schmidt
1ab4ad3675
Add support for the PHY on nVidia, SiS and VIA chips
...
This code is done blindfolded as I dont have such HW here, so reports
of success/failure are most welcome.
More SATA PHY cleanups.
2005-04-08 15:33:04 +00:00
John Baldwin
4d9ae2662a
Change an instance of md_savecrit to md_saved_msr that I missed.
2005-04-08 14:26:55 +00:00
Gleb Smirnoff
4f20185860
Add additional newline to debug.mutex.prof.stats header, so that
...
column names are printed exactly above the columns.
2005-04-08 14:14:09 +00:00
Lukas Ertl
0ec44eb5e2
Add support for Sitecom USB to serial cable (v2)
...
PR: usb/79230
Submitted by: Rick van der Zwet <rick@wzoeterwoude.net>
2005-04-08 12:48:05 +00:00
Søren Schmidt
3c8b1aa784
Put the BUS_DMASYNC_PREWRITE in the rigth position.
2005-04-08 12:16:51 +00:00
Dag-Erling Smørgrav
a049d7b097
Revert parts of previous commits and use a temporary variable to avoid
...
an invalid type pun.
2005-04-08 11:19:50 +00:00
Joel Dahl
101198470f
Expand contractions.
...
Approved by: brueffer (mentor)
2005-04-08 10:38:12 +00:00
Ceri Davies
a5640f3d54
Grammatical improvement.
2005-04-08 10:32:22 +00:00
Maxim Konovalov
800af1fb81
o Nano optimize ip_reass() code path for the first fragment: do not
...
try to reasseble the packet from the fragments queue with the only
fragment, finish with the first fragment as soon as we create a queue.
Spotted by: Vijay Singh
o Drop the fragment if maxfragsperpacket == 0, no chances we
will be able to reassemble the packet in future.
Reviewed by: silby
2005-04-08 10:25:13 +00:00
Murray Stokely
1717bcc6f4
Commodore Perry was not 4 years old when he sailed to Japan. Correct
...
birth year.
2005-04-08 09:50:30 +00:00
Søren Schmidt
b0a7e6a56a
Generalise the SATA PHY handling code so it wont be duplicated for
...
each SATA chip.
Promise and Silicon Image are the current candidates for this.
2005-04-08 09:37:47 +00:00
Pawel Jakub Dawidek
cdae843174
Fix a long-standing bug. Error string has to be copyied from the user
...
process context.
Approved by: phk
MFC after: 3 days
2005-04-08 09:28:08 +00:00
Joel Dahl
98d0a6938c
Add myself (and decrease the average age).
...
Approved by: brueffer (mentor)
2005-04-08 09:04:29 +00:00
Hartmut Brandt
2a30c95875
Move the code for parsing .for and .if statements to the place where the
...
other directives are handled.
2005-04-08 09:03:40 +00:00
Maxim Konovalov
29f2a6ec18
o Tweak the comment a bit.
2005-04-08 08:43:21 +00:00
Maxim Konovalov
e99971bf2f
o Disable random port allocation when ip.portrange.first ==
...
ip.portrange.last and there is the only port for that because:
a) it is not wise; b) it leads to a panic in the random ip port
allocation code. In general we need to disable ip port allocation
randomization if the last - first delta is ridiculous small.
PR: kern/79342
Spotted by: Anjali Kulkarni
Glanced at by: silby
MFC after: 2 weeks
2005-04-08 08:42:10 +00:00
Mike Silbersack
50ac04ddbc
A simple regression test for msdosfs. Not the best, but it would have caught
...
the recent trouble msdosfs had.
2005-04-08 07:21:07 +00:00
Warner Losh
48c6558f4a
Minor style(9) changes
...
o use prototype definition
o use mse_{isa,cbus}_{probe,attach,detach} in preference to
mse_{probe,attach,detach}.
2005-04-08 05:22:58 +00:00
Alan Cox
26f6218be9
Add machine-specific, optimized implementations of bcmp and memcmp.
...
PR: 73111
Submitted by: Ville-Pertti Keinonen <will@iki.fi> (taken from NetBSD)
MFC after: 3 weeks
2005-04-08 05:15:55 +00:00
Peter Wemm
e76ce25370
Change the embedded module name from "bluetooth" to "ng_bluetooth" to match
...
the rest of the names assigned to this object.
2005-04-08 05:13:53 +00:00
Alan Cox
b5c9ad687a
Eliminate unneeded instructions that are a vestige of mechanical
...
translation from i386.
2005-04-08 05:10:18 +00:00
Yoshihiro Takahashi
afa7e54ab7
Fix pc98 includes.
2005-04-08 03:38:13 +00:00
Stephan Uphoff
779186434a
Sprinkle some volatile magic and rearrange things a bit to avoid race
...
conditions in critical_exit now that it no longer blocks interrupts.
Reviewed by: jhb
2005-04-08 03:37:53 +00:00
Yoshihiro Takahashi
37da95af97
Don't use 'i386/include' directly.
2005-04-08 03:37:20 +00:00
Yoshihiro Takahashi
cefad5bb41
Remove the wl driver. The devices don't work on pc98.
2005-04-08 03:36:32 +00:00
David Schultz
07f3bc5b9c
Add roundl(), lroundl(), and llroundl().
2005-04-08 01:24:08 +00:00
David Schultz
4bb190a74b
These files should include s_lround.c instead of s_lrint.c.
...
This only matters for efficiency, not for correctness.
2005-04-08 00:52:27 +00:00
David Schultz
fc87986708
Fix a (coincidentally harmless) bug.
2005-04-08 00:52:16 +00:00
Maxim Sobolev
ed4ed2bf5b
Backout previous diffs - this functionality is already provided by the
...
hints to the atkbd(4).
Submitted by: jhb
2005-04-07 23:59:38 +00:00
Maxim Sobolev
0e9502aaaa
Backout previous diffs - this functionality is already provided by the
...
hints to the atkbd(4).
PR:
Submitted by: jhb
2005-04-07 23:59:37 +00:00
Olivier Houchard
0ea0d0973f
Treat arm as i386.
2005-04-07 22:09:02 +00:00
Olivier Houchard
8d6b8c0f9a
Get more love from GEOM on arm.
2005-04-07 22:06:56 +00:00
Olivier Houchard
e0d6cac076
Use the new atomic_cmpset_32().
2005-04-07 22:06:05 +00:00
Olivier Houchard
2204e78f5e
No need to provide atomic_cmpset_32() anymore.
2005-04-07 22:04:49 +00:00
Olivier Houchard
ebc58b7dbc
Don't announce the range SDRAM_START-freemempos until I figure out what's
...
going on, it produces random memory corruption.
2005-04-07 22:04:18 +00:00
Olivier Houchard
d4d0079826
pmap_update() is gone.
2005-04-07 22:03:34 +00:00
Olivier Houchard
2d93998b00
Import a basic implementation of the restartable atomic sequences to provide
...
atomic operations to userland (this is OK for UP only, but SMP is still so
far away).
2005-04-07 22:03:04 +00:00
Olivier Houchard
139e3f7c33
- Try harder to report dirty page.
...
- Garbage-collect pmap_update(), it became quite useless.
2005-04-07 22:01:53 +00:00
Robert Watson
9b99e9b910
Add rudimentary man pages for kernel options sched_4bsd and sched_ule,
...
which document some of the sysctls available for configuring 4bsd, some
of the bullet features of ule, and that ule is considered experimental
still.
MFC after: 3 days
2005-04-07 21:57:19 +00:00
Scott Long
fd525b85a7
Document problems with writing to disks under GEOM.
2005-04-07 20:50:38 +00:00
Brooks Davis
3994793281
When accessing the sysctl vfs.nfs.iodmax, don't report errors as being
...
from accessing vfs.nfs.iodmin.
2005-04-07 20:37:04 +00:00
Scott Long
338465d521
Document how to make boot0cfg work on mounted disks.
2005-04-07 20:04:55 +00:00
Scott Long
ba3eb872e4
Document the GEOM debug flags.
2005-04-07 19:59:28 +00:00
Jacques Vidrine
5c929a0c96
An array was mistaken for a pointer in the previous commit.
...
Noticed by: tinderbox, stefanf
Pointy hat to: nectar
2005-04-07 19:26:35 +00:00
Maxim Sobolev
7ca67a6885
Make previous commit actually working by replacing TUNABLE_INT() with
...
TUNABLE_INT_FETCH(). Apparently keyboard init is performed earlier
in the boot process than fetching all static tunables.
MFC after: 1 day
2005-04-07 18:18:17 +00:00
Nate Lawson
cb3f3e5c9b
Revert part of 1.19. We do want to set the count to 0 since otherwise
...
it would give false info to other parts of the driver.
2005-04-07 17:33:22 +00:00
Nate Lawson
f86f6ce6e4
Hook up new man page for devclass_get_drivers() to build
...
Reminded by: ru
2005-04-07 17:27:14 +00:00
Maxim Sobolev
9ec4f9e385
Provide a new tunable hw.atkbdc.broken_kit_cmd, which if set to 1
...
instructs the driver to avoid using Keyboard Interface Test command.
This command causes problems with some non-compliant hardware, resulting
in machine being abruptly powered down early in the boot process.
Particularly it's known that HP ZV5000 and Compaq R3000Z notebooks
are affected by this problem.
Due to popularity of those models this patch is good MFC5.4 candidate.
PR: 67745
Submitted by: Jung-uk Kim jkim at niksun.com
MFC after: 1 days
2005-04-07 17:15:10 +00:00
Pawel Jakub Dawidek
220bc2ffc1
Allow classes to specify local source files.
...
MFC after: 3 weeks
2005-04-07 15:57:38 +00:00
Gleb Smirnoff
3cdec3ed29
s/foobar/mekmitasdigoat/g
...
Requested by: ceri, des
2005-04-07 15:28:14 +00:00