Alan Cox
e1cb7bc081
Make vm_page_release_contig() static.
2006-09-03 22:24:08 +00:00
Marius Strobl
7d7ce7f24e
Do as the USII CPU manual suggests and leave interrupts enabled
...
for a bit before retrying to resend an IPI in order to avoid
deadlocks if the other CPU is also trying to send one.
OpenSolaris uses a delay of 1 microsecond here but waiting 2
microseconds with interrupts enabled like Linux does shouldn't
hurt but is a bit safer.
MFC after: 1 day
2006-09-03 21:20:21 +00:00
Robert Watson
e482025ebd
Regenerate.
2006-09-03 16:24:36 +00:00
Robert Watson
e8a6d7e554
Set freebsd32 system call event identifiers for:
...
- old truncate, ftruncate
- old getpeername, gethostid, sethostid, getrlimit, setrlimit, killpg.
- old quota, getsockname, getdirentries.
- lgetfh
- old getdomainname, setdomainname
- sysarch, rtprio, __getcwd, jail, sigtimedwait
- extattrctl, extattr_{get,set,delete,list}_{file,fd,link}
- getresgid, getresuid, kqueue, eaccess, nmount, sendfile
- fhstatfs, kldunloadf
Right identifiers for:
- nfssvc
Remove incorrect identifier for:
- __acl_get_file
Compile tested with help of: sam
Obtained from: TrustedBSD Project
2006-09-03 16:17:49 +00:00
Robert Watson
89ede214c7
Regenerate for updated audit event identifiers.
2006-09-03 15:11:13 +00:00
Robert Watson
7f26ddda62
Assign proper audit event identifiers to a number of system calls not
...
covered in previous passes:
- sysarch, rtprio
- clock_settime
- preadv/pwritev
- __getcwd
- kqueue
- fhstatfs
- kldunloadf
Obtained from: TrustedBSD Project
2006-09-03 15:10:40 +00:00
Hajimu UMEMOTO
d45564dcfe
Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin (nnnn) to
...
specify temperature.
Reviewed by: njl
MFC after: 3 days
2006-09-03 15:10:04 +00:00
Robert Watson
863ccba5d5
Regenerate.
2006-09-03 13:48:48 +00:00
Robert Watson
8075da7e8b
Regenerate. Looks like someone missed doing this previously as more than
...
just the audit event change appears in the diff.
2006-09-03 13:47:52 +00:00
Robert Watson
1b25e5f3c4
Use AUE_NTP_ADJTIME instead of AUE_ADJTIME for ntp_adjtime().
...
Obtained from: TrustedBSD Project
2006-09-03 13:47:24 +00:00
Robert Watson
d1967c5d2c
Use AUE_NTP_ADJTIME for ntp_adjtime() instead of AUE_ADJTIME.
...
Obtained from: TrustedBSD Project
2006-09-03 13:44:21 +00:00
Matt Jacob
198b33587b
Restore multi-version cleanliness.
2006-09-03 01:26:55 +00:00
Matt Jacob
048963977c
Bump __FreeBSD_version by one due to newbus changes.
2006-09-03 01:12:34 +00:00
John-Mark Gurney
a890c1dd21
up the default msgbuf limit to 64k.. a verbose boot on i386 on modern
...
hardware returns almost 48k of data... to change the default per platform,
it should be done in DEFAULTS, not here...
Discussed on: -arch
2006-09-03 00:33:19 +00:00
John-Mark Gurney
378f231e7d
add a newbus method for obtaining the bus's bus_dma_tag_t... This is
...
required by arches like sparc64 (not yet implemented) and sun4v where there
are seperate IOMMU's for each PCI bus... For all other arches, it will
end up returning NULL, which makes it a no-op...
Convert a few drivers (the ones we've been working w/ on sun4v) to the
new convection... Eventually all drivers will need to replace the parent
tag of NULL, w/ bus_get_dma_tag(dev), though dev is usually different for
each driver, and will require hand inspection...
Reviewed by: scottl (earlier version)
2006-09-03 00:27:42 +00:00
John-Mark Gurney
01646adbc8
Break out typedefs from bus_dma.h to _bus_dma.h so that we can get the
...
typedef for bus_dma_tag_t in sys/bus.h w/o poluting the namespace...
This is in preperation for adding bus_get_dma_tag to sys/bus.h...
2006-09-03 00:26:17 +00:00
David Xu
295ce693b9
Check if it is root user in do_unlock_pp.
2006-09-03 00:07:37 +00:00
Søren Schmidt
adf1bdac4f
Add support for VIA 8237A.
2006-09-02 12:55:42 +00:00
Robert Watson
23b7e55f3f
Merge OpenBSM 1.0 alpha 10 changes into src/sys/bsm; comment spelling
...
fixes.
Obtained from: TrustedBSD Project
2006-09-02 10:49:44 +00:00
Robert Watson
0ee913128d
Remove two hypothetical calls to suser() in ifdef'd (and uncompilable)
...
svr4 code: this code would call centralized sysctl code that does
these checks also.
MFC after: 1 week
Obtained from: TrustedBSD Project
Sponsored by: nCircle Network Security, Inc.
2006-09-02 08:18:22 +00:00
David Xu
81273e0632
Make sure we get new m_owner value if we can not unlock it in
...
uncontested case. Reorder statements in do_unlock_umutex.
2006-09-02 02:41:33 +00:00
David Christensen
21c9e4077a
/tmp/cvsleYf6y
2006-09-01 22:30:56 +00:00
Marius Strobl
55d3a2fcc5
Fix spelling in a status message.
...
MFC after: 1 day
2006-09-01 20:14:06 +00:00
Marius Strobl
e70415b38e
Fix spelling and wording in a comment.
2006-09-01 20:12:12 +00:00
John Baldwin
7269aec456
Comment tweaks.
2006-09-01 16:11:50 +00:00
John Baldwin
acda5dd92a
- Use pci_enable_busmaster() and pci_enable_io() to update the command
...
register. This really shouldn't be using pci_enable_io() directly as
bus_alloc_resource() does it already, but the cached copy of the
command word needs to be correct so the enable/disable mwi functions
work properly.
- Use pci bus accessors to read revision ID and subvendor IDs.
Reviewed by: jvogel
2006-09-01 16:11:12 +00:00
John Baldwin
34de220dcf
Add locking to the ifmedia callouts.
...
Reviewed by: jvogel, yongari
2006-09-01 16:08:36 +00:00
Wayne Salamon
ae1078d657
Audit the argv and env vectors passed in on exec:
...
Add the argument auditing functions for argv and env.
Add kernel-specific versions of the tokenizer functions for the
arg and env represented as a char array.
Implement the AUDIT_ARGV and AUDIT_ARGE audit policy commands to
enable/disable argv/env auditing.
Call the argument auditing from the exec system calls.
Obtained from: TrustedBSD Project
Approved by: rwatson (mentor)
2006-09-01 11:45:40 +00:00
Christian Brueffer
d4dc7a5cef
Don't build iwi(4) on amd64, there are problems with the firmware modules.
...
Reported by: sam
Approved by: rwatson (mentor)
MFC after: 3 days
2006-09-01 11:27:22 +00:00
Gleb Smirnoff
824d7cd2cc
Fix my error in rev. 1.109.
...
Submitted by: jhb
Pointy hat to: glebius
2006-09-01 09:56:24 +00:00
Marcel Moolenaar
35f406aafb
In cpu_set_user_tls(), properly set the thread pointer. It is 0x7000
...
bytes after the end of the TCB, which is itself 8 bytes.
2006-09-01 06:05:40 +00:00
Matt Jacob
8070de6398
More ispfwfunc definitions funnies which break pre-7.0 builds.
2006-09-01 05:03:42 +00:00
Matt Jacob
784ed7076c
Add missing pre-7.0 firmware pointer. Oops.
2006-09-01 04:57:14 +00:00
Matt Jacob
54256b0109
fix bug in 2322 receive sequencer f/w load
2006-09-01 04:18:17 +00:00
Eric Anholt
c88bc907e7
Add support for another ATI IGP 340M (RS200M) AGP bridge.
...
PR: kern/100958
Submitted by: Kazuo Dohzono <dohzono@axion-software.com>
MFC after: 1 week
2006-09-01 02:22:17 +00:00
John Baldwin
9555b0e2fc
Just foward declare 'struct adapter' instead of declaring an actual
...
'adapter' structure.
2006-08-31 18:50:16 +00:00
John Baldwin
7f0875cc0f
Compare the correct field against NULL when determining whether or not to
...
do bus_teardown_intr().
2006-08-31 18:49:41 +00:00
John Hay
1c31b456b9
Recognise IPv6 PIM packets.
...
MFC after: 1 week
2006-08-31 16:56:45 +00:00
Pyun YongHyeon
73810ef739
Add PHY support for BCM5752.
...
Tested by: delphij, Ganbold < ganbold AT micom DOT mng DOT net >
2006-08-31 11:15:18 +00:00
Pyun YongHyeon
d58d1737d6
Add Broadcom BCM5752 PHY id.
2006-08-31 11:13:51 +00:00
Ralf S. Engelschall
43109e5833
Fix typos: s/rebulid/rebuild/
...
Submitted by: Christoph Schug <chris@schug.net>
2006-08-31 08:45:44 +00:00
David Xu
8a156460bf
Reorder some statments. Fix typo and remove stale comments.
2006-08-30 23:59:45 +00:00
Søren Schmidt
4f991fd676
Properly initialize the nVidia MCP5X interrupts etc.
...
Suggested by: nVidia
2006-08-30 11:50:22 +00:00
Olivier Houchard
4731df1ee7
Remove dead code, already defined in sys/cdef.h
...
Spotted out by: bde
2006-08-30 11:45:07 +00:00
Olivier Houchard
d50cc5583f
Use ENTRY_NP for alternate entry points instead of ENTRY to avoid calling
...
mcount twice when profiling.
Spotted out by: bde
2006-08-30 11:44:37 +00:00
Olivier Houchard
1b980732bb
Use ENTRY instead of ALTENTRY, it doesn't exist on arm.
2006-08-29 23:53:34 +00:00
Mohan Srinivasan
6cd7078919
Fix for a deadlock triggered by a 'umount -f' causing a NFS request to never
...
retransmit (or return). Thanks to John Baldwin for helping nail this one.
Found by : Kris Kennaway
2006-08-29 22:00:12 +00:00
John Baldwin
fa4a2ffd58
The _sx_assert() prototype should exist if either of INVARIANTS or
...
INVARIANT_SUPPORT is defined so you can build a kernel with
INVARIANT_SUPPORT, but build a module with just INVARIANTS on.
MFC after: 3 days
Reported by: kuriyama
2006-08-29 20:36:33 +00:00
Jung-uk Kim
19a388e651
Restore Digital Outpur Register (DOR) for enhanced controller after reset.
2006-08-29 18:19:39 +00:00
Olivier Houchard
89413e6217
Ooops m->md.pvh_attrs can't be used to know if the page is writeable, because
...
it only remembers if the page is modified or referenced.
Bad review from: cognet
2006-08-28 21:43:34 +00:00