]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoWrite cs_detach() and use it. This resolves the twin problems of the
imp [Thu, 27 Jan 2005 04:51:44 +0000 (04:51 +0000)]
Write cs_detach() and use it.  This resolves the twin problems of the
cs1 interface linger on card eject, as well as the warnings about the
card still using resources.  Ooops.

19 years agoAdd back support for D-LINK DMR-650TX, and all the other OEMd versions
imp [Thu, 27 Jan 2005 02:37:39 +0000 (02:37 +0000)]
Add back support for D-LINK DMR-650TX, and all the other OEMd versions
of this card (evidentally MultiMobile also sold this card as
MT5634ZLXI/E).

Reported by: Bastian Brinkman

19 years agoMove 143 back to its rightful owner: Grey Cell systems, which OEMd enet cards
imp [Thu, 27 Jan 2005 02:33:03 +0000 (02:33 +0000)]
Move 143 back to its rightful owner: Grey Cell systems, which OEMd enet cards

19 years ago64-bit clean fixes: Use %zx in preference to %x to print size_t items.
imp [Thu, 27 Jan 2005 01:49:23 +0000 (01:49 +0000)]
64-bit clean fixes: Use %zx in preference to %x to print size_t items.
Cast a byte to uint8_t before printing.

19 years agoar and sr (and their netgraph cousins) don't appear to be 64-bit clean, so
imp [Thu, 27 Jan 2005 01:45:15 +0000 (01:45 +0000)]
ar and sr (and their netgraph cousins) don't appear to be 64-bit clean, so
disable them on all but i386.

19 years agoFix a few printf problems on ia64 (and other 64-bit platforms).
imp [Thu, 27 Jan 2005 01:40:12 +0000 (01:40 +0000)]
Fix a few printf problems on ia64 (and other 64-bit platforms).

19 years agoAdd PCI ID for Dell RAC IV/ERA Virtual UART (PowerEdge 1850).
bms [Thu, 27 Jan 2005 01:17:32 +0000 (01:17 +0000)]
Add PCI ID for Dell RAC IV/ERA Virtual UART (PowerEdge 1850).
Trim name of existing Dell RAC devices. Trim comments.

With help from: dpk at dpk dot net
MFC after: 1 week

19 years agoThe ar driver appears to do naughty things with pointers and integers
imp [Thu, 27 Jan 2005 01:12:58 +0000 (01:12 +0000)]
The ar driver appears to do naughty things with pointers and integers
and so appears to not be 64-bit clean.  disable it on ia64 for the moment.

19 years agopcic is gone
imp [Thu, 27 Jan 2005 00:33:17 +0000 (00:33 +0000)]
pcic is gone

19 years agoRemove policy references to mpo_check_vnode_mprotect(), which is
rwatson [Wed, 26 Jan 2005 23:43:32 +0000 (23:43 +0000)]
Remove policy references to mpo_check_vnode_mprotect(), which is
currently unimplemented.

Update copyrights.

Pointed out by: csjp

19 years agoIf CDSR_OFLOW (stty dsrflow) is enabled on one or both sides of a
phk [Wed, 26 Jan 2005 23:42:18 +0000 (23:42 +0000)]
If CDSR_OFLOW (stty dsrflow) is enabled on one or both sides of a
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

19 years agoAdd required ing
imp [Wed, 26 Jan 2005 23:27:12 +0000 (23:27 +0000)]
Add required ing

19 years agoAdd -fno-strict-alias whenever someone is compiling with -O2,
imp [Wed, 26 Jan 2005 21:35:55 +0000 (21:35 +0000)]
Add -fno-strict-alias whenever someone is compiling with -O2,
unconditionally.

19 years agoAdd cs module. It has built in my tree for ages, and it just never
imp [Wed, 26 Jan 2005 21:27:26 +0000 (21:27 +0000)]
Add cs module.  It has built in my tree for ages, and it just never
made it into FreeBSD's tree.

