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
Poul-Henning Kamp
4f8d23d662
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
2005-01-25 09:15:32 +00:00
Michael Reifenberger
8924340f2f
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
2005-01-25 08:59:06 +00:00
Poul-Henning Kamp
33ae5dfb15
Remove dummy vendor id for DIGITAL now that we have the real one.
2005-01-25 08:51:28 +00:00
Xin LI
f74b6bc2c1
Use new style declarations instead of K&R ones.
2005-01-25 08:40:51 +00:00
Xin LI
f906f84330
Use modern style defination for main() and move a extern
...
declaration to global section.
Bump WARNS?= to 6
2005-01-25 08:37:04 +00:00
Xin LI
36737a0b77
Code style tweaks: Use static and const where suitable.
2005-01-25 08:24:06 +00:00
Xin LI
faa0ecdd5d
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
2005-01-25 08:14:00 +00:00
Warner Losh
f93ad95f27
Minor whitespace cleanup
...
Add Digitial vendor ID (from NetBSD)
Add Anycom vendor and products (from NetBSD)
2005-01-25 07:46:47 +00:00
Warner Losh
72d45750d4
Add NEXTCOM NEXTHAWK ethernet card.
...
From NetBSD
2005-01-25 07:25:49 +00:00
Tim Kientzle
5958ff08bd
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.
2005-01-25 06:07:28 +00:00
Warner Losh
102e51ce42
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...
2005-01-25 04:45:25 +00:00
Makoto Matsushita
8272aecfc7
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
2005-01-25 02:56:17 +00:00
Makoto Matsushita
beda0fa4ef
ntp.cyber-fleet.net is not in DNS database, remove it.
...
Reported by: sarumaru at ReichaNet IRC, users-jp@jp.FreeBSD.org , etc.
2005-01-25 02:51:47 +00:00
Warner Losh
c106422ff7
Add MagicRAM PC Card Ethernet as ne2000 clone
2005-01-25 02:50:58 +00:00
Juli Mallett
e2816c1489
Take a swing at using roundup().
2005-01-25 01:35:02 +00:00
Poul-Henning Kamp
729fcf7efb
Take VOP_GETVOBJECT() out to pasture. We use the direct pointer now.
2005-01-25 00:42:16 +00:00
Poul-Henning Kamp
8516dd18e1
Don't use VOP_GETVOBJECT, use vp->v_object directly.
2005-01-25 00:40:01 +00:00
Poul-Henning Kamp
69816ea35e
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.
2005-01-25 00:12:24 +00:00