iedowse
2d507f0adf
Terminate requests in nfs_sigintr() if the filesystem is in the
...
process of being unmounted. This allows forced NFS unmounts to
complete even if there are processes stuck holding the mnt_lock
while the server is down. The mechanism is not ideal in that there
is a small chance we might accidentally cancel requests during a
failed non-forced unmount attempt on that filesystem, but this
is not really a big problem.
Also, move the tsleep() in nfs_nmcancelreqs() so that we do not
sleep in the case where there are no requests to be cancelled.
2002-01-10 02:15:35 +00:00
iedowse
83b07d10e7
Change dounmount() to return EBUSY in the non-MNT_FORCE case if we
...
can't acquire the mnt_lock without blocking. Normally non-forced
unmount attempts return EBUSY quickly if any vnodes are active, so
this just extends that behaviour to cover the per-mount mnt_lock
too.
2002-01-10 01:59:30 +00:00
rwatson
9f1ff731e4
o Revert kern_sig.c#1.143, as cr_cansignal() doesn't currently permit
...
a number of desirable cases in which SIGIO/SIGURG are delivered. We'll
keep tweaking.
Reported by: Alexander Kabaev <ak03@gte.com>
2002-01-10 01:25:35 +00:00
mdodd
2fc9c4563a
Implement 2 small helper functions:
...
pci_find_bsf() - Find a device_t by bus/slot/function.
pci_find_device() - Find a device_t by vendor/device ID.
2002-01-10 00:56:02 +00:00
msmith
caa458225b
Staticise the random_state array.
...
Reviewed by: markm
2002-01-10 00:09:21 +00:00
peter
fd8206d571
Remove KMODDEPS, this is not used on -current and should not be left
...
around as a bad example.
2002-01-09 21:12:40 +00:00
takawata
bd6e81c0c6
Fix S3 breakage.
...
Now AcpiEnterSleep() is light enough, so flushing cache
before the function is not too early.
2002-01-09 16:00:31 +00:00
iedowse
ae08498603
Increase BSIZEMAX from 8k to 16k, so that we can reliably boot from
...
filesystems with 16k blocks.
2002-01-09 15:46:17 +00:00
sheldonh
16529aa856
Use KMODDEPS to document module dependencies on libiconv and
...
libmchain.
KMODDEPS seems to be a no-op in HEAD, but is required in RELENG_4,
where MODULE_DEPEND seems to be a no-op.
Therefore, this change is harmless in -CURRENT, but will fix the
dependencies when merged to RELENG_4, where they are currently not
registered!
PR: kern/33625
Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
2002-01-09 11:45:58 +00:00
kbyanc
779fa7fcc3
Replace spaces after #defines with tabs; this makes all #defines
...
consistent in their adherence with style(9).
2002-01-09 07:29:28 +00:00
alc
13725ff1d5
o Correct a 32/64-bit error in the initialization of aiol_zone, specifically,
...
sizeof(int) is not the size of a pointer.
2002-01-09 06:40:45 +00:00
msmith
c2656ac96b
Add a new sysinit SI_SUB_DEVFS. Devfs hooks into the kernel at SI_ORDER_FIRST,
...
and devices can be created anytime after that.
Print a warning if an atttempt is made to create a device too early.
2002-01-09 04:58:49 +00:00
silby
c5438df911
GC fast_vfork; it's not actually referenced anywhere.
...
MFC after: 3 weeks
2002-01-09 04:51:21 +00:00
jake
fe9fbb7b3c
Move the make_dev call from the cn_probe to a sysinit that runs at
...
SI_SUB_DRIVERS. cnprobe is too early.
2002-01-09 04:03:55 +00:00
msmith
6d5a228d7f
Define the kern.cam sysctl in the cam layer, rather than multiply in several
...
peripheral drivers. Remove Ken's comment to the effect that this needed
to be done.
Staticise camnet_ih and cambio_ih.
2002-01-09 03:39:04 +00:00
msmith
5cfc4a9df0
Staticise a debugging variable.
...
Submitted by: non
2002-01-09 03:37:16 +00:00
msmith
d41e8aa9b7
Staticise the aac devclass.
2002-01-09 03:32:40 +00:00
alfred
4b04cada93
holdsock is gone, remove the prototype
2002-01-09 03:08:47 +00:00
alfred
11d426818d
Sockets are called 'so' not 'sp'.
2002-01-09 02:47:00 +00:00
silby
4c0cf8914c
Revert 1.81; 1.19 fixed this already in a different way.
2002-01-09 01:45:17 +00:00
msmith
299ff2a776
Use a sysinit to initialise the devfs hooks in kern_conf.c rather than common
...
variables.
Reviewed by: phk (in principle)
2002-01-09 01:00:20 +00:00
sobomax
b741551a21
Add quirk for DIVA USB Mp3 Player.
...
PR: kern/33638
Submitted by: Olexander Kunytsa <kunia@x-telecom.net>
MFC after: 3 days
(pending re's approval)
2002-01-08 21:07:46 +00:00
imp
c289a894f7
Regenerate from 1.26 pccarddevs
2002-01-08 20:52:57 +00:00
imp
56b014505e
Catch up to NetBSD:
...
1.156 pooka; Socket Low-Power CF WLAN
1.155 ichiro; IBM Smart Capture Card II
1.152-154 ichiro; Fujitsu CF EtherCard and FMV-181,182,182A
1.151 christos; Symbol Spectrum24
2002-01-08 20:52:23 +00:00
fjoe
2053aff54e
- generic Arcnet framework
...
- device driver for SMC COM90cx6 Arcnet network adapters
Obtained from: NetBSD
2002-01-08 20:03:13 +00:00
msmith
7f06d73491
Rename some variables that end up shadowing their namesakes in the NFS client
...
code.
Reviewed by: peter
2002-01-08 19:41:06 +00:00
msmith
cb52de758f
Staticise a couple of debugging variables.
2002-01-08 19:37:12 +00:00
msmith
2666545aeb
Rename a variable that might accidentally be duplicated elsewhere.
2002-01-08 19:36:54 +00:00
msmith
2e4f2ddc4e
Avoid doubly defining machdep.pccard
2002-01-08 19:35:27 +00:00
msmith
2ea851671c
Staticise the coda vfsop pointer.
2002-01-08 19:33:51 +00:00
msmith
6fa204fd80
Initialise the bioops vector hack at runtime rather than at link time. This
...
avoids the use of common variables.
Reviewed by: mckusick
2002-01-08 19:32:18 +00:00
msmith
40b38b35ec
find_devclass -> devclass_find.
2002-01-08 19:14:59 +00:00
imp
86d5a7e1dd
Revert change that breaks the joy module. joydevclass must not be static.
2002-01-08 18:27:49 +00:00
tmm
8418dee397
Add upa.h, which I had previously forgotten, to unbreak the sparc64
...
kernel build.
Pointy hat to: tmm
2002-01-08 16:25:51 +00:00
msmith
bc66986ff8
Staticise pfs_vncache, it's not used anywhere else.
...
Reviewed by: des
2002-01-08 11:15:57 +00:00
msmith
ea9c5a8d4c
Initialise the intrq_present fields at runtime, not link time. This allows
...
us to load protocols at runtime, and avoids the use of common variables.
Also fix the ip6_intrq assignment so that it works at all.
2002-01-08 10:34:03 +00:00
joe
825021e8a0
Staticise a couple of things that shouldn't be leaked into the
...
kernel namespace.
Submitted by: msmith
2002-01-08 10:32:33 +00:00
msmith
2b4f430bb7
Staticise the fw chain.
2002-01-08 10:30:55 +00:00
msmith
19aab9d410
Staticise the socket list.
2002-01-08 10:30:34 +00:00
msmith
e814937e0b
Staticise private interface lists.
2002-01-08 10:30:09 +00:00
msmith
c2a5e58c01
Gut this header; since physio_proc_init is never called, the code never does
...
anything more than multiply declare some unused variables.
2002-01-08 10:26:44 +00:00
msmith
a456a9e083
Staticise the flash buffer, since it isn't needed anywhere else.
2002-01-08 10:25:12 +00:00
msmith
7ff97afb06
Staticise the con_bios and digi_devclass variables, since they aren't needed
...
by anything else.
2002-01-08 10:24:34 +00:00
msmith
02828a5597
Staticise the device node pointers.
2002-01-08 06:50:17 +00:00
msmith
4dc53ad8f8
Staticise the joy devclass.
2002-01-08 06:49:06 +00:00
msmith
e6a5f9545c
Fix a couple of bogus enums.
2002-01-08 06:47:55 +00:00
msmith
e868bf2df8
Staticise the amr devclass.
2002-01-08 06:47:02 +00:00
msmith
a855b09ad9
Staticise devclasses and some unnecessarily global variables.
2002-01-08 06:46:01 +00:00
jake
c8fe4def6b
Connect smp support to the kernel build.
2002-01-08 05:55:46 +00:00
jake
9304ac0dfd
Catch up to the latest and greatest.
2002-01-08 05:53:31 +00:00