]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoMake the miibus'ified the new fxp driver for -current.
jlemon [Mon, 12 Mar 2001 21:41:29 +0000 (21:41 +0000)]
Make the miibus'ified the new fxp driver for -current.

23 years agoConvert the fxp driver to miibus, which involves ripping out the PHY
jlemon [Mon, 12 Mar 2001 21:30:52 +0000 (21:30 +0000)]
Convert the fxp driver to miibus, which involves ripping out the PHY
logic and media bits.  Support for Intel PHYs can now be found in
dev/mii/inphy.c.

Clean up the driver, and add various 82558 and 82559 specific bits.

23 years agoAllow a script-using to disable the emergency holographic shell as
jkh [Mon, 12 Mar 2001 21:26:06 +0000 (21:26 +0000)]
Allow a script-using to disable the emergency holographic shell as
a security measure.

Requested by: "David E. Cross" <crossd@enterprise.cs.rpi.edu>

23 years ago.St -p1003.1g -> .St -p1003.1g-2000.
ru [Mon, 12 Mar 2001 17:28:01 +0000 (17:28 +0000)]
.St -p1003.1g -> .St -p1003.1g-2000.

23 years ago.St macro cleanup:
ru [Mon, 12 Mar 2001 17:19:38 +0000 (17:19 +0000)]
.St macro cleanup:

- spell the abbreviation of 1003.1 as ``POSIX.1''
- fixed the description of -p1003.1-90; it was sold as ISO/IEC 9945-1:1990
- removed -p1003.1b; it only existed as 1003.1b-1993 (-p1003.1b-93), and
  is part of 1003.1 since 1003.1-1996.
- replaced -p1003.1g (project) with -p1003.1g-2000 (approved draft)
- changed abbreviation of -isoC from ``ISO C'' to ``ISO C89''
- removed -iso9899 alias for -isoC
- IEC was missing from some names
- added abbreviation for -susv2 (``SUSv2'')

23 years agoAdd PC-Card entry, I-O DATA PCET/TX-R
sanpei [Mon, 12 Mar 2001 13:11:17 +0000 (13:11 +0000)]
Add PC-Card entry, I-O DATA PCET/TX-R

This card was DL10022 based card.

Submitted by: [bsd-nomads:15287]
Yoshihiko SARUMARU <mistral@imasy.or.jp>

23 years agoDeal with ENOENT properly on non-devfs machines
brian [Mon, 12 Mar 2001 12:53:53 +0000 (12:53 +0000)]
Deal with ENOENT properly on non-devfs machines
Broken in revision 1.109

23 years agoReally finish softupdate setting from the label editor and fix
jkh [Mon, 12 Mar 2001 10:18:54 +0000 (10:18 +0000)]
Really finish softupdate setting from the label editor and fix
a few cosmetic problems:

o Allow it to work with scripts (see man page or install.cfg file).
o Preserve old softupdates flag across newfs toggles
o Clean up partitioned/labelled flag handling
o Don't ask for MBR choice again if you've already written it out.
o Actually document the new features.

23 years agomdoc(7) police:
ru [Mon, 12 Mar 2001 10:15:03 +0000 (10:15 +0000)]
mdoc(7) police:
removed hard sentence breaks, use Ft for function return type.

23 years agoFixed typo.
ru [Mon, 12 Mar 2001 10:07:33 +0000 (10:07 +0000)]
Fixed typo.

23 years agomdoc(7) police: misc formatting fixes.
ru [Mon, 12 Mar 2001 09:33:07 +0000 (09:33 +0000)]
mdoc(7) police: misc formatting fixes.

23 years agomdoc(7) police: misc formatting fixes.
ru [Mon, 12 Mar 2001 09:26:32 +0000 (09:26 +0000)]
mdoc(7) police: misc formatting fixes.

23 years agomdoc(7) police: add a missing An call.
ru [Mon, 12 Mar 2001 09:18:12 +0000 (09:18 +0000)]
mdoc(7) police: add a missing An call.

23 years agomdoc(7) police:
ru [Mon, 12 Mar 2001 09:14:22 +0000 (09:14 +0000)]
mdoc(7) police:
o  Update document date.
o  Remove hard sentence break.
o  Sort xrefs.

