summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If CDSR_OFLOW (stty dsrflow) is enabled on one or both sides of aphk2005-01-261-14/+128
| | | | | | | | | | | | null-modem tty device emulate the speed settings faithfully. The speed is emulated independently for the two directions, using the slower of the local sides ispeed and the remote sides ospeed. The emulated speed takes settings of bits/char, parity and stopbit into account. Inspired by: The BSD-DK Editor Celebrity Deathmatch Contest
* Add required ingimp2005-01-261-1/+1
|
* Add -fno-strict-alias whenever someone is compiling with -O2,imp2005-01-261-0/+1
| | | | unconditionally.
* Add cs module. It has built in my tree for ages, and it just neverimp2005-01-261-0/+2
| | | | made it into FreeBSD's tree.
* The tinderbox seems to have a different set of compiler optionsimp2005-01-261-0/+1
| | | | | enabled than my box, so the agp module gets different warnings than I got when I built. WERROR= to compensate.
* Add a few colons.ru2005-01-261-3/+3
| | | | Submitted by: Joel Dahl
* Forced commit to note that in the previous commit messageyar2005-01-260-0/+0
| | | | | | | (rev#1.59) I mistyped references to rev#1.58 as `rev#1.85'. Shame on me. Pointed out by: will
* Fix quoting of the MAKEFLAGS environment variable by only quoting spacesharti2005-01-265-11/+146
| | | | | | | | | | and tabs. This is still not correct for command line variable values ending in a backslash because this would require a larger effort. Document this limitation in the BUGS section of the man page. The quoting is mostly compatible with that of gmake and smake. Tested by: Max Okumoto and Joerg Sonnenberger from DragonFly BSD Reviewed by: ru (man page, partly)
* Correct a typo in the definition of _PW_VERSION_MASK. This macro isnectar2005-01-261-3/+3
| | | | | | currently unused other than as documentation. Reported by: Stefan Farfeleder <stefan@fafoe.narf.at>
* Add WERRROR= to work around the warningsimp2005-01-264-0/+4
|
* Generally force -Werror for modules when not compiling with icc. Thisimp2005-01-261-0/+3
| | | | has burned me for the last time.
* Correct some style nits that I have mistakenly submitted asdelphij2005-01-261-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | suggestions which result in the last revision[*]: - style(9) and sysexits(3) suggests that we use EX_* as exit values, instead of some other values like those returned from a system call as errno. Additionally, follow Ruslan's suggestion about style(9) and other style improvements: - Since open(2) says that it returns -1 on errors, explicitly determine whether it is returning -1 rather than whether the return value is less than zero. - Only set rval when there is no previous error. This distinguishes the first error that occours. - Use exit() in favor of return in main(), this is suggested in old style(9), while the evolve has fade the suggestion. - Add some NOTREACHED comments. - Add blank line after first { because no local variables in usage() Thanks to Ruslan for his tireless explaining of the code standards and knowledge of the history of style(9). [*] Pointy hat to: me Submitted by: ru (with some minor changes) Discussed with: ru, ssouhlal
* More math functions.kan2005-01-261-3/+3
| | | | Prodded by: stefanf
* Remove unused static declaration of ed_pccard_dl100xx(), which probablyrwatson2005-01-261-1/+0
| | | | | | | accidentally snuck into a prior commit to if_ed, and prevented building with -Werror. Pointed out by: csjp
* o Move copyin()/copyout() out of i386_{get,set}_ldt() andsobomax2005-01-263-124/+124
| | | | | | | | | 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
* We have floorl() now. Reflect this in the library config file.kan2005-01-261-1/+1
|
* Of all templates only lists need a special implmementation file compiledkan2005-01-261-8/+9
| | | | | to support __GLIBCXX_DEBUG. Add debug_list.cc to the list of files to compile.
* Respect the current setting of IFCAP_VLAN_HWTAGGING onyar2005-01-261-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* unbreak libthr binary compatibility.davidxu2005-01-261-2/+2
| | | | Reported by: kris
* Disable use of hardware VLAN tagging and stripping in if_em in the defaultrwatson2005-01-261-1/+1
| | | | | | | | | | 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
* Rename ng_callout_trapoline to ng_callout_trampoline.glebius2005-01-261-3/+3
| | | | Requested by: ru
* Remove useless errno.h include.ssouhlal2005-01-261-1/+0
| | | | | Approved by: grehan (mentor) Obtained from: DragonFlyBSD
* Remove WARNS?= 6 from Makefile, since it is already in src/bin/Makefile.incssouhlal2005-01-261-1/+0
| | | | | Requested by: ru Approved by: grehan (mentor)
* Bump the document date.ssouhlal2005-01-261-1/+1
| | | | | Forgotten by: ssouhlal, simon, trhodes Approved by: grehan (mentor)
* Document the recent fsync(1) changes.ssouhlal2005-01-261-1/+6
| | | | | | Requested by: delphij Reviewed by: simon, ru Approved by: grehan (mentor)
* In case of error, return errno, instead of 1.ssouhlal2005-01-261-2/+3
| | | | | | Suggested by: delphij Reviewed by: delphij Approved by: grehan (mentor)
* Catchup to the iodata renamingimp2005-01-261-1/+1
|
* Kill stray debugging line not fully removedimp2005-01-261-1/+1
|
* Rework how we deal with the DL10019 and DL10022 cards (as well as theimp2005-01-261-35/+28
| | | | | | | | | | | | | | | | | | | | | | | | 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...
* Repair probe messages a bit. Previously, we'd print the ethernetimp2005-01-261-14/+17
| | | | | | | | 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).
* This should (finally) fix the 64-bit build. <sigh>kientzle2005-01-261-1/+1
|
* - Regenjeff2005-01-261-3/+3
|
* - Struct mount is not yet locked well enough to allowjeff2005-01-261-3/+3
| | | | mount/nmount/unmount to run without Giant. Mark them as STD here.
* Split out kernel side of msgctl(2) into two parts: the first that pops datasobomax2005-01-263-38/+50
| | | | | | | | 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
* Linkage with -lobjc requires -lpthread nowadays.jmallett2005-01-261-1/+1
|
* Turns out that Digital's DEPCM-BA and I-O Data PCLATE are both OEMimp2005-01-252-9/+9
| | | | | | | | | 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
* More kern_{get,set}itiver() where they belong.sobomax2005-01-252-3/+4
| | | | | Submitted by: dwmalone MFC after: 2 weeks
* Document input line length limit.tjr2005-01-254-4/+20
|
* Document message length limit.tjr2005-01-251-1/+3
|
* With recent changes to _callout_stop_safe() we can remove a hackglebius2005-01-251-6/+1
| | | | in ng_uncallout().
* Split out kernel side of {get,set}itimer(2) into two parts: the first thatsobomax2005-01-253-98/+91
| | | | | | | | 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
* Add FreeBSD 4.11.maxim2005-01-251-0/+3
|
* Use DIGITAL2 for DEPCM cardimp2005-01-251-1/+1
|
* Unbreak the Digital DEPCM-BA. Since it doesn't seem to have a properimp2005-01-251-1/+2
| | | | | manufacturer ID, we need to use -1 rather than 0x100 when matching. Do this by defining and using DIGITAL2 .
* Apparently, the Intel icc compiler doesn't like it when you usewpaul2005-01-254-4/+4
| | | | | | 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.
* Fix some signed/unsigned mismatches.kientzle2005-01-251-12/+14
| | | | | Reported by: tinderbox Pointy hat: me
* - Include LK_INTERLOCK in LK_EXTFLG_MASK so that it makes its way intojeff2005-01-252-2/+2
| | | | | | | | acquire. - Correct the condition that causes us to skip apause() to only require the presence of LK_INTERLOCK. Sponsored by: Isilon Systems, Inc.
* Add support for new chips, PL-2303X and PL-2303HX.akiyama2005-01-251-3/+4
| | | | | | Bump document date. MFC after: 1 week
* Introduce and use g_vfs_close().phk2005-01-2511-18/+30
|
* - Add support for new chips, PL-2303X and PL-2303HX.akiyama2005-01-251-21/+159
| | | | | | | | - Update comment about datasheet. - Fix minor typo in sysctl variable description. Submitted by: Michal Mertl <mime@traveller.cz> MFC after: 1 week
OpenPOWER on IntegriCloud