Commit graph

111615 commits

Author SHA1 Message Date
Alexander Kabaev 3a1a8495d2 We have floorl() now. Reflect this in the library config file. 2005-01-26 13:57:22 +00:00
Alexander Kabaev 44c3d0c80d 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.
2005-01-26 13:56:27 +00:00
Yaroslav Tykhiy c96a57bbf5 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.
2005-01-26 13:44:47 +00:00
David Xu 22e556d59c unbreak libthr binary compatibility.
Reported by: kris
2005-01-26 12:07:06 +00:00
Robert Watson de13c80e9b 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
2005-01-26 11:40:58 +00:00
Gleb Smirnoff 1fbb36ff80 Rename ng_callout_trapoline to ng_callout_trampoline.
Requested by:	ru
2005-01-26 09:01:50 +00:00
Suleiman Souhlal c591aa7413 Remove useless errno.h include.
Approved by:	grehan (mentor)
Obtained from:	DragonFlyBSD
2005-01-26 06:51:28 +00:00
Suleiman Souhlal 3118731323 Remove WARNS?= 6 from Makefile, since it is already in src/bin/Makefile.inc
Requested by:	ru
Approved by:	grehan (mentor)
2005-01-26 06:48:17 +00:00
Suleiman Souhlal 41d9cf82ee Bump the document date.
Forgotten by:	ssouhlal, simon, trhodes
Approved by:	grehan (mentor)
2005-01-26 06:46:00 +00:00
Suleiman Souhlal 87d8e3c2bb Document the recent fsync(1) changes.
Requested by:	delphij
Reviewed by:	simon, ru
Approved by:	grehan (mentor)
2005-01-26 06:42:45 +00:00
Suleiman Souhlal 379b60989a In case of error, return errno, instead of 1.
Suggested by:	delphij
Reviewed by:	delphij
Approved by:	grehan (mentor)
2005-01-26 06:39:20 +00:00
Warner Losh 72217cb810 Catchup to the iodata renaming 2005-01-26 06:30:55 +00:00
Warner Losh b660732977 Kill stray debugging line not fully removed 2005-01-26 05:40:37 +00:00
Warner Losh 0158a52468 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...
2005-01-26 05:21:12 +00:00
Warner Losh 4550f56d6f 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).
2005-01-26 05:12:16 +00:00
Tim Kientzle 094855db71 This should (finally) fix the 64-bit build. <sigh> 2005-01-26 03:28:37 +00:00
Jeff Roberson 37f32177bd - Regen 2005-01-26 02:29:18 +00:00
Jeff Roberson 810ad5ec4c - Struct mount is not yet locked well enough to allow
mount/nmount/unmount to run without Giant.  Mark them as STD here.
2005-01-26 02:28:43 +00:00
Maxim Sobolev f4b6eb045f 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
2005-01-26 00:46:36 +00:00
Juli Mallett 372ef8405c Linkage with -lobjc requires -lpthread nowadays. 2005-01-26 00:17:03 +00:00
Warner Losh f882eb5dad 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
2005-01-25 23:15:20 +00:00
Maxim Sobolev 23af91dc6d More kern_{get,set}itiver() where they belong.
Submitted by:	dwmalone
MFC after:	2 weeks
2005-01-25 23:01:42 +00:00
Tim J. Robbins d99e92769c Document input line length limit. 2005-01-25 22:32:48 +00:00
Tim J. Robbins a7a223c342 Document message length limit. 2005-01-25 22:24:04 +00:00
Gleb Smirnoff 7b26345646 With recent changes to _callout_stop_safe() we can remove a hack
in ng_uncallout().
2005-01-25 22:08:19 +00:00
Maxim Sobolev cfa0efe7ab 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
2005-01-25 21:28:28 +00:00
Maxim Konovalov c80f5eee7f Add FreeBSD 4.11. 2005-01-25 19:16:09 +00:00
Warner Losh f52dffcb2a Use DIGITAL2 for DEPCM card 2005-01-25 18:50:25 +00:00
Warner Losh 17e7b2783f 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 .
2005-01-25 18:31:45 +00:00
Bill Paul 26805b1855 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.
2005-01-25 17:00:54 +00:00
Tim Kientzle 1019b76f79 Fix some signed/unsigned mismatches.
Reported by: tinderbox
Pointy hat: me
2005-01-25 16:55:28 +00:00
Jeff Roberson 04186764a4 - 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.
2005-01-25 16:06:05 +00:00
Shunsuke Akiyama b58e7b4cc5 Add support for new chips, PL-2303X and PL-2303HX.
Bump document date.