23 years agomdoc(7) police: misc formatting fixes.
ru [Mon, 12 Mar 2001 09:05:59 +0000 (09:05 +0000)]
mdoc(7) police: misc formatting fixes.

23 years agomdoc(7) police: mark C types with Vt macro.
ru [Mon, 12 Mar 2001 08:54:49 +0000 (08:54 +0000)]
mdoc(7) police: mark C types with Vt macro.

23 years agoFix LP64 problem in Kerberos 5 TGT passing.
assar [Mon, 12 Mar 2001 08:14:22 +0000 (08:14 +0000)]
Fix LP64 problem in Kerberos 5 TGT passing.

Obtained from: NetBSD (done by thorpej@netbsd.org)

23 years agoUse CPUTYPE to add appropriate compiler flags to COPTFLAGS for kernel
kris [Mon, 12 Mar 2001 07:47:09 +0000 (07:47 +0000)]
Use CPUTYPE to add appropriate compiler flags to COPTFLAGS for kernel
builds.  This may be disabled using the NO_CPU_COPTFLAGS variable.

Reviewed by: arch

23 years agoDocument newly added "paste" keyword
ache [Mon, 12 Mar 2001 07:05:44 +0000 (07:05 +0000)]
Document newly added "paste" keyword

23 years agochange the default mode from adhoc to bss (infrastructure)
assar [Mon, 12 Mar 2001 06:13:39 +0000 (06:13 +0000)]
change the default mode from adhoc to bss (infrastructure)

Reviewed by: Brooks Davis <brooks@one-eyed-alien.net>

23 years agoRemove duplicate entry.
markm [Mon, 12 Mar 2001 06:05:38 +0000 (06:05 +0000)]
Remove duplicate entry.

Submitted by: Paul Herman <pherman@frenchfries.net>

23 years agoFix top(1) display for SMP systems where the username is longer than 14
will [Mon, 12 Mar 2001 05:53:54 +0000 (05:53 +0000)]
Fix top(1) display for SMP systems where the username is longer than 14
characters.  This should avoid unattractive wrapping for people who are
stuck in an 80x24 screen.  :-)

PR: 22270
Submitted by: William Carrel <williamc@go2net.com>

23 years agoApply some grammar fixes.
bp [Mon, 12 Mar 2001 05:18:37 +0000 (05:18 +0000)]
Apply some grammar fixes.

Submitted by: asmodai

23 years agoAdd flags option for savecore.
dougb [Mon, 12 Mar 2001 05:18:03 +0000 (05:18 +0000)]
Add flags option for savecore.

Submitted by: David A. Panariti <davep@who.net>

23 years agochange default from adhoc mode to BSS (infrastructure)
assar [Mon, 12 Mar 2001 04:49:50 +0000 (04:49 +0000)]
change default from adhoc mode to BSS (infrastructure)

23 years agoenable auto-negotiation of encrypt and decrypt
assar [Mon, 12 Mar 2001 03:54:48 +0000 (03:54 +0000)]
enable auto-negotiation of encrypt and decrypt

23 years agoreset uid back to the user before doing kerberised change password.
assar [Mon, 12 Mar 2001 03:52:00 +0000 (03:52 +0000)]
reset uid back to the user before doing kerberised change password.
root permission is not needed and the kerberos library is paranoid
about access control to the ticket file

PR: bin/20779

23 years agoinitialize pointers to NULL and sized to 0 to avoid free:ing invalid memory.
assar [Mon, 12 Mar 2001 03:48:03 +0000 (03:48 +0000)]
initialize pointers to NULL and sized to 0 to avoid free:ing invalid memory.

PR: bin/20779

23 years agoEliminate global node types and instead use an operations vector for
jlemon [Mon, 12 Mar 2001 03:16:56 +0000 (03:16 +0000)]
Eliminate global node types and instead use an operations vector for
each node in order to make it easier to add new entries.

Rewrite the internal directory structure so that it is possible to
have independent subdirectories.  Utilize this to add /proc/net/dev.

Reviewed by:  DES

23 years agoUnbreak LINT.
jlemon [Mon, 12 Mar 2001 02:57:42 +0000 (02:57 +0000)]
Unbreak LINT.

Pointed out by: phk

23 years agoAdd Intel 82553, 82555 PHY driver.
jlemon [Mon, 12 Mar 2001 02:45:06 +0000 (02:45 +0000)]
Add Intel 82553, 82555 PHY driver.

