Sam Leffler
e701e041f2
Add ieee80211_beacon_miss for processing sta mode beacon miss events
...
in the 802.11 layer: we send a directed probe request frame to the
current ap bmiss_max times (w/o answer) before scanning for a new ap.
MFC after: 2 weeks
2005-12-12 18:04:44 +00:00
Sam Leffler
047f1635dd
add some useful definitions that'll be used soon
2005-12-12 17:57:00 +00:00
Sam Leffler
64353cb0ef
add fixed rate for sending multicast frames
...
Obtained from: atheros
MFC after: 1 week
2005-12-12 17:54:39 +00:00
Sam Leffler
c25442860a
change malloc when setting an optional ie to use M_NOWAIT
...
MFC after: 3 days
2005-12-12 17:40:49 +00:00
Sam Leffler
e55e5e4276
correct parameter check when retrieving the current channel list
...
MFC after: 3 days
2005-12-12 17:38:53 +00:00
Marius Strobl
00d3c930da
Fix a bug introduced in rev. 1.5; for retrieving the device_t of the
...
parent bridge of a PCI-PCI bridge we need two device_get_parent().
2005-12-12 16:07:11 +00:00
Maxime Henrion
52dfd9cdad
Add the device ID of fxp(4) NICs found in Sony Vaio VGN-TX1XP laptops.
...
PR: kern/90024
Submitted by: Thomas Hurst <tom@hur.st>
MFC after: 3 days
2005-12-12 14:30:13 +00:00
Søren Schmidt
921f15117f
Add support for writing SiS metadata.
2005-12-12 14:13:55 +00:00
Bruno Ducrot
f9ead0fcbe
Don't flood kernel logs with "invalid _PSS package" messages.
...
Approved by: njl, imp (mentor)
2005-12-12 11:15:20 +00:00
Ruslan Ermilov
e9484e32a1
Remove all redundant option file names that don't hurt readability.
2005-12-12 10:15:11 +00:00
Bjoern A. Zeeb
3e4212785c
Make nve(4) work for people with nf3/nf4 who never got it
...
working at all and only saw "nve0: device timeout (N)" messages.
- Setup PHY before handing control to NVidia API setting
speed, duplex, enabling interrupts, etc.
- Add restriction of MAXADDR_32BIT for high address to contigmalloc
to make the driver work on machines with 4+GB of memory.
PR: kern/85583, kern/88045
Tested by: scottl, others earlier version
MFC after: 10 days
2005-12-12 06:23:43 +00:00
David Xu
dd1a6f53ac
Stop fiddling thread priority with msleep, eliminating unnecessary
...
context switching. This improves performance about 30% on UP machine.
2005-12-12 05:04:56 +00:00
Craig Rodrigues
15fd62fa0f
#define __user to nothing
2005-12-12 03:21:37 +00:00
Craig Rodrigues
7b30d7180f
Add read-only XFS to LINT.
2005-12-12 02:01:51 +00:00
Craig Rodrigues
80d8e89620
Build xfs before xl.
...
Noticed by: pjd
2005-12-12 01:37:57 +00:00
Craig Rodrigues
5518f0df3a
Add xfs to list of modules which are built.
2005-12-12 01:29:57 +00:00
Craig Rodrigues
e1fd210e51
Hook XFS into kernel build.
2005-12-12 01:14:59 +00:00
Craig Rodrigues
1f83e99e4c
Add Makefile for compiling XFS as a kernel module.
2005-12-12 01:11:08 +00:00
Craig Rodrigues
93d9c69ff4
Initial import of read-only support for SGI's XFS filesystem.
...
Contributed by: XFS for FreeBSD project
2005-12-12 01:04:32 +00:00
Craig Rodrigues
92f44a3f3c
Contributions from XFS for FreeBSD project:
...
- Implement cv_wait_unlock() method which has semantics compatible
with the sv_wait() method in IRIX. For cv_wait_unlock(), the lock
must be held before entering the function, but is not held when the
function is exited.
- Implement the existing cv_wait() function in terms of cv_wait_unlock().
Submitted by: kan
Feedback from: jhb, trhodes, Christoph Hellwig <hch at infradead dot org>
2005-12-12 00:02:22 +00:00
Alan Cox
05406e6f33
Remove unneeded calls to pmap_remove_all(). The given page is not mapped.
...
Reviewed by: tegge
2005-12-11 22:06:57 +00:00
Max Laier
2694019753
Fix calculation of meminfo's swaptotal and swapfree on at least amd64.
...
MFC after: 3 days
2005-12-11 21:37:42 +00:00
Florent Thoumie
17e41731b7
- Rename UQ_BROKEN_IPOD to UQ_NO_OPEN_CLEARSTALL since it's likely to be used
...
by more devices than iPods.
Proposed by: iedowse
Approved by: ssouhlal
MFC after: 3 days
2005-12-11 20:14:38 +00:00
Andre Oppermann
36ae3fd3c3
Hide the 4k mbuf clusters if the normal clusters are defined to be
...
4k already.
This unbreaks tinderbox.
Submitted by: ru
2005-12-10 15:21:04 +00:00
Scott Long
d29dab303f
Allocate the jumbo rx frame buffer with busdma.
2005-12-10 08:58:48 +00:00
Scott Long
33ffa5853a
if_ti has been operating with locks for a while, so remove the GIANT markers.
...
Also fix man potential locking problems in the cdev ioctl handler.
2005-12-10 01:25:46 +00:00
Scott Long
73c8420784
The if_ti Tigon I/II driver has moved to /sys/dev/ti
2005-12-10 00:38:33 +00:00
Olivier Houchard
ac28e95795
- Better use of the busdma API.
...
- Use spin locks instead of sleep locks.
2005-12-09 23:55:41 +00:00
Olivier Houchard
e89ab9292f
Fix a harmless bug in the way we allocate the early PTEs.
2005-12-09 23:54:50 +00:00
Olivier Houchard
527962c8c7
The IQ80321 clock is 200MHz, but the IQ80321 is 198MHz, so add a kernel option
...
to override the frequency
2005-12-09 23:52:51 +00:00
Olivier Houchard
b34658e8a9
A #define is not enough, we need to cast from u_long * to uint32_t *.
2005-12-09 22:58:07 +00:00
Olivier Houchard
858b811f34
Define atomic_whatever_long
2005-12-09 22:33:20 +00:00
Olivier Houchard
3e1e996645
In copyout(), quad-align the source buffer, and use ldrd if possible.
2005-12-09 15:31:02 +00:00
Søren Schmidt
fb504bef5c
Unbreak hotplug support on the ICH6 and ICH7 chipsets.
2005-12-09 14:23:24 +00:00
David Xu
992ee51fc0
Sync with i386, fix compiling for non-SMP.
2005-12-09 13:30:34 +00:00
David Xu
3e70c6f047
Fix compiling warning on 64 bits system.
2005-12-09 13:16:48 +00:00
Pawel Jakub Dawidek
64806a739b
Fix build breakage by fixing typo.
...
Reported by: glebius
2005-12-09 11:38:02 +00:00
David Xu
f71a882f15
Add a sysctl to force a process to sigexit if a trap signal is
...
being hold by current thread or ignored by current process,
otherwise, it is very possible the thread will enter an infinite loop
and lead to an administrator's nightmare.
2005-12-09 08:29:29 +00:00
David Xu
528b9bcd6e
Remove itimers_event_hook, now it is a private function in kern_time.c.
2005-12-09 08:19:31 +00:00
Ruslan Ermilov
1fb27d4388
Fix memory leak.
...
PR: kern/90113
Submitted by: Antoine Brodin
2005-12-09 07:09:44 +00:00
David Xu
d26b1a1fb9
Register itimers_event_hook as a kernel event handler, so I don't
...
have to duplicate code to call it in exec() and exit1().
2005-12-09 05:43:26 +00:00
SUZUKI Shinsuke
7014e0eb11
fixed a kernel crash at the initialization time of PIM-SM register interface
...
MFC after: 2 days
2005-12-09 04:42:19 +00:00
David Xu
102178d0df
Comment out mqfs_create_link. Inline some small functions.
2005-12-09 02:38:29 +00:00
David Xu
5c4745177f
Now SIGCHLD is always queued.
2005-12-09 02:27:55 +00:00
David Xu
761a4d9423
Cleanup sigqueue sysctl.
2005-12-09 02:26:44 +00:00
Pawel Jakub Dawidek
24e1fdcd1a
- Allow to specify the byte which will be used for filling read buffer.
...
- Improve sysctl description a bit.
Submitted by: Ivan Voras <ivoras@gmail.com>
2005-12-08 23:06:59 +00:00
Pawel Jakub Dawidek
df3d5a19fc
Teach NOP GEOM class how to gather the following statistics:
...
- number of read I/O requests,
- number of write I/O requests,
- number of read bytes,
- number of written bytes.
Add 'reset' subcommand for resetting statistics.
2005-12-08 23:00:31 +00:00
Warner Losh
c46a4f9afd
Careful measurement of the ST Labs card shows that the pulse width of
...
transmitted bits was between 8.6180us and 8.6200us when we used a RCLK
of 16.500MHz. This is a little low (should be 8.6805us). This error
is exactly the error one would expect if it actually had a 16.384MHz
watch oscillator (as suggested by garrett) instead of using the PCI
RCLK. Assume that the pci clock therefore wasn't really used, but
instead the cheap 16.384MH watch quartz oscillator. This gives bits
in the 8.6800us to 8.6810us ranage, which matches theoretical.
Submitted by: garrett
2005-12-08 22:29:42 +00:00
Doug Ambrisko
204634a652
Regen for futimes.
2005-12-08 22:15:09 +00:00
Doug Ambrisko
8e7604db06
Add 32bit version of futimes so untar doesn't result in bad dates
...
(Jan 1, 1970) when run on amd64.
Reviewed by: ps
2005-12-08 22:14:25 +00:00