Robert Watson
2b87b6d4f4
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
Matthew N. Dodd
ced8202c20
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
Mike Smith
5390e1bc8f
Staticise the random_state array.
...
Reviewed by: markm
2002-01-10 00:09:21 +00:00
Peter Wemm
72511ed13a
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
Takanori Watanabe
89b8315762
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
Ian Dowse
7e9c85d4ce
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
Sheldon Hearn
b1c7da31f2
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
Kelly Yancey
2bbe1e9d6c
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
Alan Cox
7d17bbd0e6
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
Mike Smith
a7489fe56f
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
Mike Silbersack
fdba8cf430
GC fast_vfork; it's not actually referenced anywhere.
...
MFC after: 3 weeks
2002-01-09 04:51:21 +00:00
Jake Burkholder
47a1c91514
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
Mike Smith
65c382562e
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
Mike Smith
1e050d0ca5
Staticise a debugging variable.
...
Submitted by: non
2002-01-09 03:37:16 +00:00
Mike Smith
e45bef2aa9
Staticise the aac devclass.
2002-01-09 03:32:40 +00:00
Alfred Perlstein
47927c198b
holdsock is gone, remove the prototype
2002-01-09 03:08:47 +00:00
Alfred Perlstein
078a4e8939
Sockets are called 'so' not 'sp'.
2002-01-09 02:47:00 +00:00
Mike Silbersack
9f5193ca0b
Revert 1.81; 1.19 fixed this already in a different way.
2002-01-09 01:45:17 +00:00
Mike Smith
92fef27d97
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
Maxim Sobolev
1fc3a4a25d
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
Warner Losh
7be18016b5
Regenerate from 1.26 pccarddevs
2002-01-08 20:52:57 +00:00
Warner Losh
e5c51b0548
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
Max Khon
eda6ecb22a
- generic Arcnet framework
...
- device driver for SMC COM90cx6 Arcnet network adapters
Obtained from: NetBSD
2002-01-08 20:03:13 +00:00
Mike Smith
b3a39c8ae2
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
Mike Smith
1dd003ecf4
Staticise a couple of debugging variables.
2002-01-08 19:37:12 +00:00
Mike Smith
8265abbd64
Rename a variable that might accidentally be duplicated elsewhere.
2002-01-08 19:36:54 +00:00
Mike Smith
1ea155bafa
Avoid doubly defining machdep.pccard
2002-01-08 19:35:27 +00:00
Mike Smith
eeff042fb3
Staticise the coda vfsop pointer.
2002-01-08 19:33:51 +00:00
Mike Smith
b9a4338d29
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
Mike Smith
b6b6d662bc
find_devclass -> devclass_find.
2002-01-08 19:14:59 +00:00
Warner Losh
94663a748c
Revert change that breaks the joy module. joydevclass must not be static.
2002-01-08 18:27:49 +00:00
Thomas Moestl
d7ff50a055
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
Mike Smith
7577116e1e
Staticise pfs_vncache, it's not used anywhere else.
...
Reviewed by: des
2002-01-08 11:15:57 +00:00
Mike Smith
bedbd47e6a
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
Josef Karthauser
46c8c4207d
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
Mike Smith
ba9613cd9b
Staticise the fw chain.
2002-01-08 10:30:55 +00:00
Mike Smith
b78929a257
Staticise the socket list.
2002-01-08 10:30:34 +00:00
Mike Smith
e8783c4d6b
Staticise private interface lists.
2002-01-08 10:30:09 +00:00
Mike Smith
0f04c2b207
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
Mike Smith
fe5d4a9fac
Staticise the flash buffer, since it isn't needed anywhere else.
2002-01-08 10:25:12 +00:00
Mike Smith
172f13eb36
Staticise the con_bios and digi_devclass variables, since they aren't needed
...
by anything else.
2002-01-08 10:24:34 +00:00
Mike Smith
5b48f71694
Staticise the device node pointers.
2002-01-08 06:50:17 +00:00
Mike Smith
489da1e76a
Staticise the joy devclass.
2002-01-08 06:49:06 +00:00
Mike Smith
4ce44e2302
Fix a couple of bogus enums.
2002-01-08 06:47:55 +00:00
Mike Smith
21550f28f8
Staticise the amr devclass.
2002-01-08 06:47:02 +00:00
Mike Smith
3273b00523
Staticise devclasses and some unnecessarily global variables.
2002-01-08 06:46:01 +00:00
Jake Burkholder
0f6f526c97
Connect smp support to the kernel build.
2002-01-08 05:55:46 +00:00
Jake Burkholder
8e4609db35
Catch up to the latest and greatest.
2002-01-08 05:53:31 +00:00
Jake Burkholder
6deb695c1d
Add initial smp support. This gets as far as allowing the secondary
...
cpu(s) into the kernel, and sync-ing them up to "kernel" mode so we can
send them ipis, which also work.
Thanks to John Baldwin for providing me with access to the hardware
that made this possible.
Parts obtained from: bsd/os
2002-01-08 05:50:26 +00:00
Jake Burkholder
33bcea4eff
Setup the normal global pcb register as well on entry from user land.
...
Call critical_enter/critical_exit around (fast) interrupt handlers. All
non-threaded interrupts are fast, and the threaded interrupt scheduler is
itself a fast interrupt.
Assert that an interrupt handler we are about to call is non-zero.
Be paranoid about restoring the users global registers. Do it as the
last thing before switching to alternate globals (when we magically get
our preloaded registers back), and do it with interrupts disabled. Any
kind of kernel trap when the globals are not setup properly is bad news.
Don't save and restore the kernel g6, it invariably points to the current
pcb now.
2002-01-08 05:37:52 +00:00