23 years agoAdd the Intel PHY driver.
jlemon [Mon, 12 Mar 2001 02:43:03 +0000 (02:43 +0000)]
Add the Intel PHY driver.

23 years agoAdd drivers for Intel 82553 and 82555 PHYs.
jlemon [Mon, 12 Mar 2001 02:41:57 +0000 (02:41 +0000)]
Add drivers for Intel 82553 and 82555 PHYs.

23 years agoRegenerate.
jlemon [Mon, 12 Mar 2001 02:27:58 +0000 (02:27 +0000)]
Regenerate.

23 years agoAdd some definitions for Intel 82553 PHYs
jlemon [Mon, 12 Mar 2001 02:27:10 +0000 (02:27 +0000)]
Add some definitions for Intel 82553 PHYs

23 years agoAdd a comment pointing to the freebsd-print@bostonradio.org mailing list.
gad [Mon, 12 Mar 2001 02:13:08 +0000 (02:13 +0000)]
Add a comment pointing to the freebsd-print@bostonradio.org mailing list.

23 years agoChange the usage() message to include the recently-added -4 and -6 options.
gad [Mon, 12 Mar 2001 02:03:53 +0000 (02:03 +0000)]
Change the usage() message to include the recently-added -4 and -6 options.

23 years agoFix "lprm -" (remove all jobs) processing for remote printer queues.
gad [Mon, 12 Mar 2001 01:16:09 +0000 (01:16 +0000)]
Fix "lprm -" (remove all jobs) processing for remote printer queues.

PR: bin/25544

23 years agoDon't require that mouse cursor must be visible before mouse paste.
ache [Mon, 12 Mar 2001 01:15:11 +0000 (01:15 +0000)]
Don't require that mouse cursor must be visible before mouse paste.

Paste always happens to current _text_ cursor position independently of
mouse cursor position in any case and old variant force user to press
mouse paste button _two_ times if mouse cursor is invisible.

23 years agoImprove a few error messages wrt if= filters on remote print queues.
gad [Mon, 12 Mar 2001 00:22:03 +0000 (00:22 +0000)]
Improve a few error messages wrt if= filters on remote print queues.

23 years agoUpdate default keyboard (PREV, PASTE)
ache [Mon, 12 Mar 2001 00:00:22 +0000 (00:00 +0000)]
Update default keyboard (PREV, PASTE)

23 years agoUpdate to use proper nomenclature for the security profiles.
jkh [Sun, 11 Mar 2001 23:47:12 +0000 (23:47 +0000)]
Update to use proper nomenclature for the security profiles.

Submitted by: olgeni

23 years ago- Call fork1() directly instead of calling rfork() so that it doesn't mask
jhb [Sun, 11 Mar 2001 23:41:55 +0000 (23:41 +0000)]
- Call fork1() directly instead of calling rfork() so that it doesn't mask
  out RFSTOPPED.
- Lock the child process when settings p_sigparent instead of locking the
  parent.

Pointy-hat to: me

23 years agoShift+Ins - paste buffer
ache [Sun, 11 Mar 2001 23:41:19 +0000 (23:41 +0000)]
Shift+Ins - paste buffer
Shift+PrintScr - prev. screen

23 years agoImplement keyboard paste
ache [Sun, 11 Mar 2001 22:51:05 +0000 (22:51 +0000)]
Implement keyboard paste

PR: 25499
Submitted by: Gaspar Chilingarov <nm@web.am>

23 years agoo Replace part-wise instructions for building world for jail(8) with
rwatson [Sun, 11 Mar 2001 20:37:11 +0000 (20:37 +0000)]
o Replace part-wise instructions for building world for jail(8) with
  a simple make world; while this does a bit more work, it means that
  jail(8) doesn't have to be kept in sync with /usr/src/Makefile{,.inc1}
  which is a moving target.  MFC candidate.

Submitted by: FUJISHIMA Satsuki <sf@FreeBSD.org>
Reviewed by: phk
Also pointed out by: Phil Kernick <Phil@Kernick.org>

23 years agoDocument the make_dev_alias function.
mjacob [Sun, 11 Mar 2001 20:10:45 +0000 (20:10 +0000)]
Document the make_dev_alias function.

