]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoStart the dreaded NOFOO -> NO_FOO conversion.
Ruslan Ermilov [Tue, 21 Dec 2004 08:47:35 +0000 (08:47 +0000)]
Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core

19 years agoGEOMify the OFW disk driver. Code taken unashamedly from
Peter Grehan [Tue, 21 Dec 2004 02:23:35 +0000 (02:23 +0000)]
GEOMify the OFW disk driver. Code taken unashamedly from
the preload case in dev/md/md.c.

19 years agoProtect the NM expansion.
David E. O'Brien [Tue, 21 Dec 2004 02:08:14 +0000 (02:08 +0000)]
Protect the NM expansion.

19 years agoFix a mis-sort.
David E. O'Brien [Tue, 21 Dec 2004 02:07:38 +0000 (02:07 +0000)]
Fix a mis-sort.

19 years ago(fast) ethernet -> (Fast) Ethernet
Christian Brueffer [Tue, 21 Dec 2004 01:09:34 +0000 (01:09 +0000)]
(fast) ethernet -> (Fast) Ethernet

MFC after: 3 days

19 years agoHide/remove various printfs, now that root mounting doesn't seem to explode
Poul-Henning Kamp [Mon, 20 Dec 2004 21:59:25 +0000 (21:59 +0000)]
Hide/remove various printfs, now that root mounting doesn't seem to explode
on people.

19 years agofix a misleading sleep identifier.
Poul-Henning Kamp [Mon, 20 Dec 2004 21:38:13 +0000 (21:38 +0000)]
fix a misleading sleep identifier.

19 years agoWe can only ever get to vgonechrl() from a devfs vnode, so we do not
Poul-Henning Kamp [Mon, 20 Dec 2004 21:34:29 +0000 (21:34 +0000)]
We can only ever get to vgonechrl() from a devfs vnode, so we do not
need to reassign the vp->v_op to devfs_specops, we know that is the
value already.

Make devfs_specops private to devfs.

19 years agoOops, this one isn't ready
Julian Elischer [Mon, 20 Dec 2004 21:17:22 +0000 (21:17 +0000)]
Oops, this one isn't ready
 back it out until fixed

19 years agoAdd a couple of KASSERTS to try to diagnose a problem reported.
Poul-Henning Kamp [Mon, 20 Dec 2004 21:12:11 +0000 (21:12 +0000)]
Add a couple of KASSERTS to try to diagnose a problem reported.

19 years agoAdd a bunch of USB definitions from NetBSD.
Julian Elischer [Mon, 20 Dec 2004 20:41:55 +0000 (20:41 +0000)]
Add a bunch of USB definitions from NetBSD.
This is part of an ongoing cycle of commits on all the BSDs to
merge the USB vendor and device defintions..

A merge from OpenBSD is still pending.

Submitted by: barry bouwsma (freebsd-misuser@NOSPAM.dyndns.dk)
Obtained from: NetBSD
MFC after: 1 week

19 years agoMerge in a bunch of USB device and manufacturer definitions..
Julian Elischer [Mon, 20 Dec 2004 20:10:57 +0000 (20:10 +0000)]
Merge in a bunch of USB device and manufacturer definitions..

Submitted by: barry bouwsma (freebsd-misuser@NOSPAM.dyndns.dk)
Obtained from: Dragonfly
MFC after: 3 days

19 years agoUse "KEYWORD: shutdown" so shutdown commands will actually be executed.
Peter Edwards [Mon, 20 Dec 2004 18:34:10 +0000 (18:34 +0000)]
Use "KEYWORD: shutdown" so shutdown commands will actually be executed.

Approved by:  dougb@

19 years agoIf PORTNAME is set in a system Makefile then hook into the ports
Paul Richards [Mon, 20 Dec 2004 15:46:56 +0000 (15:46 +0000)]
If PORTNAME is set in a system Makefile then hook into the ports
mechanisms to allow a package to be created. This paves the way
for packaging the main tree.

