Hartmut Brandt
8711ce79a7
Virgin import of the NgATM SAAL layer shared kernel/user part v0.9.
2003-10-22 07:41:16 +00:00
Hartmut Brandt
9d5fb541c6
This commit was generated by cvs2svn to compensate for changes in r121326,
...
which included commits to RCS files with non-trunk default branches.
2003-10-22 07:41:16 +00:00
Hartmut Brandt
0eecad8da7
Remove a gcc-ism: declaring a variable array at the end of a structure
...
as [0] and replace it with the ISO way of writing []. This has caused
warnings with WARNS=6.
2003-10-22 07:35:05 +00:00
Hidetoshi Shimokawa
cfa42d3692
Add '0x' in front of EUI64 to avoid confusion.
2003-10-22 07:23:27 +00:00
Poul-Henning Kamp
43bff1a7ab
Forgotten commit: If a provider has zero sectorsize, it is an
...
indication of lack of media.
Tripped up: peter
2003-10-22 06:32:20 +00:00
Sam Leffler
04e22a026d
terminate the rx descriptor list with a self-linked entry
...
so high phy error rates on a 5212 don't cause rx overruns
2003-10-22 04:37:34 +00:00
Alan Cox
d3c09dd7db
- Assert that every page found in the active queue is an active page.
2003-10-22 03:08:24 +00:00
Simon L. B. Nielsen
923959c28f
Reflect the fact that fxtv is now found in ports/multimedia/fxtv.
...
PR: docs/58355
Submitted by: Simon Barner <barner@in.tum.de>
2003-10-21 23:36:46 +00:00
Matt Jacob
081a1c2536
Turn off ISP_SMPLOCK- not to be turned on again.
...
Until we can have perfect knowledge that all callers above us think it's okay
for us to sleep, releasing *our* locks of course, we don't dare try and sleep.
2003-10-21 21:52:23 +00:00
Hajimu UMEMOTO
d24cb2490d
stop use of NI_WITHSCOPEID. it was deprecated.
...
Obtained from: KAME
2003-10-21 20:11:47 +00:00
Hajimu UMEMOTO
9a4f9608ad
- change scope to zone.
...
- change node-local to interface-local.
- better error handling of address-to-scope mapping.
- use in6_clearscope().
Obtained from: KAME
2003-10-21 20:05:32 +00:00
Sergei Kolobov
8ffdadcf4a
Add myself.
...
Approved by: krion (mentor)
2003-10-21 19:56:23 +00:00
Alan Cox
0d42c05ff4
- Assert that the containing vm object is locked in
...
vm_page_set_validclean(). (This function reads and modifies the
vm page's valid field, which is synchronized by the lock on the
containing vm object.)
2003-10-21 19:36:51 +00:00
Hiroki Sato
bbda0368ba
Merge the following from the English version:
...
1.183 -> 1.184 hardware/common/dev.sgml
1.640 -> 1.644 relnotes/common/new.sgml
2003-10-21 19:29:10 +00:00
Søren Schmidt
4788059c5e
Properly unload the DMA SG list on errors.
2003-10-21 19:25:20 +00:00
Søren Schmidt
80344be509
Fix the DMA problem that most severely hit on the DS3112a SATA chip
...
in connection with Marvell based SATA->PATA dongles.
The problem was caused by a combination of things working
together to make it hard to spot...
The ATA driver has always started the ATA command, then build
the SG list for DMA and then finally started the DMA engine.
While this is according to specs, it poses a potential
problem as some controllers apparently do not allow for unlimitted
time between starting the ATA command and starting the DMA engine.
At about the same time as ATAng was committed there were lots
of other changes applied, some of which was locking in parts
that causes the busdma load functions to take significantly
longer to load the SG list.
This pushed the time spent between starting the ATA command and
starting the DMA engine over the hill for some controllers
(especially the Silicon Image DS3112a) and caused what looked
like lost interrupts.
The solution is to get all the SG list work or rather all
busdma related stuff done before we even try to start anything.
This has the nice side effect of seperating busdma out the
way it should be, so the working of the ATA machinery is not
cluttered up with busdma droppings, making the code easier
to read and understand.
2003-10-21 19:20:37 +00:00
Warner Losh
4d59cc852d
Modernize examples/usage. Kill 1200/300 baud modem entries and
...
instead use 14.4kbps and faster modems as examples. Separate line
speed and baud rate and be careful when talking of one verses the
other.
2003-10-21 19:15:29 +00:00
Mike Silbersack
d108e6633b
Wrap a long line in the previous commit
...
Suggested by: njl
2003-10-21 18:48:49 +00:00
Mike Silbersack
184dcdc7c8
Change all SYSCTLS which are readonly and have a related TUNABLE
...
from CTLFLAG_RD to CTLFLAG_RDTUN so that sysctl(8) can provide
more useful error messages.
2003-10-21 18:28:36 +00:00
Mike Silbersack
9b4b73b7ba
Have sysctl print out a more useful error message when it detects that the
...
user has attempted to write to a read only, tunable value.
2003-10-21 16:49:30 +00:00
Mike Silbersack
bd6fb64bb3
Add another sysctl flag, CTLFLAG_TUN, which is a hint to the userland
...
sysctl that a given variable is tunable.
Also added is CTLFLAG_RDTUN, which is CTLFLAG_RD|CTLFLAG_TUN; TUN does
not always imply read-only, so RDTUN should be used where RD was used
before.
2003-10-21 16:48:33 +00:00
Robert Watson
aa6a0037e2
Line-break sync to the MAC development branch.
2003-10-21 15:18:26 +00:00
Hidetoshi Shimokawa
a44ca4f05f
We need to initialize bp->b_offset and bp->b_iooffset
...
becuase bp->b_blkno is ignored now.
2003-10-21 13:18:19 +00:00
Tim J. Robbins
1d2d5501f9
Reject negative ngrp arguments in linux_setgroups() and linux_setgroups16();
...
stops users being able to cause setgroups to clobber the kernel stack by
copying in data past the end of the linux_gidset array.
2003-10-21 11:00:33 +00:00
Søren Schmidt
c3093074c4
Up the alignment requirement of the SC1100 to 16 bytes, it has all the bugs and then some of its Cyrix inheritance.
...
Set the max_iosize for the Cyrix to 63K as the SC1100.
2003-10-21 08:53:29 +00:00
Poul-Henning Kamp
3206e56993
Remove clause 3 in the copyrights (according to permission in src/COPYRIGHT)
...
Remove trailing whitespace.
2003-10-21 08:27:05 +00:00
Poul-Henning Kamp
4d169ae131
Remove "register" keywords.
...
Use newspeak functions definitions.
2003-10-21 07:58:52 +00:00
Scott Long
bd781a1ed6
Don peril-sensitive sunglasses and mark pipe(2) as MPSAFE. I've beaten up
...
on it for the last 15 hours with no signs of problems. It gives a small
(1%) gain on buildworld since pipe_read/pipe_write are already free of Giant.
2003-10-21 07:03:27 +00:00
Poul-Henning Kamp
dcab544783
Retire bio_caller2 (alias for b_io.bio_caller2), this field is reserved
...
for dev_strategy() use.
Retire bio_driver[12] (aliases for b_io.bio_driver[12]) these fields are
reserved for device driver use and can as such never have any interest
in the buf end of things.
2003-10-21 06:58:58 +00:00
Poul-Henning Kamp
68b00bf648
Remove KASSERTS on B_PHYS for vmapbuf() and vunmapbuf(), B_PHYS is going
...
away.
2003-10-21 06:53:10 +00:00
Warner Losh
e3a7fe7a9e
baud rate and bit rate were horribly confused in this document. Baud
...
rate is how fast modems exchange symbols. Bit rate is how many bits
per second the serial port nominally communicates at. Try to use bit
rate consistently where that's what is ment. The default data rate is
now 9600 baud. 300 baud being default pre-dates 4.4-LITE1. Document
that tip doesn't respect the system default rate for a given channel.
Sorry guys, but no ucbvax, kremvax or kgbvax added to the example.
Noted by: bde
2003-10-21 03:22:49 +00:00
Marcel Moolenaar
9ee99eb496
Remove md_bspstore from the MD fields of struct thread. Now that
...
the backing store is at a fixed address, there's no need for a
per-thread variable.
2003-10-21 01:13:49 +00:00
Poul-Henning Kamp
b6f0aad2fb
Addition.
2003-10-20 21:22:41 +00:00
Sam Leffler
6c24056459
revert default for idle polling to zero until we can resolve the
...
livelock problem
2003-10-20 21:14:24 +00:00
Poul-Henning Kamp
f46a0535ef
When a numeric field overflows its width, try formatting the number in
...
'kilo' or 'mega' with appropriate suffix instead of filling the field
with stars.
2003-10-20 20:13:50 +00:00
Jeff Roberson
484288de56
- If a thread is not bound to a kse return 0 from sched_pctcpu().
...
Reported by: pawel.worach@nordea.com
2003-10-20 19:55:21 +00:00
Gregory Sutter
b361bd542c
Spelling, grammar fixes.
...
Reviewed by: imp
2003-10-20 19:17:15 +00:00
Alan Cox
fee181a696
- Remove some long unused code.
2003-10-20 18:57:01 +00:00
Alan Cox
f2b1200d08
Initialize the buf's b_object in pbgetvp(). Clear it in pbrelvp(). (This
...
facilitates synchronization of the vm page's valid field using the
vm object's lock.)
Suggested by: tegge
2003-10-20 18:24:38 +00:00
Sam Leffler
62a531a702
fix build: linux_to_bsd_msf_lba is no longer used because of previous commit
2003-10-20 17:56:10 +00:00
Hajimu UMEMOTO
b339980338
enclose IPv6 part with ifdef INET6.
...
Obtained from: KAME
2003-10-20 16:19:01 +00:00
David Malone
111b0d0d29
Mark dup as MPSAFE. Giant was pushed into dup ages ago, but it looks
...
like it was missed in syscalls.master.
Spotted by: alc
2003-10-20 16:16:03 +00:00
Hajimu UMEMOTO
31b3783c8d
correct linkmtu handling.
...
Obtained from: KAME
2003-10-20 15:27:48 +00:00
Bruce A. Mah
c3af6250d0
Fix typo: s/dev_db/dev_mkdb/
...
Pointed out by: Michel Lavondes <fox@vader.aacc.cc.md.us>
2003-10-20 15:17:44 +00:00
Poul-Henning Kamp
8b285b9088
Remember to check the DE_WHITEOUT flag in the case where a cloned
...
device is hidden by a devfs(8) rule.
Spotted by: Adam Nowacki <ptnowak@bsk.vectranet.pl>
2003-10-20 15:08:10 +00:00
Søren Schmidt
a89ec7140f
If just gcc could make up its mind...
2003-10-20 14:28:37 +00:00
Diomidis Spinellis
aefcc0fcac
Bring the description of st_[cma]time modification conditions a bit
...
closer to reality. More work remains to be done. st_mtime should
be the most complete based on IEEE Std 1003.1, 2003 Edition, a
review of ufs_vnops.c, and some experimentation.
2003-10-20 13:52:22 +00:00
Søren Schmidt
2e7deb2b86
Only return valid DMA error bits.
2003-10-20 13:45:11 +00:00
Søren Schmidt
5b2b2eba16
Up delay from 10 to 100ms after reset, this helps some slow devices
...
get their act together before we start probing.
2003-10-20 13:44:33 +00:00
Søren Schmidt
87efd6d017
Only announce ECC errors when its only that.
2003-10-20 13:32:42 +00:00