23 years agoAssert that the process we're trying to enqueue isn't already there.
des [Sun, 11 Mar 2001 18:57:30 +0000 (18:57 +0000)]
Assert that the process we're trying to enqueue isn't already there.

23 years agorfork() masks RFSTOPPED out of the flags it passes to fork1(), so we have
des [Sun, 11 Mar 2001 18:52:10 +0000 (18:52 +0000)]
rfork() masks RFSTOPPED out of the flags it passes to fork1(), so we have
to call fork1() directly if we don't want out process queued right away.
This has the serendipitous side effect of saving us a call to pfind().

This makes threaded Linux apps (such as Opera) work again.

23 years agoIn ip_output(), initialise `ia' in the case where the packet has
iedowse [Sun, 11 Mar 2001 17:50:19 +0000 (17:50 +0000)]
In ip_output(), initialise `ia' in the case where the packet has
come from a dummynet pipe. Without this, the code which increments
the per-ifaddr stats can dereference an uninitialised pointer. This
should make dummynet usable again.

Reported by: "Dmitry A. Yanko" <fm@astral.ntu-kpi.kiev.ua>
Reviewed by: luigi, joe

23 years agoAdd a manpage for the DEV_MODULE kernel macro.
alex [Sun, 11 Mar 2001 17:30:08 +0000 (17:30 +0000)]
Add a manpage for the DEV_MODULE kernel macro.

23 years agoUse type of modeventhand_t for the event handler (defined in module.h).
alex [Sun, 11 Mar 2001 17:07:20 +0000 (17:07 +0000)]
Use type of modeventhand_t for the event handler (defined in module.h).
Add a reference to module(9) for more info about the event handler.

23 years agoFix brain damage: s/CDEV_MODULE/DEV_MODULE/
alex [Sun, 11 Mar 2001 16:52:17 +0000 (16:52 +0000)]
Fix brain damage: s/CDEV_MODULE/DEV_MODULE/

23 years agoUpdates for Blowfish password hashing.
markm [Sun, 11 Mar 2001 16:37:33 +0000 (16:37 +0000)]
Updates for Blowfish password hashing.

23 years agoAdd OpenBSD-style blowfish password hashing. This makes one less
markm [Sun, 11 Mar 2001 16:05:43 +0000 (16:05 +0000)]
Add OpenBSD-style blowfish password hashing. This makes one less
gratuitous difference between us and our sister project.

This was given to me _ages_ ago. May apologies to Paul for the length
of time its taken me to commit.

Obtained from: Niels Provos <provos@physnet.uni-hamburg.de>/OpenBSD
Submitted by: Paul Herman <pherman@frenchfries.net>

23 years agoAdd missed MODULE_VERSION() call, so loading of unicode conversion routine
sobomax [Sun, 11 Mar 2001 15:28:42 +0000 (15:28 +0000)]
Add missed MODULE_VERSION() call, so loading of unicode conversion routine
works properly.

Clue beaten in by: des

23 years agoAdd MODULE_DEPEND.9 and MODULE_VERSION.9
alex [Sun, 11 Mar 2001 14:42:38 +0000 (14:42 +0000)]
Add MODULE_DEPEND.9 and MODULE_VERSION.9

23 years agoAdd a manpage for the MODULE_DEPEND macro.
alex [Sun, 11 Mar 2001 14:33:34 +0000 (14:33 +0000)]
Add a manpage for the MODULE_DEPEND macro.

23 years agoAdd a manpage for the MODULE_VERSION macro.
alex [Sun, 11 Mar 2001 14:33:15 +0000 (14:33 +0000)]
Add a manpage for the MODULE_VERSION macro.

23 years agoAdd calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE.
alex [Sun, 11 Mar 2001 14:18:23 +0000 (14:18 +0000)]
Add calls to MODULE_VERSION and MODULE_DEPEND to the EXAMPLE.

23 years agoWhen the file was transferred using sendfile(2), we forgot to keep track
des [Sun, 11 Mar 2001 13:20:44 +0000 (13:20 +0000)]
When the file was transferred using sendfile(2), we forgot to keep track
of the transferred byte count. MFC candidate.

PR: bin/25699

23 years agoDo not kill vnodes after rename. This can cause deadlocks in the deadfs.
bp [Sun, 11 Mar 2001 11:51:42 +0000 (11:51 +0000)]
Do not kill vnodes after rename. This can cause deadlocks in the deadfs.

