]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoGrammar nits.
Bruce A. Mah [Mon, 15 Mar 2004 00:24:27 +0000 (00:24 +0000)]
Grammar nits.

Move a SGML comment to a more meaningful (and correct) place in this
file.

20 years agoMention ubser(4) devices, fix a minor punctuation nit.
Bruce A. Mah [Mon, 15 Mar 2004 00:11:27 +0000 (00:11 +0000)]
Mention ubser(4) devices, fix a minor punctuation nit.

20 years agoNew release notes: acpi_toshiba(4), acpi_video(4), ubser(4),
Bruce A. Mah [Mon, 15 Mar 2004 00:07:19 +0000 (00:07 +0000)]
New release notes:  acpi_toshiba(4), acpi_video(4), ubser(4),
FreeBSD/i386 can be compiled with icc, ng_atmllc(4), logins(1), GNU
grep 2.4.2.

20 years agoDon't reject FAT file systems with a number of "Heads" greater than
Robert Watson [Sun, 14 Mar 2004 23:28:12 +0000 (23:28 +0000)]
Don't reject FAT file systems with a number of "Heads" greater than
255; USB keychains exist that use 256 as the number of heads.  This
check has also been removed in Darwin (along with most of the other
head/sector sanity checks).

20 years agoUpdate release note:
Hiroki Sato [Sun, 14 Mar 2004 23:26:06 +0000 (23:26 +0000)]
Update release note:
The gsc driver removed.

20 years agoRemove isa compat stuff.
Warner Losh [Sun, 14 Mar 2004 23:03:57 +0000 (23:03 +0000)]
Remove isa compat stuff.

Only cy, bs and wd in the tree still use it.  I have a replacement for
cy that I need to test on ISA and PCI cards.  bs and wd are pc98 only
drivers that appear to no longer be necessary.  I'll be removing them
when I hear back from the pc98 people.

20 years agocomment out bs and wd entries in the hints
Warner Losh [Sun, 14 Mar 2004 23:02:07 +0000 (23:02 +0000)]
comment out bs and wd entries in the hints

20 years agoRemove entries for the following devices as their drivers are gone:
Bruce A. Mah [Sun, 14 Mar 2004 22:56:06 +0000 (22:56 +0000)]
Remove entries for the following devices as their drivers are gone:
rdp(4), le(4), stl(4), stli(4), ctx(4), spigot(4).

Take a guess that the following devices correspond to removed drivers
and blow their entries away too: "Genius and Mustek hand scanners"
(gsc(4)?)  and "GPB and Transputer drivers" (gpib(4)?).

20 years agoComment out the cy driver until I can make sure that the new cy driver
Warner Losh [Sun, 14 Mar 2004 22:50:49 +0000 (22:50 +0000)]
Comment out the cy driver until I can make sure that the new cy driver
I have for it works.

20 years agoThe gsc driver has been retired, so retire its control program.
Warner Losh [Sun, 14 Mar 2004 22:47:02 +0000 (22:47 +0000)]
The gsc driver has been retired, so retire its control program.

20 years agoRetire gsc man page after driver retirement
Warner Losh [Sun, 14 Mar 2004 22:43:51 +0000 (22:43 +0000)]
Retire gsc man page after driver retirement

20 years agoThe gsc driver uses the old COMPAT_ISA api. Retire it so we can
Warner Losh [Sun, 14 Mar 2004 22:42:54 +0000 (22:42 +0000)]
The gsc driver uses the old COMPAT_ISA api.  Retire it so we can
retire the COMPAT_ISA shims.  If someone were to redo this driver with
the new APIs and test it, it can return.

20 years agoUpdate release note:
Hiroki Sato [Sun, 14 Mar 2004 22:42:02 +0000 (22:42 +0000)]
Update release note:
rdp and spigot driver removed.

