]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoMore math functions.
Alexander Kabaev [Wed, 26 Jan 2005 14:23:31 +0000 (14:23 +0000)]
More math functions.

Prodded by: stefanf

19 years agoRemove unused static declaration of ed_pccard_dl100xx(), which probably
Robert Watson [Wed, 26 Jan 2005 14:09:32 +0000 (14:09 +0000)]
Remove unused static declaration of ed_pccard_dl100xx(), which probably
accidentally snuck into a prior commit to if_ed, and prevented building
with -Werror.

Pointed out by: csjp

19 years agoo Move copyin()/copyout() out of i386_{get,set}_ldt() and
Maxim Sobolev [Wed, 26 Jan 2005 13:59:46 +0000 (13:59 +0000)]
o Move copyin()/copyout() out of i386_{get,set}_ldt() and
  i386_{get,set}_ioperm() and make those APIs visible in the kernel namespace;

o use i386_{get,set}_ldt() and i386_{get,set}_ioperm() instead of sysarch()
  in the linuxlator, which allows to kill another two stackgaps.

MFC after: 2 weeks

19 years agoWe have floorl() now. Reflect this in the library config file.
Alexander Kabaev [Wed, 26 Jan 2005 13:57:22 +0000 (13:57 +0000)]
We have floorl() now. Reflect this in the library config file.

19 years agoOf all templates only lists need a special implmementation file compiled
Alexander Kabaev [Wed, 26 Jan 2005 13:56:27 +0000 (13:56 +0000)]
Of all templates only lists need a special implmementation file compiled
to support __GLIBCXX_DEBUG. Add debug_list.cc to the list of files to
compile.

19 years agoRespect the current setting of IFCAP_VLAN_HWTAGGING on
Yaroslav Tykhiy [Wed, 26 Jan 2005 13:44:47 +0000 (13:44 +0000)]
Respect the current setting of IFCAP_VLAN_HWTAGGING on
the interface when going to toggle VLAN support for
internal reasons.  If the IFCAP_VLAN_HWTAGGING bit is
cleared, we should rely on the (re)init routine to turn
VLAN support off and never touch the relevant hardware bits.

This applies to other capability bits, too.  The user
obviously has a reason for clearing a capability bit,
e.g., if his particular NIC is buggy and hangs if a
certain hardware capability is turned on even for a
fraction of a second.

The flag adapter->em_insert_vlan_header still is set or
reset irrespective of the IFCAP_VLAN_HWTAGGING setting,
as before, in order to handle the case when a user sets
promiscuous mode on an interface first and later turns
its IFCAP_VLAN_HWTAGGING bit on.

This change might look orthogonal to rev#1.85, but in fact
it is not.  It introduces bugfixes that hopefully will make
implementing the general scheme mentioned in the commit
message of rev#1.85 easier.

19 years agounbreak libthr binary compatibility.
David Xu [Wed, 26 Jan 2005 12:07:06 +0000 (12:07 +0000)]
unbreak libthr binary compatibility.

Reported by: kris

19 years agoDisable use of hardware VLAN tagging and stripping in if_em in the default
Robert Watson [Wed, 26 Jan 2005 11:40:58 +0000 (11:40 +0000)]
Disable use of hardware VLAN tagging and stripping in if_em in the default
configuration: it appears to work properly in the non-promiscuous case, but
we've not yet implemented a more general solution that maintains full
functionality with promiscuous mode enabled.  While my hope is that we can
get one implemented soon, this will improve functionality substantially in
the mean time.

MFC after: 3 days

19 years agoRename ng_callout_trapoline to ng_callout_trampoline.
Gleb Smirnoff [Wed, 26 Jan 2005 09:01:50 +0000 (09:01 +0000)]
Rename ng_callout_trapoline to ng_callout_trampoline.

Requested by: ru

19 years agoRemove useless errno.h include.
Suleiman Souhlal [Wed, 26 Jan 2005 06:51:28 +0000 (06:51 +0000)]
Remove useless errno.h include.

Approved by: grehan (mentor)
Obtained from: DragonFlyBSD