Noticed by: Matthew N. Dodd <winter@jurai.net>

23 years agoUpdate userland interface for broken Joilet disks.
bp [Sun, 11 Mar 2001 10:06:28 +0000 (10:06 +0000)]
Update userland interface for broken Joilet disks.

Reviewed by: adrian

23 years agoAdd a mount time option which slightly relaxes checks for valid Joilet
bp [Sun, 11 Mar 2001 10:05:08 +0000 (10:05 +0000)]
Add a mount time option which slightly relaxes checks for valid Joilet
extensions.

PR: kern/23315
Reviewed by: adrian

23 years agoThis is an MFC candidate.
gibbs [Sun, 11 Mar 2001 06:34:17 +0000 (06:34 +0000)]
This is an MFC candidate.

ahc_eisa.c:
Change aic7770_map_int to take an additional irq parameter.
Although we can get the irq from the eisa dev under FreeBSD,
we can't do this under linux, so the OSM interface must supply
this.

ahc_pci.c:
Move ahc_power_state_change() to the OSM.  This allows us to
use a platform supplied function that does the same thing.
-current will move to the FreeBSD native API in the near
future.

aic7770.c:
Sync up with core changes to support Linux EISA.

We now store a 2 bit primary channel number rather
than a bit flag that only allows b to be the primary
channel.   Adjust for this change.

aic7xxx.c:
Namespace and staticization cleanup.  All exported symbols
use an "ahc_" prefix to avoid collisions with other modules.

Correct a logic bug that prevented us from dropping
ATN during some exceptional conditions during message
processing.

Take advantage of a new flag managed by the sequencer
that indicates if an SCB fetch is in progress.  If so,
the currently selected SCB needs to be returned to the
free list to prevent an SCB leak.  This leak is a rarity
and would only occur if a bus reset or timeout resulting
in a bus reset occurred in the middle of an SCB fetch.

Don't attempt to perform ULTRA transfers on ultra capable
adapters missing the external precision resistor required
for ultra speeds.  I've never encountered an adapter
configured this way, but better safe than sorry.

        Handle the case of 5MHz user sync rate set as "0" instead of 0x1c
        in scratch ram.

        If we lookup a period of 0 in our table (async), clear the scsi offset.

aic7xxx.h:
Adjust for the primary channel being represented as
a 2 bit integer in the flags member of the ahc softc.

Cleanup the flags definitions so that comment blocks are
not cramped.

Update seeprom definitions to correctly reflect the fact
that the primary channel is represented as a 2 bit integer.

Add AHC_ULTRA_DIASABLED softc flag to denote controllers
missing the external precision resistor.

aic7xxx.reg:
Add DFCACHETH to the definition of DFSTATUS for completness sake.

Add SEQ_FLAGS2 which currently only contains the SCB_DMA
(SCB DMA in progress) flag.

aic7xxx.seq:
Correct a problem when one lun has a disconnected untagged
transaction and another lun has disconnected tagged transactions.
Just because an entry is found in the untagged table doesn't
mean that it will match.  If the match on the lun fails, cleanup
the SCB (return it to the disconnected list or free it), and snoop
for a tag message.  Before this change, we reported an unsolicited
reselection.  This bug was introduced about a month ago during an
overly aggressive optimization pass on the reselection code.

When cleaning up an SCB, we can't just blindly free the SCB.  In
the paging case, if the SCB came off of the disconnected list, its
state may never have been updated in host memory.  So, check the
disconnected bit in SCB_CONTROL and return the SCB to the disconnected
list if appropriate.

Manage the SCB_DMA flag of SEQ_FLAGS2.

More carefully shutdown the S/G dma engine in all cases by using
a subroutine.  Supposedly not doing this can cause an arbiter hang
on some ULTRA2 chips.

Formatting cleanup.

On some chips, at least the aic7856, the transition from
MREQPEND to HDONE can take a full 4 clock cycles.  Test
HDONE one more time to avoid this race.  We only want our
FIFO hung recovery code to execute when the engine is
really hung.

aic7xxx_93cx6.c:
Sync perforce ids.

aic7xxx_freebsd.c:
Adjust for the primary channel being a 2 bit integer
rather than a flag for 'B' channel being the primary.

Namespace cleanup.

