Poul-Henning Kamp
cf5e414960
Put back the vfs_object_create() calls, they do make a difference when
...
my test-setup does what I want it to instead of what I ask it to.
Pointed out by: tegge
2004-11-12 10:27:14 +00:00
Warner Losh
8280421a43
Doh! This one crept in two commits ago and didn't get weeded out on
...
the last commit. Sorry gang.
Conical Hat: imp
2004-11-12 04:48:24 +00:00
Ian Dowse
b044e17063
Put back usb_uncallout_drain(), as it is now also used by umass.c.
2004-11-12 03:24:12 +00:00
Ian Dowse
85b8134e51
Back out my recent changes for timeout races, as there have been
...
reports of problems. The bug is probably that there are cases where
`xfer->timeout && !sc->sc_bus.use_polling' is not a suitable test
for an active timeout callout, so an explicit flag will be necessary.
Apologies for the breakage.
2004-11-12 02:57:35 +00:00
Warner Losh
0d85601316
Various whitespace nits.
...
Noticed by: njl
2004-11-12 02:18:42 +00:00
Warner Losh
4e08cdc5f5
Don't use aha after calling aha_free.
2004-11-12 00:46:52 +00:00
Warner Losh
1fd4bb62ef
PORTS_MODULES: a list of ports to build with this kernel.
...
# I directly use the targets for building this, but it was suggested
# to use portupgrade. I couldn't fit that into the target model, so I
# punted.
2004-11-11 23:58:14 +00:00
Warner Losh
53f8cdd88e
Kill the 802.11 crypo changes that shouldn't have been committed.
...
Noticed by: phillip@
2004-11-11 23:30:03 +00:00
Warner Losh
dbacb6c44d
Commit takawata-san's Sony Notebook Controller driver, integrated into
...
the tree. Small tweaks were made by myself to eliminate unnecessary
includes and some other minor issues. Last time I asked takawata-san
about this driver, he suggested I commit it.
Submitted by: takawata
2004-11-11 22:54:58 +00:00
John Baldwin
57621b8b35
- Place the gcc memory barrier hint in the right place in the 80386 version
...
of atomic_store_rel().
- Use the 80386 versions of atomic_load_acq() and atomic_store_rel() that
do not use serializing instructions on all UP kernels since a UP machine
does need to synchronize with other CPUs. This trims lots of cycles from
spin locks on UP kernels among other things.
Benchmarked by: rwatson
2004-11-11 22:42:25 +00:00
John Baldwin
20447d54c4
Only warn about missing _PRT tables if bootverbose is set. I've yet to see
...
a bridge without a _PRT were a _PRT was needed. Instead, the warning in
dmesg is a false warning and only serves to cause unnecessary concern.
MFC after: 1 week
2004-11-11 22:33:08 +00:00
Robert Watson
29af382686
Correct a bug in nfsrv_create() where a call to nfsrv_access() might
...
be made holding the NFS server mutex. To clean this up, introduce a
version of the function, nfsrv_access_withgiant(), that expects the
NFS server mutex to already have been dropped and Giant acquired.
Wrap nfsrv_access() around this. This permits callers to more
efficiently check access if they're in a code block performing VFS
operations, and can be substitited for the nfsrv_access() call that
triggered this bug.
PR: 73807, 73208
MFC after: 1 week
2004-11-11 21:30:52 +00:00
Jeff Roberson
3ba5c2faab
- Temporarily disable the nice -20 throttling code. It has some interaction
...
with APM that I do not understand yet.
Reported & Tested by: glebius
2004-11-11 19:48:57 +00:00
Gleb Smirnoff
350bc1206a
- Introduce protosw_init().
...
- Utilize it in net_init_domain().
- Utilize it pf_proto_register(), fixing panic on
natd start.
Reviewed by: ru, phk, obrien
2004-11-11 19:19:54 +00:00
David E. O'Brien
154eb44539
Catch up with the header repo copy.
2004-11-11 19:14:09 +00:00
Poul-Henning Kamp
e21e4c19c9
Add missing '='
...
Spotted by: obrien
2004-11-11 19:02:01 +00:00
Dag-Erling Smørgrav
611f86ee5f
Unbreak the build.
...
Pointy hat to: bms
2004-11-11 19:00:51 +00:00
Diomidis Spinellis
a04b2130a0
Return POLLERR rather than POLLIN/POLLOUT on TS_ZOMBIE ttys.
...
PR: kern/73821
MFC after: 4 weeks
2004-11-11 16:10:54 +00:00
Bruce M Simpson
a1d77c4e01
Remove now-unused sysctl members.
2004-11-11 15:33:40 +00:00
Bruce M Simpson
97fa91743c
Move per-instance sysctls under the per-device-instance tree.
...
Reviewed by: mux
Prodded by: rwatson
2004-11-11 15:31:38 +00:00
Ruslan Ermilov
cf7190f2ea
Fix build.
...
Submitted by: Taku YAMAMOTO
2004-11-11 13:01:13 +00:00
Warner Losh
c8c8f27a5d
pbio has moved to dev/pbio
...
Prodded by: peter
2004-11-11 04:53:46 +00:00
Christian Brueffer
1f606ecd84
Add device polling support
...
Original patch by me, improvements by ru
Happy birthday to: BSDforen.de!
Approved by: ru
MFC after: 2 weeks
2004-11-10 23:04:39 +00:00
Olivier Houchard
ef7d17237a
Don't forget to include opt_vm.h.
2004-11-10 22:11:08 +00:00
Olivier Houchard
9aeab9eabe
Convert the IQ31244 code to use ARM32_NEW_VM_LAYOUT.
2004-11-10 22:09:39 +00:00
Olivier Houchard
c6cc6da44f
Add a new option, ARM32_NEW_VM_LAYOUT. When set, we try to put up to 4
...
L2 tables in one page, instead of the old 1 L2 table <=> 1 page behavior.
While I'm there, add ARM9_CACHE_WRITE_THROUGH, which I forgot last time.
2004-11-10 22:08:27 +00:00
Olivier Houchard
b599237edb
Invalidate the data cache in pmap_qremove() instead of in pmap_kenter(),
...
and in pmap_enter_quick() instead of pmap_enter().
2004-11-10 21:46:04 +00:00
Mark Murray
c9472fb2c6
Remove at request of author, perhaps to be re-added later.
2004-11-10 19:54:18 +00:00
Tom Rhodes
4fc173317b
Remove files repocopied to sys/sparc64/sbus.
2004-11-10 14:11:10 +00:00
Tom Rhodes
acad338196
Fix paths after repocopies done by scottl
...
Reviewed by: marius
OK'ed by: scottl
2004-11-10 14:09:52 +00:00
Yoshihiro Takahashi
fea82a173b
Fix build error with ED_DEBUG.
...
PR: kern/72753
2004-11-10 13:16:12 +00:00
Yoshihiro Takahashi
79961ebfcb
cosmetic changes.
2004-11-10 12:28:06 +00:00
Yoshihiro Takahashi
2fc297fbd7
MFi386: revision 1.1170
2004-11-10 12:24:30 +00:00
Gleb Smirnoff
81755e6eb6
Add myself to copyright.
...
Approved by: marks
2004-11-10 11:18:05 +00:00
Poul-Henning Kamp
b6eb669970
remove unused variable
2004-11-10 09:56:28 +00:00
Poul-Henning Kamp
c2597f2ddb
Remove hack which mounts the root filesystem R/W if the device is
...
named 'md<something>'. While convenient, it does not belong here,
if anywhere at all.
2004-11-10 07:36:09 +00:00
Poul-Henning Kamp
c5b846fe8e
Slim vnodes by another four bytes by eliminating the (now) unused field
...
v_cachedid.
2004-11-10 07:31:06 +00:00
Poul-Henning Kamp
7689860fd5
Pick up the inode number using VOP_GETATTR() rather than caching it
...
in all vnodes on the off chance that linprocfs needs it. If we can afford
to call vn_fullpath() we can afford the much cheaper VOP_GETATTR().
2004-11-10 07:25:37 +00:00
Poul-Henning Kamp
c13a4e8820
Remove vn_todev()
2004-11-10 07:17:28 +00:00
Poul-Henning Kamp
38bb5ccdfd
Don't use vn_todev().
2004-11-10 07:16:59 +00:00
Poul-Henning Kamp
40ce27cb57
fix some comments
2004-11-10 06:53:31 +00:00
Hidetoshi Shimokawa
0fd466727c
Fix malloc type in free().
2004-11-10 06:21:47 +00:00
Julian Elischer
15b0a9c8f7
Add record capability.
...
Submitted by: Taku Yamamoto (original author)
2004-11-10 04:29:09 +00:00
Scott Long
48ad03b872
MFi386 rev 1.63-1.64:
...
Use tag-specific pools of bounce pages instead of a single global pool.
2004-11-10 03:49:24 +00:00
Tom Rhodes
adcb844412
Remove __P here too.
...
Ok'ed by: cognet
2004-11-10 01:33:42 +00:00
Warner Losh
d79af75b74
Learn that 'b' comes before 'e' in ISO-LATIN-1
2004-11-10 00:54:18 +00:00
Ian Dowse
a5158af81f
Keep a handle on the startup rescan timer and cancel the timer if
...
the device goes away.
2004-11-10 00:48:22 +00:00
Warner Losh
4ae6f4a64e
Make pci_do_powerstate default to 1 now that we've done the release to
...
get more testing. This should help things a little.
2004-11-10 00:41:39 +00:00
Warner Losh
053a2b550f
Tweaks to the resource allocation to allow a few of my obscure
...
cdrom/ata controller PC Card devices work better.
2004-11-10 00:33:05 +00:00
Warner Losh
889e265c72
Sort function names.
2004-11-10 00:07:09 +00:00