20 years agoHints for the le driver are no longer necessary here.
Warner Losh [Sun, 14 Mar 2004 22:38:18 +0000 (22:38 +0000)]
Hints for the le driver are no longer necessary here.

Noticed by: ru

20 years agordp has been retired, retire its man page too
Warner Losh [Sun, 14 Mar 2004 22:36:54 +0000 (22:36 +0000)]
rdp has been retired, retire its man page too

20 years agoUpdate release note:
Hiroki Sato [Sun, 14 Mar 2004 22:35:48 +0000 (22:35 +0000)]
Update release note:
The le driver removed.

20 years agoThe rdp driver uses the COMPAT_OLD api. This is being retired, so
Warner Losh [Sun, 14 Mar 2004 22:35:29 +0000 (22:35 +0000)]
The rdp driver uses the COMPAT_OLD api.  This is being retired, so
this driver is being retired.  Remove it from the tree.  If someone
wants to update it to the latest APIs and can test the hardware, it
can return to the tree.

20 years agoThe spigot driver uses the old COMPAT_ISA interface. Retire it since
Warner Losh [Sun, 14 Mar 2004 22:31:49 +0000 (22:31 +0000)]
The spigot driver uses the old COMPAT_ISA interface.  Retire it since
that's going away soon.  Should someone reimplement it using modern
APIs and can test the driver, it can return.

20 years agole driver is gone, retire its man page
Warner Losh [Sun, 14 Mar 2004 22:26:12 +0000 (22:26 +0000)]
le driver is gone, retire its man page

20 years agoThe le driver uses ISA_COMPAT, which is going away soon. Retire it
Warner Losh [Sun, 14 Mar 2004 22:25:19 +0000 (22:25 +0000)]
The le driver uses ISA_COMPAT, which is going away soon.  Retire it
and releated files.  If someone wants to fix it to use the new APIs
and test it, it can be brought back.

20 years agoReally remove asc man page this time
Warner Losh [Sun, 14 Mar 2004 22:15:38 +0000 (22:15 +0000)]
Really remove asc man page this time

20 years agoRegen.
Josef Karthauser [Sun, 14 Mar 2004 21:57:35 +0000 (21:57 +0000)]
Regen.

20 years agoAdd support for Handspring TREO 600.
Josef Karthauser [Sun, 14 Mar 2004 21:56:51 +0000 (21:56 +0000)]
Add support for Handspring TREO 600.

Submitted by: Tuc <tuc@ttsg.com>
MFC after: 1 week

20 years ago1. Remove the named_rcng variable. Mike's caution in this area was a good
Doug Barton [Sun, 14 Mar 2004 19:10:06 +0000 (19:10 +0000)]
1. Remove the named_rcng variable. Mike's caution in this area was a good
thing, but we're ready to move on.

2. Remove the -g default argument in named_flags. It doesn't actually do
what most users think it does, and what most users want it to do is already
accomplished with a proper default group for the bind user, which we have.
Also, the -g knob does something entirely different in BIND 9, which leads
to a lot of needless confusion/aggravation.

3. In the rc.d script, don't bogusly override $command, or $rc_flags. Both
are adequately handled in rc.conf[.local].

4. DO properly override $rc_flags if user has named_chrootdir set.
This may need to be revisited, but should be ok for now.

5. Protect all chrootdir-related bits under that variable, instead of
named_rcng.

There is more work to be done here, especially in the area of BIND 9
compatibility, but this is a start at least.

Prompted in part by (legitmate) grousing from: kuriyama, Randy Bush