MFC after:	1 week
2005-01-25 15:58:53 +00:00
Poul-Henning Kamp 84a6975215 Introduce and use g_vfs_close(). 2005-01-25 15:52:04 +00:00
Shunsuke Akiyama 7db2e52424 - 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
2005-01-25 14:38:21 +00:00
Suleiman Souhlal 1d4961c06f Get rid of a NULL dereference when oid is too long.
Reviewed by:	keramida
Approved by:	grehan (mentor)
MFC after:	1 week
2005-01-25 14:37:43 +00:00
Suleiman Souhlal e80dde60e3 - Make WARNS?= 6 clean
- Add WARNS?= 6

Approved by:	stefanf, grehan (mentor)
2005-01-25 14:34:57 +00:00
Suleiman Souhlal 3ac2b17742 - The first argument of getmode() is a void *
- Add WARNS?= 6

Approved by:	stefanf, grehan (mentor)
Obtained from:	DragonFlyBSD
2005-01-25 14:31:19 +00:00
Suleiman Souhlal 6449237fe6 - Make WARNS?= 6 clean
- Add WARNS?= 6

Approved by:	stefanf, grehan (mentor)
2005-01-25 14:28:31 +00:00
Suleiman Souhlal e65b439414 Remove useless mode argument to open().
Reported by:	Liam J. Foy <liamfoy@gmail.com>
Approved by:	grehan (mentor)
2005-01-25 14:25:18 +00:00
Suleiman Souhlal 4dd5ff1fce - Remove useless includes
- Add WARNS?= 6 to Makefile

Submitted by:	Liam J. Foy <liamfoy@gmail.com>
Approved by:	grehan (mentor)
2005-01-25 14:22:20 +00:00
Suleiman Souhlal 1fbff2d146 Mention that 'options ALQ' is required when using KTR_ALQ.
Approved by:	simon, trhodes, grehan (mentor)
2005-01-25 14:17:38 +00:00
Suleiman Souhlal e5faa1a423 - Continue, in case of error.
- Add WARNS?= 6

Submitted by:	Liam J. Foy <liamfoy@gmail.com>
Approved by:	stefanf, grehan (mentor)
2005-01-25 14:12:01 +00:00
Suleiman Souhlal 46c2bd6103 - Make find(1) WARNS?= 6 clean
- Bump to WARNS?= 6

Approved by:	stefanf, grehan (mentor)
2005-01-25 14:07:25 +00:00
Poul-Henning Kamp a18a49dcba Bump __FreeBSD_version to 600007 for the recent VFS gymnastics. 2005-01-25 10:48:14 +00:00
Jeff Roberson 013e6650ca - 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.
2005-01-25 10:15:26 +00:00
Ruslan Ermilov b58635504c libpam is now standard. 2005-01-25 09:37:37 +00:00
Ruslan Ermilov 2ed83d261b MFV: Latest mdoc(7) fixes. 2005-01-25 09:32:56 +00:00
Ruslan Ermilov 3899af05ce This commit was generated by cvs2svn to compensate for changes in r140801,
which included commits to RCS files with non-trunk default branches.
2005-01-25 09:29:48 +00:00
Ruslan Ermilov bc33253bf8 Bring in latest mdoc(7) fixes over here. 2005-01-25 09:29:48 +00:00