19 years agoWhen stopping a chrooted named, unmount the devfs filesystem from
Peter Edwards [Mon, 20 Dec 2004 10:48:48 +0000 (10:48 +0000)]
When stopping a chrooted named, unmount the devfs filesystem from
the chroot area. This stops "umount -a" failing when dropping to
single user.

Reviewed by: dougb@

19 years agoOnly use the current value if there's one IRQ. Some systems return
Nate Lawson [Mon, 20 Dec 2004 10:46:56 +0000 (10:46 +0000)]
Only use the current value if there's one IRQ.  Some systems return
multiple IRQs (which is nonsense for _CRS) when the link hasn't been
programmed.  Before, this was a KASSERT.  A ServerWorks system was
seen returning IRQs of 0, 2 in response to _CRS before link setup.
Thanks to sam@ for quick testing and turnaround on this.

Tested by: sam

19 years agoFix compilation for the USE_KQUEUE case.
Hartmut Brandt [Mon, 20 Dec 2004 10:21:27 +0000 (10:21 +0000)]
Fix compilation for the USE_KQUEUE case.

Submitted by: Emil Mikulic <emikulic@dmr.ath.cx>

19 years agoOnly try to use the 82503 serial interface for the 82557 chipsets. The
Maxime Henrion [Mon, 20 Dec 2004 10:18:21 +0000 (10:18 +0000)]
Only try to use the 82503 serial interface for the 82557 chipsets.  The
datasheet says it is only valid for such chipsets and shouldn't be used
with others.  This fixes some 82559 based cards which otherwise only
work at 10Mbit.

MFC after: 5 days
Tested by: krion

19 years agomaxJobs is declared extern in job.h so it cannot be static in job.c.
Hartmut Brandt [Mon, 20 Dec 2004 10:14:05 +0000 (10:14 +0000)]
maxJobs is declared extern in job.h so it cannot be static in job.c.

PR: bin/75210
Submitted by: Andreas Jochens; Robert Millan <rmh@debian.org>

19 years agoSort by month/day/year/login.
Ruslan Ermilov [Mon, 20 Dec 2004 10:09:06 +0000 (10:09 +0000)]
Sort by month/day/year/login.

19 years agoEnable jumbo frames on Yukon variants of sk(4).
Bjoern A. Zeeb [Mon, 20 Dec 2004 10:07:12 +0000 (10:07 +0000)]
Enable jumbo frames on Yukon variants of sk(4).

In contrast to OpenBSD we enable jumbo frame support
depending on MTU setting (like done for xmac).

Approved by: pjd (mentor)
Obtained from: OpenBSD if_sk.c r1.52 (YU_SMR_MFL_JUMBO flag)
Tested by: Heinz Knocke <knockefreebsd at o2 dot pl>
MFC after: 5 days

19 years agoOnly report a critical battery level once until it's gone non-critical.
Nate Lawson [Mon, 20 Dec 2004 05:03:41 +0000 (05:03 +0000)]
Only report a critical battery level once until it's gone non-critical.
An improvement would be to check all batteries for critical state before
printing a message.

Reported by: Kevin Oberman (oberman at es net)

19 years agoNote requirement to manually load/configure ancillary wlan modules.
Sam Leffler [Mon, 20 Dec 2004 04:27:23 +0000 (04:27 +0000)]
Note requirement to manually load/configure ancillary wlan modules.

Requested by: silby

19 years agoadd ancillary wlan modules and fixup comments
Sam Leffler [Mon, 20 Dec 2004 04:22:41 +0000 (04:22 +0000)]
add ancillary wlan modules and fixup comments

Requested by: silby

19 years agoRemove unused variables.
Pawel Jakub Dawidek [Sun, 19 Dec 2004 23:55:49 +0000 (23:55 +0000)]
Remove unused variables.

19 years ago- Argument 'flags' in g_mirror_destroy_consumer() function is unsed -
Pawel Jakub Dawidek [Sun, 19 Dec 2004 23:33:59 +0000 (23:33 +0000)]
- Argument 'flags' in g_mirror_destroy_consumer() function is unsed -
  mark it as such.