19 years agoRemove WARNS?= 6 from Makefile, since it is already in src/bin/Makefile.inc
Suleiman Souhlal [Wed, 26 Jan 2005 06:48:17 +0000 (06:48 +0000)]
Remove WARNS?= 6 from Makefile, since it is already in src/bin/Makefile.inc

Requested by: ru
Approved by: grehan (mentor)

19 years agoBump the document date.
Suleiman Souhlal [Wed, 26 Jan 2005 06:46:00 +0000 (06:46 +0000)]
Bump the document date.

Forgotten by: ssouhlal, simon, trhodes
Approved by: grehan (mentor)

19 years agoDocument the recent fsync(1) changes.
Suleiman Souhlal [Wed, 26 Jan 2005 06:42:45 +0000 (06:42 +0000)]
Document the recent fsync(1) changes.

Requested by: delphij
Reviewed by: simon, ru
Approved by: grehan (mentor)

19 years agoIn case of error, return errno, instead of 1.
Suleiman Souhlal [Wed, 26 Jan 2005 06:39:20 +0000 (06:39 +0000)]
In case of error, return errno, instead of 1.

Suggested by: delphij
Reviewed by: delphij
Approved by: grehan (mentor)

19 years agoCatchup to the iodata renaming
Warner Losh [Wed, 26 Jan 2005 06:30:55 +0000 (06:30 +0000)]
Catchup to the iodata renaming

19 years agoKill stray debugging line not fully removed
Warner Losh [Wed, 26 Jan 2005 05:40:37 +0000 (05:40 +0000)]
Kill stray debugging line not fully removed