Unpause the sequencer in one error recovery path that
neglected to do so.  This could have caused us to perform
a bus reset when a recovery message might have otherwise been
successful.

aic7xxx_freebsd.h:
Use AHC_PCI_CONFIG for controlling compilation of PCI
support consistently throughout the driver.

Move ahc_power_state_change() to OSM.

aic7xxx_inline.h
Namespace cleanup.

Adjust our interrupt handler so it will work in the edge
interrupt case.  We must process all interrupt sources
when the interrupt fires or risk not ever getting an
interrupt again.  This involves marking the fact
that we are relying on an edge interrupt in ahc->flags
and checking for this condition in addition to the
AHC_ALL_INTERRUPTS flag.  This fixes hangs on the
284X and any other aic7770 installation where level
interrupts are not available.

aic7xxx_pci.c:
Move the powerstate manipulation code into the OSM.  Several
OSes now provide this functionality natively.

Take another shot at using the data stored in scratch ram
if the SCB2 signature is correct and no SEEPROM data is
available.  In the past this failed if external SCB ram
was configured because the memory port was locked.  We
now release the memory port prior to testing the values
in SCB2 and re-acquire it prior to doing termination control.

Adjust for new 2 bit primary channel setting.

Trust the STPWLEVEL setting on v 3.X BIOSes too.

Configure any 785X ID in the same fashion and assume
that any device with a rev id of 1 or higher has the
PCI 2.1 retry bug.

23 years agoPlug several mbuf leaks in error cases (in nd6)
bmilekic [Sun, 11 Mar 2001 05:31:45 +0000 (05:31 +0000)]
Plug several mbuf leaks in error cases (in nd6)

Submitted by: jhay

23 years agoDocument the softupdate stuff and also warn people against using
jkh [Sun, 11 Mar 2001 04:24:52 +0000 (04:24 +0000)]
Document the softupdate stuff and also warn people against using
it on root unless root is very large.

23 years agoReenable the SIGPIPE signal handler default in all cases for spawned
green [Sun, 11 Mar 2001 02:26:57 +0000 (02:26 +0000)]
Reenable the SIGPIPE signal handler default in all cases for spawned
sessions.

23 years agoWhen aio_read/write() is used on a raw device, physical buffers are
alc [Sat, 10 Mar 2001 22:47:57 +0000 (22:47 +0000)]
When aio_read/write() is used on a raw device, physical buffers are
used for up to "vfs.aio.max_buf_aio" of the requests.  If a request
size is MAXPHYS, but the request base isn't page aligned, vmapbuf()
will map the end of the user space buffer into the start of the kva
allocated for the next physical buffer.  Don't use a physical buffer
in this case.  (This change addresses problem report 25617.)

When an aio_read/write() on a raw device has completed, timeout() is
used to schedule a signal to the process.  Thus, the reporting is
delayed up to 10 ms (assuming hz is 100).  The process might have
terminated in the meantime, causing a trap 12 when attempting to
deliver the signal.  Thus, the timeout must be cancelled when removing
the job.

aio jobs in state JOBST_JOBQGLOBAL should be removed from the
kaio_jobqueue list during process rundown.

During process rundown, some aio jobs might move from one list to a
different list that has already been "emptied", causing the rundown to
be incomplete.  Retry the rundown.

A call to BUF_KERNPROC() is needed after obtaining a physical buffer
to disassociate the lock from the running process since it can return
to userland without releasing that lock.

PR: 25617
Submitted by: tegge

23 years agoCross references between the DEVICE_*(9) manual pages.
alex [Sat, 10 Mar 2001 19:53:38 +0000 (19:53 +0000)]
Cross references between the DEVICE_*(9) manual pages.

23 years agoAdd tunefs to the mfsroot floppy
jkh [Sat, 10 Mar 2001 19:52:12 +0000 (19:52 +0000)]
Add tunefs to the mfsroot floppy

23 years agoSupport setting soft updates from the label editor.
jkh [Sat, 10 Mar 2001 19:51:04 +0000 (19:51 +0000)]
Support setting soft updates from the label editor.

23 years agoAdd references to the various DEVICE_*(9) manpages, otherwise people
alex [Sat, 10 Mar 2001 19:42:26 +0000 (19:42 +0000)]
Add references to the various DEVICE_*(9) manpages, otherwise people
don't even know about these.

