imp
91f5d2caf5
Make sn MPSAFE. This has survived a couple of make buildworlds with
...
my Megahertz XJ10BT.
2003-10-26 22:35:44 +00:00
imp
33cc34743e
Pass sc to GO_WINDOW macro.
...
Use SET_IRQ for pccard case, rather than exapnding it inline.
Requested by: mdodd
2003-10-26 22:28:20 +00:00
imp
926420ae44
Sync to pccarddevs 1.76
2003-10-26 22:24:01 +00:00
imp
9fccc74128
Add Olicom GoCard 28.8k version
2003-10-26 22:22:34 +00:00
imp
5cdfd9a372
Sync to 1.75 of pccarddevs
2003-10-26 20:09:57 +00:00
imp
2ebce6f2f6
Minor tweak to Olicom 2220. Also add the OC-2232 while I'm here.
...
Looks like 'special magic' is needed to access the ethernet part of
that combo card, so I've not added it to ex.
2003-10-26 20:09:18 +00:00
alc
9d9dedf30b
- Introduce and use a mutex synchronizing access to the swblock hash table.
2003-10-26 19:55:35 +00:00
ume
ecb479d77a
re-add wrongly disappered IPV6_CHECKSUM stuff by introducing
...
ip6_raw_ctloutput().
Obtained from: KAME
2003-10-26 18:17:01 +00:00
ume
4337476eb4
drop unused defines.
2003-10-26 15:15:36 +00:00
ume
dfe92b1d1c
drop unused fields.
2003-10-26 15:06:06 +00:00
ume
3481896a41
use official # for IFT_STF
...
(are there any backward compat issue? i don't think so)
Obtained from: KAME
2003-10-26 14:29:04 +00:00
ume
a06a59838e
use uint32_t instead of u_int32_t for newly introduced
...
struct definition.
2003-10-26 10:49:18 +00:00
simokawa
bfe7963038
Revert previous change.
...
We have to put dcons_crom at first after 'optional' and
dcons and firewire are necessary and not optional for dcons_crom anyway.
Reported by: brooks
2003-10-26 07:42:32 +00:00
imp
9684781dda
add newcard support to ex
2003-10-26 06:34:22 +00:00
imp
27777fa56f
Sync to pccarddevs 1.74
2003-10-26 06:32:50 +00:00
imp
253d04949e
Add ID for olicom GOCARD Ethernet (OC2220)
2003-10-26 06:31:46 +00:00
alc
dd1d2bd790
- Simplify vm_object_collapse()'s collapse case, reducing the number
...
of lock acquires and releases performed.
- Move an assertion from vm_object_collapse() to vm_object_zdtor()
because it applies to all cases of object destruction.
2003-10-26 06:29:26 +00:00
imp
2005ad145d
Style changes:
...
o kill register
o minor function name tweaks.
2003-10-26 05:34:01 +00:00
alfred
bc96d82ac8
constify bintime_add, bintime_sub, bintime2timespec, timespec2bintime,
...
bintime2timeval and timeval2bintime.
2003-10-26 02:38:34 +00:00
alfred
4ba4eee48e
constify the second args to timevaladd() and timevalsub().
2003-10-26 02:19:00 +00:00
imp
7a210cb6a4
Const poison string accessor functions.
2003-10-26 00:51:40 +00:00
alc
23a376f078
- Add some of the required vm object locking, including assertions where
...
the vm object lock is required and already held.
2003-10-25 23:42:17 +00:00
imp
a499536827
Minor style nits suggested by sam and mdodd:
...
o give an argument to EP_BUSY_WAIT
o use foo_locked rather than foo_body
o Add locking assertions for extra safety.
2003-10-25 21:28:40 +00:00
imp
08148c6afb
Convert to bus_space.
...
Make the pccard attachment work with NEWCARD
Start locking of the driver, but only the macros are defined right now
Tested on: Megahertz CC10BT/2
# (These cards are very popular on ebay these days, and run < $10 including
# shipping from some sellers).
2003-10-25 19:56:19 +00:00
peter
537239cace
For the SMP case, flush the TLB at the beginning of the page zero/copy
...
routines. Otherwise we run into trouble with speculative tlb preloads
on SMP systems. This effectively defeats Jeff's revision 1.438
optimization (for his pentium4-M laptop) in the SMP case. It breaks
other systems, particularly athlon-MP's.
2003-10-25 18:51:41 +00:00
alc
92470025a7
- Align a comment within struct vm_page.
...
- Annotate the vm_page's valid field as synchronized by the containing
vm object's lock.
2003-10-25 18:33:04 +00:00
rwatson
b43632b153
Check (locked) before performing an advisory unlock following a failure
...
of vn_start_write(). Otherwise, we may inconsistently attempt to release
the advisory lock.
Pointed out by: teggej
2003-10-25 16:43:50 +00:00
rwatson
e4935eb9ae
When generate a core dump, use advisory locking in an advisory way:
...
if we do acquire an advisory lock, great! We'll release it later.
However, if we fail to acquire a lock, we perform the coredump
anyway. This problem became particularly visible with NFS after
the introduction of rpc.lockd: if the lock manager isn't running,
then locking calls will fail, aborting the core dump (resulting in
a zero-byte dump file).
Reported by: Yogeshwar Shenoy <ynshenoy@alumni.cs.ucsb.edu>
2003-10-25 16:14:09 +00:00
rwatson
723804b261
Allow MAC policies to block/revoke kern_alq write access to a file.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Reviewed by: jeff
2003-10-25 16:10:41 +00:00
rwatson
2e83725f4a
Make MAC_EXTERNALIZE() and MAC_INTERNALIZE() simply take the object
...
type, rather than "object_label" as the first argument. This reduces
complexity a little for the consumer, and also makes it easier for
use to rename the underlying entry points in struct mac_policy_obj.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2003-10-25 15:28:20 +00:00
simokawa
e7ca1c4552
Fix fwmem_strategy() race in 4-stable.
2003-10-25 15:05:59 +00:00
simokawa
ff63cdda69
Move validity check of 'xfer->fc != NULL' to right place.
2003-10-25 15:04:49 +00:00
simokawa
f3f4733531
dcons_crom.c needs dcons and firewire.
2003-10-25 12:59:22 +00:00
ume
bbeee5f0f7
revert following unwanted changes:
...
- __packed to __attribute__((__packed__)
- uintN_t back to u_intN_t
Reported by: bde
2003-10-25 10:57:08 +00:00
ume
b3c1e80175
correct namespace pollution.
...
Submitted by: bde
2003-10-25 09:37:10 +00:00
alc
e444c5c4e4
- Call vnode_pager_input_old() with the vm object locked.
2003-10-25 05:21:16 +00:00
peter
133df7e75d
GC workaround code for detecting pentium4's and disabling PSE and PG_G.
...
It's been ifdef'ed out for ages.
2003-10-25 05:14:38 +00:00
njl
bcfcc4ec03
Add devctl(4) notify support to ACPI. Various subsystems now notify
...
userland whenever events occur. See the example in devd.conf below
to see how to use it.
2003-10-25 05:03:25 +00:00
imp
cdc83babef
Whole grab-bag of changes:
...
o Make the driver MPSAFE
o Some changes due to diff reduction effort with vx.
o Removed some obsolete junk.
Reviewed by: sam, modd
2003-10-25 04:09:49 +00:00
imp
7359197bf8
Start to minimize diffs between vx and ep. These latter is based on a
...
more advanced version of the chips supported by the former. Matt Dodd
and I are working towards merging them, and this a step on that path.
2003-10-25 04:05:33 +00:00
rwatson
973f5bee09
Sort type declarations together.
...
Remove an excess carriage return.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2003-10-25 03:50:44 +00:00
imp
a73d1ed688
Convenience functions to generate notifications from the kernel. The ACPI
...
code will start using these shortly.
Reviewed by: njl
2003-10-24 22:41:54 +00:00
ambrisko
b7ad6d8ec6
Add support for another multiple serial port card based on OX16PCI954 device
...
id 0x950a.
MFC: after 4.9 release.
2003-10-24 22:34:56 +00:00
anholt
2fd31354d9
Don't try to use dev->dma_lock unless dma is initialized (dev->dma != NULL)
...
in bufs_info sysctl handler. dev->dma and dev->dma_lock existence are
protected by DRM_LOCK(). Fixes panic on sysctl hw.dri when the device is
uninitialied (when you aren't in X).
2003-10-24 21:45:21 +00:00
jmg
abe50d83e6
don't allow reading from files that haven't been open'd for reading.
2003-10-24 21:07:53 +00:00
jhb
7d3a70bca2
- Add a DDB command 'show intrcnt' to show the non-zero interrupt counts.
...
- Add a DDB function to dump the contents of an ithread and optionally
details about each handler in that ithread. This function can be used
by MD code to implement DDB commands that display information about
interrupt sources and their registered handlers.
2003-10-24 21:05:30 +00:00
jhb
c22f9db53f
A few whitespace and comment tweaks.
2003-10-24 21:02:26 +00:00
jhb
590951621b
- Fail to probe if acpi0 probed ok as this driver basically tries to probe
...
the ACPI timer and we shouldn't do that if ACPI is already around to do
that for us.
- Set a description and tweak the order of checks in the probe function
to more closely match other PCI drivers.
This should probably be moved to sys/dev/piix/piix.c at some point and
turned on for all i386 kernels rather than just SMP ones.
2003-10-24 21:01:31 +00:00
ume
19c7c976c8
remove the ip6r0_addr and ip6r0_slmap members from ip6_rthdr0{}
...
according to rfc2292bis.
Obtained from: KAME
2003-10-24 20:37:05 +00:00
ume
38391a7834
correct tab and order.
2003-10-24 19:51:49 +00:00