19 years agoRework how we deal with the DL10019 and DL10022 cards (as well as the
Warner Losh [Wed, 26 Jan 2005 05:21:12 +0000 (05:21 +0000)]
Rework how we deal with the DL10019 and DL10022 cards (as well as the
AX88190 ones, but that one only minorly):
o don't set flags in the match routine.  They appear to be cleared
  when probe/attach is called.  Before this change, they were
  always treated as a simple ne2000, which would fail to get the
  right NIC address.
o Lookup device again in the probe routine and probe based on the
  cards that you see.
o Detect and report the DL10022 seprately from the DL10019 cards.

While I'm here:
o remove a bad printf
o change another bad printf to device_printf.
o minor style(9) formatting tweaks.

# note: a lot of OEM entries are in the ed_pccard_products such that we can
# likely remove, or collapse, many of them.

This makes all of my DL100xx cards at least probe the ethernet address
correctly, which it wasn't doing before.  I can't seem to locate my
AX88xxx based cards, so those haven't been tested, but they were
busted before the change so they can't be any worse now...

19 years agoRepair probe messages a bit. Previously, we'd print the ethernet
Warner Losh [Wed, 26 Jan 2005 05:12:16 +0000 (05:12 +0000)]
Repair probe messages a bit.  Previously, we'd print the ethernet
address, and additional information.  Then the printing of the
ethernet address was moved into ether_attach, and so we were printing
orphaned information about the card.  Now the probe message is
prefixed by edX:.  Prepare for it to move under bootverbose, but don't
move it there yet (the || 1 trick).

19 years agoThis should (finally) fix the 64-bit build. <sigh>
Tim Kientzle [Wed, 26 Jan 2005 03:28:37 +0000 (03:28 +0000)]
This should (finally) fix the 64-bit build. <sigh>

19 years ago - Regen
Jeff Roberson [Wed, 26 Jan 2005 02:29:18 +0000 (02:29 +0000)]
 - Regen

19 years ago - Struct mount is not yet locked well enough to allow
Jeff Roberson [Wed, 26 Jan 2005 02:28:43 +0000 (02:28 +0000)]
 - Struct mount is not yet locked well enough to allow
   mount/nmount/unmount to run without Giant.  Mark them as STD here.

19 years agoSplit out kernel side of msgctl(2) into two parts: the first that pops data
Maxim Sobolev [Wed, 26 Jan 2005 00:46:36 +0000 (00:46 +0000)]
Split out kernel side of msgctl(2) into two parts: the first that pops data
from the userland and pushes results back and the second which does
actual processing. Use the latter to eliminate stackgap in the linux wrapper
of that syscall.

MFC after:      2 weeks

19 years agoLinkage with -lobjc requires -lpthread nowadays.
Juli Mallett [Wed, 26 Jan 2005 00:17:03 +0000 (00:17 +0000)]
Linkage with -lobjc requires -lpthread nowadays.

19 years agoTurns out that Digital's DEPCM-BA and I-O Data PCLATE are both OEM
Warner Losh [Tue, 25 Jan 2005 23:15:20 +0000 (23:15 +0000)]
Turns out that Digital's DEPCM-BA and I-O Data PCLATE are both OEM
versions of the Racore PC Card Ethernet card.  Rearrange to reflect
this reality.  This ejects IODATA from 0x1bf, which belongs to Racore.

Thanks to Wilko for providing me with a dumpcis for the DEPCM card.

Also, added Nextcom Nexthawk card from NetBSD

19 years agoMore kern_{get,set}itiver() where they belong.
Maxim Sobolev [Tue, 25 Jan 2005 23:01:42 +0000 (23:01 +0000)]
More kern_{get,set}itiver() where they belong.

Submitted by: dwmalone
MFC after: 2 weeks

19 years agoDocument input line length limit.
Tim J. Robbins [Tue, 25 Jan 2005 22:32:48 +0000 (22:32 +0000)]
Document input line length limit.

19 years agoDocument message length limit.
Tim J. Robbins [Tue, 25 Jan 2005 22:24:04 +0000 (22:24 +0000)]
Document message length limit.

19 years agoWith recent changes to _callout_stop_safe() we can remove a hack
Gleb Smirnoff [Tue, 25 Jan 2005 22:08:19 +0000 (22:08 +0000)]
With recent changes to _callout_stop_safe() we can remove a hack
in ng_uncallout().

19 years agoSplit out kernel side of {get,set}itimer(2) into two parts: the first that
Maxim Sobolev [Tue, 25 Jan 2005 21:28:28 +0000 (21:28 +0000)]
Split out kernel side of {get,set}itimer(2) into two parts: the first that
pops data from the userland and pushes results back and the second which does
actual processing. Use the latter to eliminate stackgap in the linux wrappers
of those syscalls.

MFC after: 2 weeks

19 years agoAdd FreeBSD 4.11.
Maxim Konovalov [Tue, 25 Jan 2005 19:16:09 +0000 (19:16 +0000)]
Add FreeBSD 4.11.

19 years agoUse DIGITAL2 for DEPCM card
Warner Losh [Tue, 25 Jan 2005 18:50:25 +0000 (18:50 +0000)]
Use DIGITAL2 for DEPCM card

19 years agoUnbreak the Digital DEPCM-BA. Since it doesn't seem to have a proper
Warner Losh [Tue, 25 Jan 2005 18:31:45 +0000 (18:31 +0000)]
Unbreak the Digital DEPCM-BA.  Since it doesn't seem to have a proper
manufacturer ID, we need to use -1 rather than 0x100 when matching.
Do this by defining and using DIGITAL2 .

19 years agoApparently, the Intel icc compiler doesn't like it when you use
Bill Paul [Tue, 25 Jan 2005 17:00:54 +0000 (17:00 +0000)]
Apparently, the Intel icc compiler doesn't like it when you use
attributes in casts (i.e. foo = (__stdcall sometype)bar). This only
happens in two places where we need to set up function pointers, so
work around the problem with some void pointer magic.

19 years agoFix some signed/unsigned mismatches.
Tim Kientzle [Tue, 25 Jan 2005 16:55:28 +0000 (16:55 +0000)]
Fix some signed/unsigned mismatches.

Reported by: tinderbox
Pointy hat: me

19 years ago - Include LK_INTERLOCK in LK_EXTFLG_MASK so that it makes its way into
Jeff Roberson [Tue, 25 Jan 2005 16:06:05 +0000 (16:06 +0000)]
 - Include LK_INTERLOCK in LK_EXTFLG_MASK so that it makes its way into
   acquire.
 - Correct the condition that causes us to skip apause() to only require
   the presence of LK_INTERLOCK.

Sponsored by: Isilon Systems, Inc.

19 years agoAdd support for new chips, PL-2303X and PL-2303HX.
Shunsuke Akiyama [Tue, 25 Jan 2005 15:58:53 +0000 (15:58 +0000)]
Add support for new chips, PL-2303X and PL-2303HX.
Bump document date.

MFC after: 1 week

19 years agoIntroduce and use g_vfs_close().
Poul-Henning Kamp [Tue, 25 Jan 2005 15:52:04 +0000 (15:52 +0000)]
Introduce and use g_vfs_close().

19 years ago- Add support for new chips, PL-2303X and PL-2303HX.
Shunsuke Akiyama [Tue, 25 Jan 2005 14:38:21 +0000 (14:38 +0000)]
- Add support for new chips, PL-2303X and PL-2303HX.
- Update comment about datasheet.
- Fix minor typo in sysctl variable description.

Submitted by: Michal Mertl <mime@traveller.cz>
MFC after: 1 week

19 years agoGet rid of a NULL dereference when oid is too long.
Suleiman Souhlal [Tue, 25 Jan 2005 14:37:43 +0000 (14:37 +0000)]
Get rid of a NULL dereference when oid is too long.

Reviewed by: keramida
Approved by: grehan (mentor)
MFC after: 1 week

19 years ago- Make WARNS?= 6 clean
Suleiman Souhlal [Tue, 25 Jan 2005 14:34:57 +0000 (14:34 +0000)]
- Make WARNS?= 6 clean
- Add WARNS?= 6

Approved by: stefanf, grehan (mentor)

19 years ago- The first argument of getmode() is a void *
Suleiman Souhlal [Tue, 25 Jan 2005 14:31:19 +0000 (14:31 +0000)]
- The first argument of getmode() is a void *
- Add WARNS?= 6

Approved by: stefanf, grehan (mentor)
Obtained from: DragonFlyBSD

19 years ago- Make WARNS?= 6 clean
Suleiman Souhlal [Tue, 25 Jan 2005 14:28:31 +0000 (14:28 +0000)]
- Make WARNS?= 6 clean
- Add WARNS?= 6

Approved by: stefanf, grehan (mentor)

19 years agoRemove useless mode argument to open().
Suleiman Souhlal [Tue, 25 Jan 2005 14:25:18 +0000 (14:25 +0000)]
Remove useless mode argument to open().

Reported by: Liam J. Foy <liamfoy@gmail.com>
Approved by: grehan (mentor)

19 years ago- Remove useless includes
Suleiman Souhlal [Tue, 25 Jan 2005 14:22:20 +0000 (14:22 +0000)]
- Remove useless includes
- Add WARNS?= 6 to Makefile

Submitted by: Liam J. Foy <liamfoy@gmail.com>
Approved by: grehan (mentor)

19 years agoMention that 'options ALQ' is required when using KTR_ALQ.
Suleiman Souhlal [Tue, 25 Jan 2005 14:17:38 +0000 (14:17 +0000)]
Mention that 'options ALQ' is required when using KTR_ALQ.

Approved by: simon, trhodes, grehan (mentor)

19 years ago- Continue, in case of error.
Suleiman Souhlal [Tue, 25 Jan 2005 14:12:01 +0000 (14:12 +0000)]
- Continue, in case of error.
- Add WARNS?= 6

Submitted by: Liam J. Foy <liamfoy@gmail.com>
Approved by: stefanf, grehan (mentor)

19 years ago- Make find(1) WARNS?= 6 clean
Suleiman Souhlal [Tue, 25 Jan 2005 14:07:25 +0000 (14:07 +0000)]
- Make find(1) WARNS?= 6 clean
- Bump to WARNS?= 6

Approved by: stefanf, grehan (mentor)

19 years agoBump __FreeBSD_version to 600007 for the recent VFS gymnastics.
Poul-Henning Kamp [Tue, 25 Jan 2005 10:48:14 +0000 (10:48 +0000)]
Bump __FreeBSD_version to 600007 for the recent VFS gymnastics.

19 years ago - Make lf_print static and move its prototype into kern_lockf.c
Jeff Roberson [Tue, 25 Jan 2005 10:15:26 +0000 (10:15 +0000)]
 - Make lf_print static and move its prototype into kern_lockf.c
 - Protect all of the advlock code with Giant as some filesystems
   may not be entering with Giant held now.

Sponsored by: Isilon Systems, Inc.

19 years agolibpam is now standard.
Ruslan Ermilov [Tue, 25 Jan 2005 09:37:37 +0000 (09:37 +0000)]
libpam is now standard.

19 years agoMFV: Latest mdoc(7) fixes.
Ruslan Ermilov [Tue, 25 Jan 2005 09:32:56 +0000 (09:32 +0000)]
MFV: Latest mdoc(7) fixes.

19 years agoThis commit was generated by cvs2svn to compensate for changes in r140801,
Ruslan Ermilov [Tue, 25 Jan 2005 09:29:48 +0000 (09:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r140801,
which included commits to RCS files with non-trunk default branches.

19 years agoBring in latest mdoc(7) fixes over here.
Ruslan Ermilov [Tue, 25 Jan 2005 09:29:48 +0000 (09:29 +0000)]
Bring in latest mdoc(7) fixes over here.

19 years agoPreviously a read of zero bytes got handled in devfs:vop_read() but I
Poul-Henning Kamp [Tue, 25 Jan 2005 09:15:32 +0000 (09:15 +0000)]
Previously a read of zero bytes got handled in devfs:vop_read() but I
missed that when the vnode bypass was introduced.

Deal with zero length transfers before we even get to fo_ops->fo_read().

Found by: Slawa Olhovchenkov <slwzxy.spb.ru@zxy.spb.ru>
PR: 75758

19 years agoAdd quirk for easyRAID ER5 alias areca ARC-6010.
Michael Reifenberger [Tue, 25 Jan 2005 08:59:06 +0000 (08:59 +0000)]
Add quirk for easyRAID ER5 alias areca ARC-6010.
It reports itself as SCSI-3 but doesnt like getting probed on  high luns
because it hangs hard after finding itself again on lun 32...

Suggested by: Kenneth Merry

19 years agoRemove dummy vendor id for DIGITAL now that we have the real one.
Poul-Henning Kamp [Tue, 25 Jan 2005 08:51:28 +0000 (08:51 +0000)]
Remove dummy vendor id for DIGITAL now that we have the real one.

19 years agoUse new style declarations instead of K&R ones.
Xin LI [Tue, 25 Jan 2005 08:40:51 +0000 (08:40 +0000)]
Use new style declarations instead of K&R ones.

19 years agoUse modern style defination for main() and move a extern
Xin LI [Tue, 25 Jan 2005 08:37:04 +0000 (08:37 +0000)]
Use modern style defination for main() and move a extern
declaration to global section.

Bump WARNS?= to 6

19 years agoCode style tweaks: Use static and const where suitable.
Xin LI [Tue, 25 Jan 2005 08:24:06 +0000 (08:24 +0000)]
Code style tweaks:  Use static and const where suitable.

19 years agoThe kernel specified in main() of reboot(8) will be initialized
Xin LI [Tue, 25 Jan 2005 08:14:00 +0000 (08:14 +0000)]
The kernel specified in main() of reboot(8) will be initialized
with -k option and never be used without kflag.  This confuses
gcc because we set "kflag" at the same time with "kernel", but
the logic is not that apparant for gcc.

Since we can initialize "kernel" to NULL then know if "k" option
is set through determining whether it is still NULL, don't try
to have gcc to guess why we are connecting "kflag" with "kernel"
and use "kernel" directly in place of kflag.

Bump WARNS?= from 2 to 6

19 years agoMinor whitespace cleanup
Warner Losh [Tue, 25 Jan 2005 07:46:47 +0000 (07:46 +0000)]
Minor whitespace cleanup
Add Digitial vendor ID (from NetBSD)
Add Anycom vendor and products (from NetBSD)

19 years agoAdd NEXTCOM NEXTHAWK ethernet card.
Warner Losh [Tue, 25 Jan 2005 07:25:49 +0000 (07:25 +0000)]
Add NEXTCOM NEXTHAWK ethernet card.

From NetBSD

19 years agoBasic support for ZIP archives.
Tim Kientzle [Tue, 25 Jan 2005 06:07:28 +0000 (06:07 +0000)]
Basic support for ZIP archives.
Only supports "deflate" and "none" compression for now.

Also, add a few clarifications to the archive_read.3 manpage as
requested by William Dean DeVries.

19 years agoRemove obsolete comment from head this time. The RELENG_5 commit was
Warner Losh [Tue, 25 Jan 2005 04:45:25 +0000 (04:45 +0000)]
Remove obsolete comment from head this time.  The RELENG_5 commit was
accidental, but harmless and correct so I'll not be reverting it unless
there's some hidden damage I can't see right now...

19 years agoAdd "NTP pool servers" to the list, including Worldwide, Asia, Europe,
Makoto Matsushita [Tue, 25 Jan 2005 02:56:17 +0000 (02:56 +0000)]
Add "NTP pool servers" to the list, including Worldwide, Asia, Europe,
Oceania, and North America.

Obtained from: http://ntp.isc.org/bin/view/Servers/NTPPoolServers
MFC after: 1 week

19 years agontp.cyber-fleet.net is not in DNS database, remove it.
Makoto Matsushita [Tue, 25 Jan 2005 02:51:47 +0000 (02:51 +0000)]
ntp.cyber-fleet.net is not in DNS database, remove it.

Reported by: sarumaru at ReichaNet IRC, users-jp@jp.FreeBSD.org, etc.

19 years agoAdd MagicRAM PC Card Ethernet as ne2000 clone
Warner Losh [Tue, 25 Jan 2005 02:50:58 +0000 (02:50 +0000)]
Add MagicRAM PC Card Ethernet as ne2000 clone

19 years agoTake a swing at using roundup().
Juli Mallett [Tue, 25 Jan 2005 01:35:02 +0000 (01:35 +0000)]
Take a swing at using roundup().

19 years agoTake VOP_GETVOBJECT() out to pasture. We use the direct pointer now.
Poul-Henning Kamp [Tue, 25 Jan 2005 00:42:16 +0000 (00:42 +0000)]
Take VOP_GETVOBJECT() out to pasture.  We use the direct pointer now.

19 years agoDon't use VOP_GETVOBJECT, use vp->v_object directly.
Poul-Henning Kamp [Tue, 25 Jan 2005 00:40:01 +0000 (00:40 +0000)]
Don't use VOP_GETVOBJECT, use vp->v_object directly.

19 years agoKill VOP_CREATEVOBJECT(), it is now the responsibility of the filesystem
Poul-Henning Kamp [Tue, 25 Jan 2005 00:12:24 +0000 (00:12 +0000)]
Kill VOP_CREATEVOBJECT(), it is now the responsibility of the filesystem
for a given vnode to create a vnode_pager object if one is needed.

19 years agoDon't implement vop_createvobject(), vop_open() and vop_close() manages
Poul-Henning Kamp [Mon, 24 Jan 2005 23:54:45 +0000 (23:54 +0000)]
Don't implement vop_createvobject(), vop_open() and vop_close() manages
this for nullfs now.

19 years agoDon't call VOP_CREATEVOBJECT(), it's the responsibility of the
Poul-Henning Kamp [Mon, 24 Jan 2005 23:53:54 +0000 (23:53 +0000)]
Don't call VOP_CREATEVOBJECT(), it's the responsibility of the
filesystem which owns the vnode.

19 years agoCreate a vnode object when the file is opened. Trust that we did so.
Poul-Henning Kamp [Mon, 24 Jan 2005 23:04:33 +0000 (23:04 +0000)]
Create a vnode object when the file is opened.  Trust that we did so.

19 years agoCreate a vnode_pager object when a file is opened.
Poul-Henning Kamp [Mon, 24 Jan 2005 23:03:29 +0000 (23:03 +0000)]
Create a vnode_pager object when a file is opened.

19 years agoAdd null_open() and null_close() which calls null_bypass() and managed
Poul-Henning Kamp [Mon, 24 Jan 2005 22:56:24 +0000 (22:56 +0000)]
Add null_open() and null_close() which calls null_bypass() and managed
the v_object pointer.

19 years agoAcquire the raw_cb mutex around LIST_REMOVE() of a raw socket control
Robert Watson [Mon, 24 Jan 2005 22:56:09 +0000 (22:56 +0000)]
Acquire the raw_cb mutex around LIST_REMOVE() of a raw socket control
block from the global raw socket list.

Submitted by: Roselyn Lee <rosel at verniernetworks dot com>
MFC after: 1 week

19 years agoDon't create vnode_pager objects for the disk device.
Poul-Henning Kamp [Mon, 24 Jan 2005 22:41:59 +0000 (22:41 +0000)]
Don't create vnode_pager objects for the disk device.
geom_vfs will do that.

19 years agoCreate a correctly sized vnode objects for disk devices.
Poul-Henning Kamp [Mon, 24 Jan 2005 22:41:21 +0000 (22:41 +0000)]
Create a correctly sized vnode objects for disk devices.

19 years agoEliminate the constant flags argument to vclean()
Poul-Henning Kamp [Mon, 24 Jan 2005 22:22:02 +0000 (22:22 +0000)]
Eliminate the constant flags argument to vclean()

19 years agoAdd a reference to the periodic.conf(5) manual page.
Giorgos Keramidas [Mon, 24 Jan 2005 22:21:13 +0000 (22:21 +0000)]
Add a reference to the periodic.conf(5) manual page.

Suggested by: simon

19 years agoDon't try to create vnode_pager objects on other filesystems vnodes,
Poul-Henning Kamp [Mon, 24 Jan 2005 22:09:13 +0000 (22:09 +0000)]
Don't try to create vnode_pager objects on other filesystems vnodes,
either they did it themselves or it won't happen.

19 years agoAdd a reference to rc.conf(5).
Giorgos Keramidas [Mon, 24 Jan 2005 21:52:32 +0000 (21:52 +0000)]
Add a reference to rc.conf(5).

PR: docs/35648
Submitted by: Gary W. Swearingen

19 years agoCreate a vp->v_object in VFS_FHTOVP() if we want to be exportable
Poul-Henning Kamp [Mon, 24 Jan 2005 21:51:19 +0000 (21:51 +0000)]
Create a vp->v_object in VFS_FHTOVP() if we want to be exportable
with NFS.

We are moving responsibility for creating the vnode_pager object into
the filesystems which own the vnode, and this is one of the places
we have to cover.

We call vnode_create_vobject() directly because we own the vnode.

If we can get the size easily, pass it as an argument to save the
call to VOP_GETATTR() in vnode_create_vobject()

19 years agoMove the body of vop_stdcreatevobject() over to the vnode_pager under
Poul-Henning Kamp [Mon, 24 Jan 2005 21:21:59 +0000 (21:21 +0000)]
Move the body of vop_stdcreatevobject() over to the vnode_pager under
the name Sande^H^H^H^H^Hvnode_create_vobject().

Make the new function take a size argument which removes the need for
a VOP_STAT() or a very pessimistic guess for disks.

Call that new function from vop_stdcreatevobject().

Make vnode_pager_alloc() private now that its only user came home.

19 years agoupdate node reference count debug msgs to include the node address
Sam Leffler [Mon, 24 Jan 2005 20:50:20 +0000 (20:50 +0000)]
update node reference count debug msgs to include the node address
since the mac address may not be sufficient to uniquely identify a node

19 years agoEISCONN may be returned by sendto() if an attempt is made to specify the
Giorgos Keramidas [Mon, 24 Jan 2005 20:41:44 +0000 (20:41 +0000)]
EISCONN may be returned by sendto() if an attempt is made to specify the
destination address to a datagram socket that is already connected.

Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>
PR: docs/76399
MFC after: 1 week

19 years agoclear IEEE80211_F_WMEUPDATE when building the initial beacon frame so we
Sam Leffler [Mon, 24 Jan 2005 20:41:12 +0000 (20:41 +0000)]
clear IEEE80211_F_WMEUPDATE when building the initial beacon frame so we
don't do an update on the first beacon

19 years agonoop change so RUN->RUN transition isn't considered invalid
Sam Leffler [Mon, 24 Jan 2005 20:39:29 +0000 (20:39 +0000)]
noop change so RUN->RUN transition isn't considered invalid
(it happens on ibss merge)

19 years agoadd macros to convert between txop's and usecs
Sam Leffler [Mon, 24 Jan 2005 20:38:26 +0000 (20:38 +0000)]
add macros to convert between txop's and usecs

19 years agoFixup radiotap handling of FCS and QoS frames per discussion with David Young:
Sam Leffler [Mon, 24 Jan 2005 20:31:24 +0000 (20:31 +0000)]
Fixup radiotap handling of FCS and QoS frames per discussion with David Young:
o mark rx frames including FCS in the payload with the
  IEEE80211_RADIOTAP_F_FCS flag
o remove hack to copy 802.11 headers with padding out of line; instead mark
  the frames with IEEE80211_RADIOTAP_F_DATAPAD and require applications to
  do the work
o split precalculated radiotap flags into tx+rx now that they can be different

Note the full usefulness of these changes depends on updates to applications
that process radiotap data.

19 years agospell "file system" correctly
Philippe Charnier [Mon, 24 Jan 2005 20:06:16 +0000 (20:06 +0000)]
spell "file system" correctly

Approved by: ru

19 years agobeacon handling fixups for adhoc mode:
Sam Leffler [Mon, 24 Jan 2005 20:05:03 +0000 (20:05 +0000)]
beacon handling fixups for adhoc mode:
o don't reclaim any previous beacon state in ath_beacon_alloc; do it
  explicitly in ath_newstate
o reference count the node held in the beacon frame state block
o process ibss merge more intelligently; let the state machine do the
  right thing instead of explicitly setting the new bssi id
o explicitly stop tx dma before doing beacon setup to handle the ibss
  merge case

19 years agospell "file system" correctly
Philippe Charnier [Mon, 24 Jan 2005 20:01:28 +0000 (20:01 +0000)]
spell "file system" correctly

Approved by:  ru

19 years agospell "file system" correctly
Philippe Charnier [Mon, 24 Jan 2005 19:58:05 +0000 (19:58 +0000)]
spell "file system" correctly
Approved by: ru

19 years agoswitch to use bus_dmamap_load_mbuf_sg
Sam Leffler [Mon, 24 Jan 2005 19:51:59 +0000 (19:51 +0000)]
switch to use bus_dmamap_load_mbuf_sg

19 years agoo correct beacon interval calculation; the internal setting is in TU's not ms
Sam Leffler [Mon, 24 Jan 2005 19:45:59 +0000 (19:45 +0000)]
o correct beacon interval calculation; the internal setting is in TU's not ms
o replace the private macro to convert MS->TU with the common one

19 years agoo clarify that beacon interval settings are in TU's, not ms
Sam Leffler [Mon, 24 Jan 2005 19:39:07 +0000 (19:39 +0000)]
o clarify that beacon interval settings are in TU's, not ms
o add macros to convert between TU's and ms

19 years agostatically allocate the station/neighbor node table; the deferred
Sam Leffler [Mon, 24 Jan 2005 19:32:10 +0000 (19:32 +0000)]
statically allocate the station/neighbor node table; the deferred
allocation scheme introduced a race condition during device state
transitions

19 years agoThere have been a substantial number of changes to this file from the
Warner Losh [Mon, 24 Jan 2005 19:13:47 +0000 (19:13 +0000)]
There have been a substantial number of changes to this file from the
NetBSD original, so add our copyright notice as well.