19 years agoThe tinderbox seems to have a different set of compiler options
imp [Wed, 26 Jan 2005 21:18:58 +0000 (21:18 +0000)]
The tinderbox seems to have a different set of compiler options
enabled than my box, so the agp module gets different warnings than I
got when I built.  WERROR= to compensate.

19 years agoAdd a few colons.
ru [Wed, 26 Jan 2005 20:50:52 +0000 (20:50 +0000)]
Add a few colons.

Submitted by: Joel Dahl

19 years agoForced commit to note that in the previous commit message
yar [Wed, 26 Jan 2005 19:45:51 +0000 (19:45 +0000)]
Forced commit to note that in the previous commit message
(rev#1.59) I mistyped references to rev#1.58 as `rev#1.85'.
Shame on me.

Pointed out by: will

19 years agoFix quoting of the MAKEFLAGS environment variable by only quoting spaces
harti [Wed, 26 Jan 2005 18:19:39 +0000 (18:19 +0000)]
Fix quoting of the MAKEFLAGS environment variable by only quoting spaces
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)

19 years agoCorrect a typo in the definition of _PW_VERSION_MASK. This macro is
nectar [Wed, 26 Jan 2005 17:26:54 +0000 (17:26 +0000)]
Correct a typo in the definition of _PW_VERSION_MASK.  This macro is
currently unused other than as documentation.

Reported by:  Stefan Farfeleder <stefan@fafoe.narf.at>

19 years agoAdd WERRROR= to work around the warnings
imp [Wed, 26 Jan 2005 16:29:07 +0000 (16:29 +0000)]
Add WERRROR= to work around the warnings

19 years agoGenerally force -Werror for modules when not compiling with icc. This
imp [Wed, 26 Jan 2005 15:49:23 +0000 (15:49 +0000)]
Generally force -Werror for modules when not compiling with icc.  This
has burned me for the last time.

19 years agoCorrect some style nits that I have mistakenly submitted as
delphij [Wed, 26 Jan 2005 15:17:25 +0000 (15:17 +0000)]
Correct some style nits that I have mistakenly submitted as
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

19 years agoMore math functions.
kan [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
rwatson [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
sobomax [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.
kan [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
kan [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
yar [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.
davidxu [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
rwatson [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.
glebius [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.
ssouhlal [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
ssouhlal [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.
ssouhlal [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.
ssouhlal [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.
ssouhlal [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
imp [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
imp [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
imp [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
imp [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>
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 [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 [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
sobomax [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.
jmallett [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
imp [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.
sobomax [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.
tjr [Tue, 25 Jan 2005 22:32:48 +0000 (22:32 +0000)]
Document input line length limit.

19 years agoDocument message length limit.
tjr [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
glebius [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
sobomax [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 [Tue, 25 Jan 2005 19:16:09 +0000 (19:16 +0000)]
Add FreeBSD 4.11.

19 years agoUse DIGITAL2 for DEPCM card
imp [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
imp [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
wpaul [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.
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 [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.
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().
phk [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.
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.
ssouhlal [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
ssouhlal [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 *
ssouhlal [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
ssouhlal [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().
ssouhlal [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
ssouhlal [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.
ssouhlal [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.
ssouhlal [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
ssouhlal [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.
phk [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 [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.
ru [Tue, 25 Jan 2005 09:37:37 +0000 (09:37 +0000)]
libpam is now standard.

19 years agoMFV: Latest mdoc(7) fixes.
ru [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,
ru [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.
ru [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
phk [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.
mr [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.
phk [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.
delphij [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
delphij [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.
delphij [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
delphij [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
imp [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.
imp [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.
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
imp [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,
matusita [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.
matusita [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
imp [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().
jmallett [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.
phk [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.
phk [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
phk [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
phk [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
phk [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.
phk [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.
phk [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
phk [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
rwatson [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.
phk [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.