23 years agoAdd DEVICE_IDENTIFY.9
alex [Sat, 10 Mar 2001 19:37:27 +0000 (19:37 +0000)]
Add DEVICE_IDENTIFY.9

23 years agoAdd a manpage for the last of the driver's functions, the identify
alex [Sat, 10 Mar 2001 19:34:42 +0000 (19:34 +0000)]
Add a manpage for the last of the driver's functions, the identify
routine.

PR: 18654
Submitted by: myself (reworked today)

23 years agoTwo mdoc fixes:
alex [Sat, 10 Mar 2001 19:12:46 +0000 (19:12 +0000)]
Two mdoc fixes:
- .Os is used without "FreeBSD" nowadays.
- remove hard sentence breaks.

23 years agoEveryone that has commented seems to agree `-m 0' will cause no problems.
obrien [Sat, 10 Mar 2001 17:10:48 +0000 (17:10 +0000)]
Everyone that has commented seems to agree `-m 0' will cause no problems.

23 years agonetgraph.h:
julian [Sat, 10 Mar 2001 16:31:00 +0000 (16:31 +0000)]
netgraph.h:
  Change a prototype.
  Add a function version of ng_ref_node() when debugging so
  a breakpoint can be set on it.
ng_base.c:
  add 'node' as an argument to ng_apply_item so that it is up
  to the caller to take over and release the item's reference on
  the node. If the release reports back that the node went away
  due to the reference going to 0, the caller should cease referencing
  the now defunct node. (e.g. the item was a 'kill node' message).
  Alter ng_unref_node to report back the residual references as a result.
ng_pptpgre.c:
  Don't reference a node after we dropped a reference to it.
  (What if it was the last?)
Fixes a node leak reported by Harti Brandt <brandt@fokus.gmd.de>
 which was due to an incorrect earlier attempt to fix the
 "accessing node after dropping the last reference" problem.

23 years agoUpdate for /dev/random improvements.
markm [Sat, 10 Mar 2001 16:08:04 +0000 (16:08 +0000)]
Update for /dev/random improvements.

23 years agoAdd note on instruction emulation on EV[45] for things like BWX.
wilko [Sat, 10 Mar 2001 15:58:57 +0000 (15:58 +0000)]
Add note on instruction emulation on EV[45] for things like BWX.

23 years agoThe /dev/random harvesting sysctls have had a name change.
markm [Sat, 10 Mar 2001 13:45:28 +0000 (13:45 +0000)]
The /dev/random harvesting sysctls have had a name change.
Reflect this.

23 years agoKernel crypto need binary key material, not symbolic ascii.
markm [Sat, 10 Mar 2001 13:02:58 +0000 (13:02 +0000)]
Kernel crypto need binary key material, not symbolic ascii.

23 years agoThe /dev/random driver used Rijndael, not Blowfish, now.
markm [Sat, 10 Mar 2001 12:57:08 +0000 (12:57 +0000)]
The /dev/random driver used Rijndael, not Blowfish, now.

23 years agoVery large makeover of the /dev/random driver.
markm [Sat, 10 Mar 2001 12:51:55 +0000 (12:51 +0000)]
Very large makeover of the /dev/random driver.

o Separate the kernel stuff from the Yarrow algorithm. Yarrow is now
  well contained in one source file and one header.

o Replace the Blowfish-based crypto routines with Rijndael-based ones.
  (Rijndael is the new AES algorithm). The huge improvement in
  Rijndael's key-agility over Blowfish means that this is an
  extremely dramatic improvement in speed, and makes a heck of
  a difference in its (lack of) CPU load.

o Clean up the sysctl's. At BDE's prompting, I have gone back to
  static sysctls.

o Bug fixes. The streamlining of the crypto stuff enabled me to
  find and fix some bugs. DES also found a bug in the reseed routine
  which is fixed.

o Change the way reseeds clear "used" entropy. Previously, only the
  source(s) that caused a reseed were cleared. Now all sources in the
  relevant pool(s) are cleared.

o Code tidy-up. Mostly to make it (nearly) 80-column compliant.

23 years agoAllow for the last arugment to be the mountpoint of a filesystem,
ps [Sat, 10 Mar 2001 12:12:47 +0000 (12:12 +0000)]
Allow for the last arugment to be the mountpoint of a filesystem,
not just the device.