- Before closing consumer check if it is open. It can be closed here
  when g_mirror_connect_disk() fails on g_access().

19 years agoDon't panic when sigsuspend is interrupted by a cancellation.
Daniel Eischen [Sun, 19 Dec 2004 23:23:43 +0000 (23:23 +0000)]
Don't panic when sigsuspend is interrupted by a cancellation.

PR: 75273

19 years agoSome major cleanups.
Pawel Jakub Dawidek [Sun, 19 Dec 2004 23:12:00 +0000 (23:12 +0000)]
Some major cleanups.

Keeping consumers open when device is closed is very hard. We need to
open consumers sometimes to update metadata, etc.
Many hacks was introduced in the past to made it possible. You cannot
be sure that you can open consumer for writing always, even if you think
it should be allowed. If one of the mirror components is for example da0
and you try to open it, you can get EPERM when da0s1 is opened for reading
(because BSD class opens consumers (da0) with an extra 'e' bit set).
Waiting for the events queue to be empty may do the trick, but it makes
code much uglier (as you cannot always call g_waitidle()), it doesn't
solve all edge cases and it can introduce deadlocks if there are events
in the queue that wait for gmirror.

I removed those hacks. Now all consumers are open r1w1e1 always, even if
device is closed. Maybe it is less clean from GEOM perspective, but simpify
code a lot and make it much more reliable.
The only issue was retaste event which is sent when we close consumers
opened for writing. I ignore retaste event by not detaching consumer
immediately (so retaste event is not send to my class) and sending event
right after it to detach and destroy consumer.

19 years agoDon't quit on first failure, just skip failures.
Pawel Jakub Dawidek [Sun, 19 Dec 2004 22:58:25 +0000 (22:58 +0000)]
Don't quit on first failure, just skip failures.

19 years agoAdd myself.
Mark Santcroos [Sun, 19 Dec 2004 22:21:41 +0000 (22:21 +0000)]
Add myself.

19 years agoInitialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN,
Daniel Hartmeier [Sun, 19 Dec 2004 19:43:04 +0000 (19:43 +0000)]
Initialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN,
prevents a possible endless loop in pf_get_sport() with 'static-port'

ICMP state entries use the ICMP ID as port for the unique state key. When
checking for a usable key, construct the key in the same way. Otherwise,
a colliding key might be missed or a state insertion might be refused even
though it could be inserted. The second case triggers the endless loop,
possibly allowing a NATed LAN client to lock up the kernel.

PR: kern/74930
Reported and tested by: Hugo Silva, Srebrenko Sehic
MFC after: 3 days

19 years agoMove launching the worker thread from a SYSINIT to the first device's
Nate Lawson [Sun, 19 Dec 2004 19:42:54 +0000 (19:42 +0000)]
Move launching the worker thread from a SYSINIT to the first device's
attach.  This fixes the previous behavior where systems without hptmv
hardware always had a worker thread running.

19 years agoAllocate an additional white space in a username column for
Maxim Konovalov [Sun, 19 Dec 2004 18:02:45 +0000 (18:02 +0000)]
Allocate an additional white space in a username column for
a long (UT_NAMESIZE) login names.

PR: bin/75259
Submitted by: Matthew D.Fuller
MFC after: 2 weeks

19 years agoWe already have ng_fec.4 manpage. And sys/modules is not a correct
Gleb Smirnoff [Sun, 19 Dec 2004 16:06:14 +0000 (16:06 +0000)]
We already have ng_fec.4 manpage. And sys/modules is not a correct
place for documentation.

19 years agoWe have an informative ng_source.4 manpage, which is not installed.
Gleb Smirnoff [Sun, 19 Dec 2004 16:03:06 +0000 (16:03 +0000)]
We have an informative ng_source.4 manpage, which is not installed.

19 years agoAssert queue mutex in ng_dequeue() and ng_queue_rw().
Gleb Smirnoff [Sun, 19 Dec 2004 14:58:13 +0000 (14:58 +0000)]
Assert queue mutex in ng_dequeue() and ng_queue_rw().