20 years agoI believe most of /boot/device.hints out there are based (if not
Ruslan Ermilov [Sun, 14 Mar 2004 17:18:39 +0000 (17:18 +0000)]
I believe most of /boot/device.hints out there are based (if not
identical) on GENERIC.hints, hence the following change:

Moved the creation of /boot/device.hints where it belongs.  This
should aid in merging GENERIC.hints changes to /boot/device.hints,
using mergemaster(8) or a similar approach.

20 years agoDon't scare non-root users attempting to build world.
Ruslan Ermilov [Sun, 14 Mar 2004 16:44:27 +0000 (16:44 +0000)]
Don't scare non-root users attempting to build world.

20 years agoWhen taking event callbacks (like process_exit) out from under Giant, those
Brian Feldman [Sun, 14 Mar 2004 15:57:45 +0000 (15:57 +0000)]
When taking event callbacks (like process_exit) out from under Giant, those
which do not lock Giant themselves will be exposed.  Unbreak pfs_exit().

20 years agoAnnual NTP kernel code spring-cleaning:
Poul-Henning Kamp [Sun, 14 Mar 2004 15:23:05 +0000 (15:23 +0000)]
Annual NTP kernel code spring-cleaning:

Use int64_t rather than long long for the fixpoint type.

Don't discard fractional nanosecond frequency correction.

20 years agoCatch up with the removal of the wt(4) driver.
Ruslan Ermilov [Sun, 14 Mar 2004 12:09:43 +0000 (12:09 +0000)]
Catch up with the removal of the wt(4) driver.

20 years agoMFi386: Remove the stl and stli drivers.
Yoshihiro Takahashi [Sun, 14 Mar 2004 09:46:36 +0000 (09:46 +0000)]
MFi386: Remove the stl and stli drivers.

20 years agoMFi386: revision 1.29.
Yoshihiro Takahashi [Sun, 14 Mar 2004 09:43:15 +0000 (09:43 +0000)]
MFi386: revision 1.29.

20 years agoMFi386: revision 1.76.
Yoshihiro Takahashi [Sun, 14 Mar 2004 09:41:57 +0000 (09:41 +0000)]
MFi386: revision 1.76.

20 years agoNew release note:
Hiroki Sato [Sun, 14 Mar 2004 08:47:20 +0000 (08:47 +0000)]
New release note:
old ISA drivers (asc, ctx, gp, stl, stli, wt) removed.
nologin(8) moved to /usr/sbin/nologin.

Update release note:
nologin(8) always reports login attempts[1].

Suggested by: cperciva[1]

20 years agoRemoved duplicate __FBSDID(). Keep the one that style(9) likes.
Ruslan Ermilov [Sun, 14 Mar 2004 08:43:55 +0000 (08:43 +0000)]
Removed duplicate __FBSDID().  Keep the one that style(9) likes.

20 years agoAnnounce ethernet MAC addresss in ether_ifattach().
Matthew N. Dodd [Sun, 14 Mar 2004 07:12:25 +0000 (07:12 +0000)]
Announce ethernet MAC addresss in ether_ifattach().

20 years agoThese go along with the stl and stli drivers, recently removed.
Warner Losh [Sun, 14 Mar 2004 06:52:22 +0000 (06:52 +0000)]
These go along with the stl and stli drivers, recently removed.

20 years agostl and stli use the old COMPAT_ISA api. slt also uses the really old
Warner Losh [Sun, 14 Mar 2004 06:48:36 +0000 (06:48 +0000)]
stl and stli use the old COMPAT_ISA api.  slt also uses the really old
COMPAT_PCI api.  This API is going away, so this driver is going away
also.

If users are interested in updating this, please contact the author
since he has some preliminary work to move this to newer APIs.

20 years agoAdd multiple inclusion guards. Mostly this is for extern.h, which was
Juli Mallett [Sun, 14 Mar 2004 06:43:34 +0000 (06:43 +0000)]
Add multiple inclusion guards.  Mostly this is for extern.h, which was
included twice by lprint.c, which included both finger.h and extern.h.
finger.h, in turn, includes extern.h.  The redundant include of extern.h
was removed from lprint.c, as part of this change, but the include guards
were added anyway out of spite.

20 years agoCalculate NFS timeouts in units of 10ms, not 5ms. This matches the default
Peter Wemm [Sun, 14 Mar 2004 06:21:56 +0000 (06:21 +0000)]
Calculate NFS timeouts in units of 10ms, not 5ms.  This matches the default
clock precision on i386.  This is a NOP change on i386.  But this stops
the mount_nfs units from suddenly changing to units of 1/20 of a second
(vs the normal 1/10 of a second) if HZ is increased.

20 years agoFixed misspellings of 0 as NULL. Fixed some nearby style bugs.
Bruce Evans [Sun, 14 Mar 2004 05:55:16 +0000 (05:55 +0000)]
Fixed misspellings of 0 as NULL.  Fixed some nearby style bugs.

20 years agoFixed a misspelling of 0 as NULL.
Bruce Evans [Sun, 14 Mar 2004 05:51:20 +0000 (05:51 +0000)]
Fixed a misspelling of 0 as NULL.

20 years agoSet default HZ to 1024 for amd64. The comment in kern/tty.c doesn't
Peter Wemm [Sun, 14 Mar 2004 05:49:31 +0000 (05:49 +0000)]
Set default HZ to 1024 for amd64.  The comment in kern/tty.c doesn't
apply here because we have 64 bit longs and don't suffer the hz > 169
overflows.

20 years agoFixed misspellings of 0 as NULL.
Bruce Evans [Sun, 14 Mar 2004 05:48:04 +0000 (05:48 +0000)]
Fixed misspellings of 0 as NULL.

20 years agoremove the ioctl files from the asc, ctx and wt drivers just removed
Warner Losh [Sun, 14 Mar 2004 05:40:50 +0000 (05:40 +0000)]
remove the ioctl files from the asc, ctx and wt drivers just removed

20 years agoRemove straggler from gp driver removal
Warner Losh [Sun, 14 Mar 2004 05:34:45 +0000 (05:34 +0000)]
Remove straggler from gp driver removal

20 years agoRemove gp driver. It uses the old COMPAT_ISA shims.
Warner Losh [Sun, 14 Mar 2004 05:31:41 +0000 (05:31 +0000)]
Remove gp driver.  It uses the old COMPAT_ISA shims.

If this driver is rewritten using newer APIs it can return.

20 years agoFixed a mispelling of 0 as NULL.
Bruce Evans [Sun, 14 Mar 2004 05:28:29 +0000 (05:28 +0000)]
Fixed a mispelling of 0 as NULL.

20 years agoRemove ctx driver. another scanner. This one uses COMPAT_ISA shims
Warner Losh [Sun, 14 Mar 2004 05:27:30 +0000 (05:27 +0000)]
Remove ctx driver.  another scanner.  This one uses COMPAT_ISA shims
which is going away soon.

If someone updates this to the latest APIs and tests it, it can return.

20 years agoFixed a misspelling of 0 as NULL.
Bruce Evans [Sun, 14 Mar 2004 05:27:26 +0000 (05:27 +0000)]
Fixed a misspelling of 0 as NULL.

20 years agoHandle AF_ARP in *_output()
Matthew N. Dodd [Sun, 14 Mar 2004 05:24:54 +0000 (05:24 +0000)]
Handle AF_ARP in *_output()

Obtained from: NetBSD

20 years agoFixed a misspelling of 0 as NULL. Removed a spelling of NULL as 0.
Bruce Evans [Sun, 14 Mar 2004 05:19:38 +0000 (05:19 +0000)]
Fixed a misspelling of 0 as NULL.  Removed a spelling of NULL as 0.

20 years agoFixed misspellings of '\0' as NULL.
Bruce Evans [Sun, 14 Mar 2004 05:14:00 +0000 (05:14 +0000)]
Fixed misspellings of '\0' as NULL.

20 years agoNow that the asc driver is no longer in the tree, the man page is surplus.
Warner Losh [Sun, 14 Mar 2004 05:01:04 +0000 (05:01 +0000)]
Now that the asc driver is no longer in the tree, the man page is surplus.

20 years agoWith the passing of the asc driver, the sasc prograqm is no longer
Warner Losh [Sun, 14 Mar 2004 04:59:17 +0000 (04:59 +0000)]
With the passing of the asc driver, the sasc prograqm is no longer
necessary.

20 years agoRemove asc driver, support for GI1904 based hand scanners. This
Warner Losh [Sun, 14 Mar 2004 04:57:28 +0000 (04:57 +0000)]
Remove asc driver, support for GI1904 based hand scanners.  This
driver uses COMPAT_ISA shims, and those shims are going away.

It can be brought back if someone updates it to the latest APIs, and
moves it to the appropriate place in the tree.

20 years agoShould have committed this with other wt driver removal commit.
Warner Losh [Sun, 14 Mar 2004 04:53:46 +0000 (04:53 +0000)]
Should have committed this with other wt driver removal commit.
Remove the wt driver from LINT.

If the wt driver is updated to the new apis, it can return.

20 years agoNow that the wt driver is gone, go ahead and remove its userland support.
Warner Losh [Sun, 14 Mar 2004 04:49:23 +0000 (04:49 +0000)]
Now that the wt driver is gone, go ahead and remove its userland support.

If the wt driver is rewritten using newer APIs, then these can return with it.

20 years agoRemove wt driver. It still uses COMPAT_ISA_DRIVER which is going away
Warner Losh [Sun, 14 Mar 2004 04:46:52 +0000 (04:46 +0000)]
Remove wt driver.  It still uses COMPAT_ISA_DRIVER which is going away
very soon.

Users needing this driver should update it to a newer API.

20 years agoSimplify sf_buf_alloc().
Alan Cox [Sun, 14 Mar 2004 04:06:33 +0000 (04:06 +0000)]
Simplify sf_buf_alloc().

20 years agoMake the process_exit eventhandler run without Giant. Add Giant hooks
Peter Wemm [Sun, 14 Mar 2004 02:06:28 +0000 (02:06 +0000)]
Make the process_exit eventhandler run without Giant.  Add Giant hooks
in the two consumers that need it.. processes using AIO and netncp.
Update docs.  Say that process_exec is called with Giant, but not to
depend on it.  All our consumers can handle it without Giant.

20 years agoMove the process_fork event out from under Giant. This one is easy,
Peter Wemm [Sun, 14 Mar 2004 01:48:32 +0000 (01:48 +0000)]
Move the process_fork event out from under Giant.  This one is easy,
since there are no consumers in the tree.  Document this.

20 years agoCompare spppq to NULL instead of using spppq as a boolean.
Robert Watson [Sun, 14 Mar 2004 01:32:44 +0000 (01:32 +0000)]
Compare spppq to NULL instead of using spppq as a boolean.

20 years agoFix some style bugs in previous commit.
Tom Rhodes [Sun, 14 Mar 2004 01:29:05 +0000 (01:29 +0000)]
Fix some style bugs in previous commit.
Fix 'broken' ifdefs.
icc does not support profiling yet so remove unfinished code which was
supposed to help.

Submitted by: netchild (original version)
Reviewed by: ru

20 years agoDefine AF_ARP/PF_ARP.
Matthew N. Dodd [Sun, 14 Mar 2004 00:49:09 +0000 (00:49 +0000)]
Define AF_ARP/PF_ARP.

20 years agoDe-register.
Matthew N. Dodd [Sun, 14 Mar 2004 00:44:11 +0000 (00:44 +0000)]
De-register.

20 years agoAllow swap-backed devices to run without Giant.
Alan Cox [Sun, 14 Mar 2004 00:24:30 +0000 (00:24 +0000)]
Allow swap-backed devices to run without Giant.

20 years agoTMPDIR is magic, use TMPMNT
Poul-Henning Kamp [Sat, 13 Mar 2004 23:01:08 +0000 (23:01 +0000)]
TMPDIR is magic, use TMPMNT

Spotted by: harold barker <hvb@fs0.sm.dsms.com>

20 years agoRegen for mpsafe kse_create()
Peter Wemm [Sat, 13 Mar 2004 22:32:17 +0000 (22:32 +0000)]
Regen for mpsafe kse_create()

20 years agoPush Giant down a little further:
Peter Wemm [Sat, 13 Mar 2004 22:31:39 +0000 (22:31 +0000)]
Push Giant down a little further:
- no longer serialize on Giant for thread_single*() and family in fork,
  exit and exec
- thread_wait() is mpsafe, assert no Giant
- reduce scope of Giant in exit to not cover thread_wait and just do
  vm_waitproc().
- assert that thread_single() family are not called with Giant
- remove the DROP/PICKUP_GIANT macros from thread_single() family
- assert that thread_suspend_check() s not called with Giant
- remove manual drop_giant hack in thread_suspend_check since we know it
  isn't held.
- remove the DROP/PICKUP_GIANT macros from thread_suspend_check() family
- mark kse_create() mpsafe

20 years agoRe-kill ispcvt on amd64 - rc.d/syscons was fixed ages ago.
Peter Wemm [Sat, 13 Mar 2004 22:18:34 +0000 (22:18 +0000)]
Re-kill ispcvt on amd64 - rc.d/syscons was fixed ages ago.

20 years agoMFp4: comment out options that don't exist so that they cannot be
Peter Wemm [Sat, 13 Mar 2004 22:16:34 +0000 (22:16 +0000)]
MFp4: comment out options that don't exist so that they cannot be
accidently added to config files and be silently accepted.
Comment out one bogo-option that crept into NOTES.

20 years agoDiff reduction with current. Correct comment about ed etc.
Peter Wemm [Sat, 13 Mar 2004 22:14:18 +0000 (22:14 +0000)]
Diff reduction with current.  Correct comment about ed etc.

20 years agoMove the non-MD machine/dvcfg.h and machine/physio_proc.h to a common
Peter Wemm [Sat, 13 Mar 2004 19:46:27 +0000 (19:46 +0000)]
Move the non-MD machine/dvcfg.h and machine/physio_proc.h to a common
MI area before they proliferate more.

20 years agoDrastically clean up the legacy host-pci bridge table. We don't need
Peter Wemm [Sat, 13 Mar 2004 19:21:35 +0000 (19:21 +0000)]
Drastically clean up the legacy host-pci bridge table.  We don't need
all the ancient Intel/VIA/SIS/etc chipsets on amd64 systems.  Even the
newer intel stuff won't need this since we use acpi by default and we
don't have all their magic programming information.  Just use a generic
"Host to PCI bridge" name if we ever hit this code.

20 years agoMFi386: nuke pci_cfgintr
Peter Wemm [Sat, 13 Mar 2004 19:19:13 +0000 (19:19 +0000)]
MFi386: nuke pci_cfgintr

20 years agoReduce the scope of the Giant lock being held for non-mpsafe syscalls.
Peter Wemm [Sat, 13 Mar 2004 19:15:43 +0000 (19:15 +0000)]
Reduce the scope of the Giant lock being held for non-mpsafe syscalls.
There was way too much code being covered.

20 years agoNew release note:
Hiroki Sato [Sat, 13 Mar 2004 16:45:05 +0000 (16:45 +0000)]
New release note:
64-bit time_t on FreeBSD/sparc64,
em(4) hiccup during ifconfig em0 alias fixed,
ng_vlan(4) netgraph node type,
umass(4) ATAPI MMC commands support,
rc.d/gbde_swap and gbde_swap_enable in rc.conf,
mountd(8) -p <port> option,
nologin(8) syslog support,
OpenBSD's pf and the related userland utils imported,
SIZE attribute in distinfo enabled by default.

(when you find errors or inappropriate descriptions, please let me know.)

20 years agoFix a typo (s/acecss/access/).
Hiroki Sato [Sat, 13 Mar 2004 16:21:39 +0000 (16:21 +0000)]
Fix a typo (s/acecss/access/).

20 years agoRecognise the 82845G AGP bridge, and poke it appropriately at
Peter Edwards [Sat, 13 Mar 2004 16:06:32 +0000 (16:06 +0000)]
Recognise the 82845G AGP bridge, and poke it appropriately at
attach/detach time.

Assigning the default behaviour to this particular device is
incorrect, corrupting the video BIOS aperture, and breaking
VESA support in the kernel and XFree86.

Reviewed By: dfr
MFC after: 1 week
PR: kern/62906

20 years agoCreate hierarchy before installing a new kernel. This is needed
Ruslan Ermilov [Sat, 13 Mar 2004 15:46:34 +0000 (15:46 +0000)]
Create hierarchy before installing a new kernel.  This is needed
because we require that a new kernel be installed prior to a new
world, and we may need some new directories to succeed.

Once MFCed, this will also help those poor souls who redundantly
``mv /modules /modules.old'' in RELENG_4 before an installkernel.

Requested by: many
MFC after: 3 days

20 years agoNow that contigfree() does not require Giant, don't grab it in busdma.
Scott Long [Sat, 13 Mar 2004 15:42:59 +0000 (15:42 +0000)]
Now that contigfree() does not require Giant, don't grab it in busdma.

20 years agoAdd Epson Perfection 1670 to the list of supported devices.
Simon L. B. Nielsen [Sat, 13 Mar 2004 13:54:07 +0000 (13:54 +0000)]
Add Epson Perfection 1670 to the list of supported devices.

20 years agoDon peril-sensitive glasses and throw the switch to move nologin(8) from
Colin Percival [Sat, 13 Mar 2004 11:02:37 +0000 (11:02 +0000)]
Don peril-sensitive glasses and throw the switch to move nologin(8) from
/sbin to /usr/sbin.  A symlink from /sbin/nologin -> /usr/sbin/nologin
is created for compatibility purposes.

This will probably not cause any problems, but anyone who is doing
anything particularly unusual with nologin(8) or shells in general might
be well advised to check that everything still works.

Bikesheds on: cvs-all, current

20 years agoAdd missing spaces after "logconfig" in example lines.
Colin Percival [Sat, 13 Mar 2004 09:51:43 +0000 (09:51 +0000)]
Add missing spaces after "logconfig" in example lines.

PR: docs/64082
Submitted by: Tsurutani Naoki
MFC after: 3 days

20 years agoAdd support for the Epson Perfection 1670 scanner.
Tim J. Robbins [Sat, 13 Mar 2004 08:45:16 +0000 (08:45 +0000)]
Add support for the Epson Perfection 1670 scanner.

20 years agoRegen
Tim J. Robbins [Sat, 13 Mar 2004 08:25:51 +0000 (08:25 +0000)]
Regen

20 years agoAdd EPSON Perfection 1670 scanner.
Tim J. Robbins [Sat, 13 Mar 2004 08:21:22 +0000 (08:21 +0000)]
Add EPSON Perfection 1670 scanner.

20 years agoRemove GIANT_REQUIRED from contigfree().
Alan Cox [Sat, 13 Mar 2004 07:09:15 +0000 (07:09 +0000)]
Remove GIANT_REQUIRED from contigfree().

20 years agoConstify interactive_ports, as its value is static, and therefore doesn't
Robert Watson [Sat, 13 Mar 2004 06:16:59 +0000 (06:16 +0000)]
Constify interactive_ports, as its value is static, and therefore doesn't
require synchronization.

20 years agoAdd annotations to mtx_lock(&Giant) in kern_select() and poll() that
Robert Watson [Sat, 13 Mar 2004 05:58:57 +0000 (05:58 +0000)]
Add annotations to mtx_lock(&Giant) in kern_select() and poll() that
we always grab Giant, even if we're actually only polling objects that
don't require giant.  Once socket locking is merged, there will be
strong motivation to fix this.

20 years agoRemove stale (unused) unit variables from if_tun and if_tap softc's.
Robert Watson [Sat, 13 Mar 2004 05:51:06 +0000 (05:51 +0000)]
Remove stale (unused) unit variables from if_tun and if_tap softc's.

20 years agoConstify iso88025_broadcastaddr to make it clear no explicit
Robert Watson [Sat, 13 Mar 2004 05:46:26 +0000 (05:46 +0000)]
Constify iso88025_broadcastaddr to make it clear no explicit
synchronization is required.

20 years agoConst-poison atmulticastaddr, which should be read but not modified.
Robert Watson [Sat, 13 Mar 2004 05:27:17 +0000 (05:27 +0000)]
Const-poison atmulticastaddr, which should be read but not modified.
While there, remove (caddr_t) casting of ethernet addresses, which
among other things discards the qualifier.  This makes it clear that
atmulticastaddr does not require synchronization.

20 years agoFix odd grammar in comment.
Colin Percival [Sat, 13 Mar 2004 05:16:42 +0000 (05:16 +0000)]
Fix odd grammar in comment.

PR: docs/64190
Submitted by: Dan Langille

20 years agoAdd standard copyright notice; fix style bugs. (Reported by bde)
Colin Percival [Sat, 13 Mar 2004 04:41:40 +0000 (04:41 +0000)]
Add standard copyright notice; fix style bugs.  (Reported by bde)
Remove NO_NOLOGIN_LOG option now that we're off the root partition.

20 years agoWhen nologin(8) is installed in /usr/sbin/, create a symlink from
Colin Percival [Sat, 13 Mar 2004 04:39:45 +0000 (04:39 +0000)]
When nologin(8) is installed in /usr/sbin/, create a symlink from
/sbin/nologin for compatibility purposes.  Also, remove the NO_NOLOGIN_LOG
option; we don't need to worry about conserving space as much on the /usr
partition.

Note that usr.sbin/nologin is not yet hooked up to the build.

20 years agoAlign the offset in vn_rdwr_inchunks() so that at most the first and
Bruce Evans [Sat, 13 Mar 2004 02:56:27 +0000 (02:56 +0000)]
Align the offset in vn_rdwr_inchunks() so that at most the first and
the last chunk are misaligned relative to a MAXBSIZE byte boundary.
vn_rdwr_inchunks() is used mainly for elf core dumps, and elf sections
are usually perfectly misaligned relative to MAXBSIZE, and chunking
prevents the file system from doing much realigning.

This gives a surprisingly large speedup for core dumps -- from 50 to
13 seconds for a 512MB core dump here.  The pessimization was mostly
from an interaction of the misalignment with IO_DIRECT.  It increased
the number of i/o's for each chunk by a factor of 5 (3 writes and 2
read-before-writes instead of 1 write).

20 years agoDon't allow interfaces to be renamed to the empty string.
Brooks Davis [Sat, 13 Mar 2004 02:35:03 +0000 (02:35 +0000)]
Don't allow interfaces to be renamed to the empty string.
While I'm here, errors aren't bools.

Pointed out by: hmp

20 years agoRemove if_withname. It came in with the KAME import, but never got
Brooks Davis [Sat, 13 Mar 2004 02:31:40 +0000 (02:31 +0000)]
Remove if_withname.  It came in with the KAME import, but never got
used.  Should someone need its functionality, it's a really expensive
implementation of:
ifnet_byindex(sdl->sdl_index)

Reviewed by:    bde, ume

20 years agoFixed some English usage errors.
Bruce Evans [Sat, 13 Mar 2004 00:56:11 +0000 (00:56 +0000)]
Fixed some English usage errors.