23 years agoafter discovering that the Santa Clara Valley Medical Center actually
billf [Sat, 10 Mar 2001 12:05:55 +0000 (12:05 +0000)]
after discovering that the Santa Clara Valley Medical Center actually
has a burn unit and is only 8 miles away...

add __DECONST(), __DEVOLATILE(), and __DEQUALIFY()

23 years agoAMD K6/K6-2/Duron/Athlon CPUs support MMX too.
sobomax [Sat, 10 Mar 2001 11:49:05 +0000 (11:49 +0000)]
AMD K6/K6-2/Duron/Athlon CPUs support MMX too.

Missed by: kris

23 years agoIn theory it would be perfectly legal for a system administrator to
billf [Sat, 10 Mar 2001 10:39:52 +0000 (10:39 +0000)]
In theory it would be perfectly legal for a system administrator to

# cd /dev && ./MAKEDEV pty0 pty3
and/or
# rm -rf /dev/ptyp0

and expect all programs that use openpty() to still try to find available ptys.

23 years agoFix typo.
okazaki [Sat, 10 Mar 2001 10:19:38 +0000 (10:19 +0000)]
Fix typo.

Approved by: tanimura

23 years agoAdd documentation for mchain API.
bp [Sat, 10 Mar 2001 06:10:48 +0000 (06:10 +0000)]
Add documentation for mchain API.

Reviewed by: asmodai, ru (mbchain.9)

23 years agoRemove now unused opt_ipx.h and opt_inet.h
bp [Sat, 10 Mar 2001 05:42:44 +0000 (05:42 +0000)]
Remove now unused opt_ipx.h and opt_inet.h

23 years agoSlightly reorganize allocation of new vnode. Use bit NVOLUME to detected
bp [Sat, 10 Mar 2001 05:39:03 +0000 (05:39 +0000)]
Slightly reorganize allocation of new vnode. Use bit NVOLUME to detected
vnodes which represent volumes (before it was done via strcmp()).
Turn n_refparent into bit in the n_flag field.

23 years agoAvoid complicated tests of whether devices are present or not, and
dougb [Sat, 10 Mar 2001 05:33:38 +0000 (05:33 +0000)]
Avoid complicated tests of whether devices are present or not, and
enable all harvesting options by default since having them on for
devices not present doesn't hurt anything. Leave them on by default
since for the most part they are not producing noticable slowdown,
and are about to get a lot more efficient.

Re-order part of the cheesy entropy process in preparation for
its complete removal.

23 years agoSynch with changes in the NCP requester.
bp [Sat, 10 Mar 2001 05:31:22 +0000 (05:31 +0000)]
Synch with changes in the NCP requester.

23 years agofix spelling errors, clarify comment, add $FreeBSD$
billf [Sat, 10 Mar 2001 05:28:46 +0000 (05:28 +0000)]
fix spelling errors, clarify comment, add $FreeBSD$

23 years agoMajor update of NCP requester:
bp [Sat, 10 Mar 2001 05:24:45 +0000 (05:24 +0000)]
Major update of NCP requester:

Use mchain API to work with mbuf chains.

Do not depend on INET and IPX options.

Allocate ncp_rq structure dynamically to prevent possible stack overflows.

Let ncp_request() dispose control structure if request failed.

Move all NCP wrappers to ncp_ncp.c file and all NCP request processing
functions to ncp_rq.c file.

Improve reconnection logic.

Misc style fixes.

23 years agoSpecify packing for an entire structure, not for each element of it.
bp [Sat, 10 Mar 2001 05:06:29 +0000 (05:06 +0000)]
Specify packing for an entire structure, not for each element of it.

23 years agoAdd libdata, some ports were using it.
kris [Sat, 10 Mar 2001 03:34:14 +0000 (03:34 +0000)]
Add libdata, some ports were using it.

23 years agoUse the correct path to the SASL .h files as installed by the SASL port.
gshapiro [Sat, 10 Mar 2001 00:31:07 +0000 (00:31 +0000)]
Use the correct path to the SASL .h files as installed by the SASL port.

MFC candidate.

Submitted by: jeh

23 years agoMAXHOSTNAMELEN includes the NUL
brian [Fri, 9 Mar 2001 21:24:13 +0000 (21:24 +0000)]
MAXHOSTNAMELEN includes the NUL