19 years agoUse the accepted abbreviation "kB" for kilobyte, rather than "kb" (which
Colin Percival [Sun, 19 Dec 2004 13:29:25 +0000 (13:29 +0000)]
Use the accepted abbreviation "kB" for kilobyte, rather than "kb" (which
is the common unit for a kilobit).

19 years agoCall umask() before opening the lock-file for a queue, to make sure
Garance A Drosehn [Sun, 19 Dec 2004 05:14:29 +0000 (05:14 +0000)]
Call umask() before opening the lock-file for a queue, to make sure
the file will be created with the right access, if the call to open()
does create it.  Also fix the other call to umask() to turn off
"write others", just as a matter of general safety.

PR: 74418
MFC after: 4 days

19 years agoNuke ports-picobsd, it was thrown out a while ago.
Christian Brueffer [Sun, 19 Dec 2004 02:31:45 +0000 (02:31 +0000)]
Nuke ports-picobsd, it was thrown out a while ago.

Approved by: linimon
MFC after: 3 days

19 years agoIn the ethernet-nic-regex:
Christian Brueffer [Sun, 19 Dec 2004 00:50:07 +0000 (00:50 +0000)]
In the ethernet-nic-regex:

- add udav(4)

In the scsi-controller-regex:

- correct an entry
- move another one to the right place
- add a bunch of missing drivers

Glanced at by: trhodes (scsi-controller-regex part)
MFC after: 3 days

19 years agoAdd FC929X into the list of supported devices.
Maxim Sobolev [Sat, 18 Dec 2004 19:12:06 +0000 (19:12 +0000)]
Add FC929X into the list of supported devices.

Reminded by: simon

19 years agoUse a generic way to back threads out of wait queues when handling
Daniel Eischen [Sat, 18 Dec 2004 18:07:37 +0000 (18:07 +0000)]
Use a generic way to back threads out of wait queues when handling
signals instead of having more intricate knowledge of thread state
within signal handling.

Simplify signal code because of above (by David Xu).

Use macros for libpthread usage of pthread_cleanup_push() and
pthread_cleanup_pop().  This removes some instances of malloc()
and free() from the semaphore and pthread_once() implementations.

When single threaded and forking(), make sure that the current
thread's signal mask is inherited by the forked thread.

Use private mutexes for libc and libpthread.  Signals are
deferred while threads hold private mutexes.  This fix also
breaks www/linuxpluginwrapper; a patch that fixes it is at
http://people.freebsd.org/~deischen/kse/linuxpluginwrapper.diff

Fix race condition in condition variables where handling a
signal (pthread_kill() or kill()) may not see a wakeup
(pthread_cond_signal() or pthread_cond_broadcast()).

In collaboration with: davidxu

19 years agoUpdate the StrongArm port to match the current code.
Olivier Houchard [Sat, 18 Dec 2004 17:58:49 +0000 (17:58 +0000)]
Update the StrongArm port to match the current code.
- Implement arm_mask_irqs and arm_unmask_irqs
- Provide the available physical address range after pmap_bootstrap allocated
things, instead or before, or bad things happen.

19 years agoMake sure gcc doesn't generate something such as swp r3, r4, [r3] for __swp,
Olivier Houchard [Sat, 18 Dec 2004 17:43:01 +0000 (17:43 +0000)]
Make sure gcc doesn't generate something such as swp r3, r4, [r3] for __swp,
as it has unpredictable results.

19 years agoAdd missing dependencies of $(OUTPUTS) on source makefiles.
Ruslan Ermilov [Sat, 18 Dec 2004 17:30:53 +0000 (17:30 +0000)]
Add missing dependencies of $(OUTPUTS) on source makefiles.

Caught by: make -DNOCLEAN buildworld

19 years agoAdd support for FC929X, which apparently is just a PCI-X version of FC929.
Maxim Sobolev [Sat, 18 Dec 2004 16:49:54 +0000 (16:49 +0000)]
Add support for FC929X, which apparently is just a PCI-X version of FC929.

MFC after: 3 days

19 years agoChange terminal state, not terminal type
Poul-Henning Kamp [Sat, 18 Dec 2004 16:31:21 +0000 (16:31 +0000)]
Change terminal state, not terminal type

19 years agoSynchronize reference list to the ng_xxx(4) manpages of netgraph nodes
Ralf S. Engelschall [Sat, 18 Dec 2004 15:27:17 +0000 (15:27 +0000)]
Synchronize reference list to the ng_xxx(4) manpages of netgraph nodes
with the actually installed manpages by adding the missing ones. This
way they can be found more easily.

MFC after: 2 days

19 years agoIf /etc/named is a symlink, try to make sure it points the right place.
Poul-Henning Kamp [Sat, 18 Dec 2004 15:19:36 +0000 (15:19 +0000)]
If /etc/named is a symlink, try to make sure it points the right place.

19 years ago1. msleep returns EWOULDBLOCK not ETIMEDOUT, use EWOULDBLOCK instead.
David Xu [Sat, 18 Dec 2004 13:43:16 +0000 (13:43 +0000)]
1. msleep returns EWOULDBLOCK not ETIMEDOUT, use EWOULDBLOCK instead.
2. Eliminate a possible lock leak in timed wait loop.

19 years ago1. make umtx sharable between processes, the way is two or more processes
David Xu [Sat, 18 Dec 2004 12:52:44 +0000 (12:52 +0000)]
1. make umtx sharable between processes, the way is two or more processes
   call mmap() to create a shared space, and then initialize umtx on it,
   after that, each thread in different processes can use the umtx same
   as threads in same process.
2. introduce a new syscall _umtx_op to support timed lock and condition
   variable semantics. also, orignal umtx_lock and umtx_unlock inline
   functions now are reimplemented by using _umtx_op, the _umtx_op can
   use arbitrary id not just a thread id.

19 years agoGrammar in a comment.
Ruslan Ermilov [Sat, 18 Dec 2004 12:31:12 +0000 (12:31 +0000)]
Grammar in a comment.

19 years agoOpen device R/W for ioctl modifications.
Poul-Henning Kamp [Sat, 18 Dec 2004 11:04:10 +0000 (11:04 +0000)]
Open device R/W for ioctl modifications.

19 years agoUncomment an upcoming 5.4-RELEASE.
Ruslan Ermilov [Sat, 18 Dec 2004 07:20:33 +0000 (07:20 +0000)]
Uncomment an upcoming 5.4-RELEASE.

19 years agoMake ip_nat compile again. Should read #if->n<-def LARGE_NAT as in ipf 4.x
Max Laier [Sat, 18 Dec 2004 03:47:54 +0000 (03:47 +0000)]
Make ip_nat compile again. Should read #if->n<-def LARGE_NAT as in ipf 4.x

19 years agoSlight change to formatting so that 'ctags' doesn't
Julian Elischer [Sat, 18 Dec 2004 01:20:18 +0000 (01:20 +0000)]
Slight change to formatting so that 'ctags' doesn't
give up on teh file half way through.. Might have been my
mistake earlier anyhow. No actual code change

MFC after: 5 days

19 years agoDocument "machdep.hlt_cpus".
Joseph Koshy [Sat, 18 Dec 2004 01:13:37 +0000 (01:13 +0000)]
Document "machdep.hlt_cpus".

Reviewed by: ru

19 years agoUncomment entries for FreeBSD 6.0 and 4.11.
Joseph Koshy [Sat, 18 Dec 2004 01:07:18 +0000 (01:07 +0000)]
Uncomment entries for FreeBSD 6.0 and 4.11.

Requested by: ru

19 years agoSpecify the state of my birth, similar to other entries.
Christian Brueffer [Sat, 18 Dec 2004 00:58:22 +0000 (00:58 +0000)]
Specify the state of my birth, similar to other entries.

19 years agoBCM5721 is supported as well.
Christian Brueffer [Fri, 17 Dec 2004 23:03:30 +0000 (23:03 +0000)]
BCM5721 is supported as well.

19 years agoAdd support for the 5721 which seems to be similar to the 5750/5751.
Paul Saab [Fri, 17 Dec 2004 21:50:18 +0000 (21:50 +0000)]
Add support for the 5721 which seems to be similar to the 5750/5751.

Tested by: Vivek Khera vivek at khera dot org

19 years ago1. To give the user a clue about the expiration timeout values, mention
Ralf S. Engelschall [Fri, 17 Dec 2004 20:49:01 +0000 (20:49 +0000)]
1. To give the user a clue about the expiration timeout values, mention
   the default timeouts of 1800 (activity) and 15 (inactivity) seconds.

2. Fix the "ifinfo" ASCII control message description:
   it requires the interface number as an argument.

MFC after: 2 days

19 years agoDiff reduce wi_write_wep() relative to revision 1.168
Matthew N. Dodd [Fri, 17 Dec 2004 20:48:13 +0000 (20:48 +0000)]
Diff reduce wi_write_wep() relative to revision 1.168

19 years agoModify the name of the supported bluetooth card.
Christian Brueffer [Fri, 17 Dec 2004 19:01:55 +0000 (19:01 +0000)]
Modify the name of the supported bluetooth card.

Discussed with: emax

19 years agoEliminate another unnecessary call to vm_page_busy(). (See revision 1.333
Alan Cox [Fri, 17 Dec 2004 18:54:51 +0000 (18:54 +0000)]
Eliminate another unnecessary call to vm_page_busy().  (See revision 1.333
for a detailed explanation.)

19 years agoAutogenerate device listings for umass(4).
Christian Brueffer [Fri, 17 Dec 2004 18:37:58 +0000 (18:37 +0000)]
Autogenerate device listings for umass(4).

MFC after: 3 days

19 years ago- add a HARDWARE section based on the hardware notes and the devices
Christian Brueffer [Fri, 17 Dec 2004 18:35:38 +0000 (18:35 +0000)]
- add a HARDWARE section based on the hardware notes and the devices
  already listed in the manpage
- reword some DESCRIPTION sentences
- Xref ehci(4)
- bump .Dd

MFC after: 3 days

19 years agoCorrect entity name added in the last revision.
Simon L. B. Nielsen [Fri, 17 Dec 2004 18:19:44 +0000 (18:19 +0000)]
Correct entity name added in the last revision.

19 years agoRecognize the 32-bit form of the twe binary passthrough ioctl()s so that
Peter Wemm [Fri, 17 Dec 2004 17:45:29 +0000 (17:45 +0000)]
Recognize the 32-bit form of the twe binary passthrough ioctl()s so that
there is some hope for the 32-bit management utilities to run.  I've used
the cli successfully, but 3dm2 doesn't work for other reasons.  Of course,
a native binary of the 3dm2 and cli would be much better, but that doesn't
exist.

19 years agoEnable debug.mpsafevm by default on alpha.
Alan Cox [Fri, 17 Dec 2004 17:17:36 +0000 (17:17 +0000)]
Enable debug.mpsafevm by default on alpha.

19 years agoRevert rev 1.66. This file needs to track its upstream source.
Joseph Koshy [Fri, 17 Dec 2004 16:29:54 +0000 (16:29 +0000)]
Revert rev 1.66.  This file needs to track its upstream source.

Requested by: ru

19 years agoMove two variables that are unused if LARGE_NAT is defined inside an #ifdef
Darren Reed [Fri, 17 Dec 2004 15:59:16 +0000 (15:59 +0000)]
Move two variables that are unused if LARGE_NAT is defined inside an #ifdef
to keep them out of harms way when compiling.

PR: 72783

19 years agoMark mknod(8) as deprecated. Add text in the 'COMPATIBILITY' section
Joseph Koshy [Fri, 17 Dec 2004 14:36:02 +0000 (14:36 +0000)]
Mark mknod(8) as deprecated.  Add text in the 'COMPATIBILITY' section
describing the changes in device management since FreeBSD 4.0.

Reviewed by: ru

19 years agoRemove mention of block devices. Mention that entries under /dev
Joseph Koshy [Fri, 17 Dec 2004 14:28:53 +0000 (14:28 +0000)]
Remove mention of block devices.  Mention that entries under /dev
are managed by devfs(5).  Add cross-references.

Reviewed by: ru

19 years agoSupport for ".Fx 6.0".
Joseph Koshy [Fri, 17 Dec 2004 14:10:44 +0000 (14:10 +0000)]
Support for ".Fx 6.0".

Reviewed by: ru

19 years agoIntroduce new variables FETCHINDEX, MASTER_SITE_INDEX and add
Kirill Ponomarev [Fri, 17 Dec 2004 13:39:55 +0000 (13:39 +0000)]
Introduce new variables FETCHINDEX, MASTER_SITE_INDEX and add
description for MASTER_SITE_BACKUP.

Based on PR: ports/74709
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
Reviewed by: ru
MFC after: 3 days

19 years agoerr() -> errx()
Ruslan Ermilov [Fri, 17 Dec 2004 13:24:22 +0000 (13:24 +0000)]
err() -> errx()

19 years agoRemove all the cleanup functions. There is no reason to free memory
Hartmut Brandt [Fri, 17 Dec 2004 13:20:19 +0000 (13:20 +0000)]
Remove all the cleanup functions. There is no reason to free memory
just before exiting (especially given the number of memory leaks) -
it just costs time.

19 years agoBump .Dd
Gleb Smirnoff [Fri, 17 Dec 2004 12:59:20 +0000 (12:59 +0000)]
Bump .Dd

Reminded by: ru

19 years agoNote that send(2) is no longer applicable to divert(4) sockets.
Gleb Smirnoff [Fri, 17 Dec 2004 11:24:33 +0000 (11:24 +0000)]
Note that send(2) is no longer applicable to divert(4) sockets.

Noticed by: Dmitry Dvoinikov
Wording by: cperciva
MFC after: 3 days

19 years agoAutogenerate device listings for ng_bt3c(4).
Christian Brueffer [Fri, 17 Dec 2004 10:31:00 +0000 (10:31 +0000)]
Autogenerate device listings for ng_bt3c(4).

MFC after: 3 days

19 years ago- add a HARDWARE section
Christian Brueffer [Fri, 17 Dec 2004 10:13:02 +0000 (10:13 +0000)]
- add a HARDWARE section
- several grammar and language fixes
- bump .Dd

MFC after: 3 days

19 years agoMinor tweaks in "make update" comments.
Ruslan Ermilov [Fri, 17 Dec 2004 10:11:33 +0000 (10:11 +0000)]
Minor tweaks in "make update" comments.

19 years agoAdd missing word.
Christian Brueffer [Fri, 17 Dec 2004 09:34:48 +0000 (09:34 +0000)]
Add missing word.

MFC after: 3 days

19 years agoFix wep operation for station mode:
Sam Leffler [Fri, 17 Dec 2004 03:57:16 +0000 (03:57 +0000)]
Fix wep operation for station mode:
o don't encapsulate on tx; the chip expect a raw frame w/o the crypto header
o clear the WEP bit in the 802.11 header on rx so the 802.11 layer doesn't
  try to strip the crypto header
o clobber the "drop unencoded frames" state bit when privacy is enabled so
  rx'd frames we pass up to the 802.11 layer are not discarded as unencrypted

This stuff will need to be redone if anyone decides to add WPA support.

19 years agoset ic_ibss_chan when entering RUN state to match ic_bss so the channel
Sam Leffler [Fri, 17 Dec 2004 03:36:24 +0000 (03:36 +0000)]
set ic_ibss_chan when entering RUN state to match ic_bss so the channel
reported when associated to an AP is correct

19 years agodon't try to recurse on the bpf lock.. kqueue already locks the bpf lock
John-Mark Gurney [Fri, 17 Dec 2004 03:21:46 +0000 (03:21 +0000)]
don't try to recurse on the bpf lock..  kqueue already locks the bpf lock
now...

Submitted by: Ed Maste of Sandvine Inc.
MFC after: 1 week

19 years agoremove power save logic from the tx path; the driver isn't ready to support
Sam Leffler [Fri, 17 Dec 2004 03:05:30 +0000 (03:05 +0000)]
remove power save logic from the tx path; the driver isn't ready to support
it so don't mislead folks

19 years agoProperly capitalize FireWire
Christian Brueffer [Fri, 17 Dec 2004 02:33:42 +0000 (02:33 +0000)]
Properly capitalize FireWire

MFC after: 3 days

19 years agoAllow ipnat redirect rules to work for non-TCP/UDP packets.
Darren Reed [Fri, 17 Dec 2004 02:29:34 +0000 (02:29 +0000)]
Allow ipnat redirect rules to work for non-TCP/UDP packets.

PR:             70038
Submitted by:   fming@borderware.com
Reviewed by:    darrenr
Obtained from:  fming@borderware.com

19 years agoWhen printing a data file received from some other host, check to make
Garance A Drosehn [Fri, 17 Dec 2004 01:54:50 +0000 (01:54 +0000)]
When printing a data file received from some other host, check to make
sure the data file has been completely transfered before starting to
print it.  This is needed because some implementations of lpr will send
the control-file for a print job before sending the matching data-files,
and that can cause problems if the receiving host is a busy print-server.

MFC after: 2 weeks

19 years agoForced commit to note that the previous patch apparently
Julian Elischer [Fri, 17 Dec 2004 00:57:48 +0000 (00:57 +0000)]
Forced commit to note that the previous patch apparently
came originaly from the keyboard of:
Submitted by: Branko Lankester <branko@euro.net>

19 years agoAdd a missing prototype.
Julian Elischer [Fri, 17 Dec 2004 00:25:56 +0000 (00:25 +0000)]
Add a missing prototype.

MFC after: 1 week

19 years agoAllow /sys/dev/bktr to support Pinnacle PCTV Rave cards
Julian Elischer [Thu, 16 Dec 2004 23:37:41 +0000 (23:37 +0000)]
Allow /sys/dev/bktr to support Pinnacle PCTV Rave cards

PR: 73669
Submitted by: arne_woerner at yahoo dot com
MFC after: 1 week

19 years agoAdd some locking for -currnet/5.x
Julian Elischer [Thu, 16 Dec 2004 23:19:57 +0000 (23:19 +0000)]
Add some locking for -currnet/5.x

PR: 74305
Submitted by: Anish Mistry <amistry at am-productions dot biz>
MFC after: 1 week

19 years agoInform users how to set throttling and cpu idling variables for the
Nate Lawson [Thu, 16 Dec 2004 22:21:21 +0000 (22:21 +0000)]
Inform users how to set throttling and cpu idling variables for the
power_profile rc script.

19 years agoUsing just m_pullup to get all of the interesting bits in packet into one
Darren Reed [Thu, 16 Dec 2004 21:02:16 +0000 (21:02 +0000)]
Using just m_pullup to get all of the interesting bits in packet into one
buffer doesn't work for ipv6 packets, so use m_defrag() here instead as an
easy drop-in replacement.

PR: 70399

19 years agoGC unused declaration
David Schultz [Thu, 16 Dec 2004 20:40:49 +0000 (20:40 +0000)]
GC unused declaration

19 years agoCosmetic changes only:
David Schultz [Thu, 16 Dec 2004 20:40:37 +0000 (20:40 +0000)]
Cosmetic changes only:
- style
- remove unused variables
- de-support VAX

Inspired by: bin/42388

19 years agoo The macro versions of sigemptyset(3), sigfillset(3), sigaddset(3),
Maxim Konovalov [Thu, 16 Dec 2004 20:27:55 +0000 (20:27 +0000)]
o The macro versions of sigemptyset(3), sigfillset(3), sigaddset(3),
sigdelset(3) and sigismember(3) were killed about five years ago.

o The functions (specifically sigismember(3)) could return -1 and
set errno.

PR: bin/75156
Obtained from: NetBSD
MFC after: 2 weeks

o Bump the date of the document.