]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoRemove an accidentaly added extra blank line.
eric [Tue, 22 May 2001 06:20:27 +0000 (06:20 +0000)]
Remove an accidentaly added extra blank line.

Approved by: murray

23 years agoAdd vinumobj.h to SRCS.
grog [Tue, 22 May 2001 06:12:47 +0000 (06:12 +0000)]
Add vinumobj.h to SRCS.

23 years agoRemove Malloc definitions (now in vinumext.h)
grog [Tue, 22 May 2001 06:08:52 +0000 (06:08 +0000)]
Remove Malloc definitions (now in vinumext.h)

23 years agoUnlock the VM lock at the end of munlock() instead of locking it again.
jhb [Tue, 22 May 2001 06:07:36 +0000 (06:07 +0000)]
Unlock the VM lock at the end of munlock() instead of locking it again.

23 years agoSort includes from previous commit.
jhb [Tue, 22 May 2001 05:35:45 +0000 (05:35 +0000)]
Sort includes from previous commit.

23 years agoCorrect the vm_mtx handling; specifically, don't acquire it in
dd [Tue, 22 May 2001 03:56:26 +0000 (03:56 +0000)]
Correct the vm_mtx handling; specifically, don't acquire it in
shm_deallocate_segment because shmexit_myhook calls it, and the latter
should always be called with it already held.

Submitted by: dwmalone, dd
Approved by: alfred

23 years agoUpdate description of the stripe size created by vinum_stripe,
grog [Tue, 22 May 2001 02:40:40 +0000 (02:40 +0000)]
Update description of the stripe size created by vinum_stripe,
vinum_mirror, vinum_raid4, vinum_raid5.

Correct typos.

Show new output of the 'list' and 'ls' commands.

Update examples to use 279 kB stripe sizes instead of 256 kB.

Clarify some text.

Remove the description of the 'invalid ioctl' messages which now no
longer occur.

Add a description of the 'retryerrors' keyword.

23 years agoMajor tidy up. Add explicit header files, thus enabling the .c files
grog [Tue, 22 May 2001 02:39:48 +0000 (02:39 +0000)]
Major tidy up.  Add explicit header files, thus enabling the .c files
to avoid including the kernel headers.

Move a number of definitions of userland functions from
dev/vinum/vinumext.h.

Desired by:    bde

This commit is the first of a general cleanup of the header files..
It won't be enough to make bde happy.

Remove vinum_perror and associated DEVBUG definition.

23 years agoTidy up header files. Don't include stuff we don't need.
grog [Tue, 22 May 2001 02:39:24 +0000 (02:39 +0000)]
Tidy up header files.  Don't include stuff we don't need.

Use userland expurgated versions of kernel structures, since that's
what the ioctls return now.

Remove vinum_perror.

main: Check kernel version with userland version in _vinum_conf.  This
      field is a constant which gets incremented every time the
      kernel-userland interface changes.  This enables vinum(8) to
      check for the correct kernel version and to produce a useful
      message if it doesn't match.  For previous versions, which don't
      have a version number, the length of the structure is different,
      so we can recognize it via the EINVAL return from ioctl.

Supply count parameter to tokenize().

Change method of recognizing active devfs: replace devfs_is_active
with (complemented) no_devfs.

make_devices: remove references to devfs.  If we're running devfs,  we
don't need to call make_devices at all.

vinum_makedev (user command 'makedev'): Print a warning message if
devfs is running and don't do anything else.

23 years agoTidy up header files. Don't include stuff we don't need.
grog [Tue, 22 May 2001 02:38:52 +0000 (02:38 +0000)]
Tidy up header files.  Don't include stuff we don't need.

Remove vinum_perror.

Modify 'list' brief printout to fit in 80 columns.

Modify 'ls' brief printout to show the drive to which the subdisk
before instead of the plex offset, which is usually less interesting.
The verbose printout remains unchanged.

Use userland expurgated versions of kernel structures, since that's
what the ioctls return now.

Move checkupdates here to simplify header file mess.

23 years agoTidy up header files. Don't include stuff we don't need.
grog [Tue, 22 May 2001 02:38:11 +0000 (02:38 +0000)]
Tidy up header files.  Don't include stuff we don't need.

Remove 'vinum_perror'.

Only call make_devices if we're not running devfs.

Use userland expurgated versions of kernel structures, since that's
what the ioctls return now.

Update help list, which was lagging behind reality.

checkupdates: move to list.c to simplify header file mess.

vinum_stripe, vinum_mirror, vinum_raid4, vinum_raid5: change the
default stripe size from 256 k to 279 k, thus hopefully spreading
superblocks more evenly.

23 years agoAdd a field 'version' to vinum_conf. This field is a constant which
grog [Tue, 22 May 2001 02:37:28 +0000 (02:37 +0000)]
Add a field 'version' to vinum_conf.  This field is a constant which
gets incremented every time the kernel-userland interface changes.
This enables vinum(8) to check for the correct kernel version and to
produce a useful message if it doesn't match.

Requested by: Too many to count.

Move the definitions of struct drive, sd, plex and volume to
vinumobj.h.

Add a new debug flag, DEBUG_LOCKREQS, which logs only lock requests.

23 years agovinumstart: If a write request is for a RAID-[45] plex or a volume
grog [Tue, 22 May 2001 02:36:47 +0000 (02:36 +0000)]
vinumstart: If a write request is for a RAID-[45] plex or a volume
            with more than one plex, the data will be accessed
            multiple times.  During this time, userland code could
            potentially modify the buffer, thus causing data
            corruption.  In the case of a multi-plexed volume this
            might be cosmetic, but in the case of a RAID-[45] plex it
            can cause severe data corruption which only becomes
            evident after a drive failure.  Avoid this situation by
            making a copy of the data buffer before using it.

    Note that this solution does not guarantee any particular
    content of the buffer, just that it remains unchanged for
    the duration of the request.

Suggested by: alfred

23 years agotokenize: Take third parameter specifying the maximum number of
grog [Tue, 22 May 2001 02:35:57 +0000 (02:35 +0000)]
tokenize: Take third parameter specifying the maximum number of
parameters to return.  This code is used both in userland and in the
kernel.

23 years agoCosmetics: wrap long lines to be < 80 characters.
grog [Tue, 22 May 2001 02:35:19 +0000 (02:35 +0000)]
Cosmetics: wrap long lines to be < 80 characters.

23 years agoAdd a new debug flag, DEBUG_LOCKREQS, which logs only lock requests.
grog [Tue, 22 May 2001 02:34:30 +0000 (02:34 +0000)]
Add a new debug flag, DEBUG_LOCKREQS, which logs only lock requests.
Use this instead of DEBUG_LASTREQS to decide whether to log lock
requests.

MFS:

vinumlock: Catch a potential race condition where one process is
           waiting for a lock, and between the time it is woken and
           it retries the lock, another process gets it and places it
           in the first entry in the table.

           This problem has not been observed, but it's possible, and
           it's easy enough to fix.

Submitted by:   tegge

vinumunlock: Catch a real bug capable of hanging a system.  When
             releasing a lock, vinumunlock() called wakeup_one.  This
             caused wakeups to sometimes get lost.  After due
             consideration, we think that this is due to the fact that
             you can't guarantee that some other process is also
             waiting on the same address.  This makes wakeup_one a
             very dangerous function to use.

23 years agoChange ioctls to use the expurgated userland version of the Vinum
grog [Tue, 22 May 2001 02:33:32 +0000 (02:33 +0000)]
Change ioctls to use the expurgated userland version of the Vinum
structures.

23 years agoformat_config: Replace long format lines.
grog [Tue, 22 May 2001 02:32:22 +0000 (02:32 +0000)]
format_config: Replace long format lines.

Requested by:  bde

Add retryerrors keyword.

vinum_scandisk: Print a different message if an inadvertent start
command did not find any additional drives.  The previous message "no
drives found" confused and worried many people.

MFS:

vinum_open: Recognize Mylex devices as storage devices.

23 years agocomplete_rqe:
grog [Tue, 22 May 2001 02:31:08 +0000 (02:31 +0000)]
complete_rqe:
  In case of error, check the VF_RETRYERRORS flag in the subdisk and
  don't take the subdisk down if it's set, just retry the I/O.

  Requested by: peter

  If the buffer has been copied (XFR_COPYBUF), release the copied
  buffer when the I/O completes.

  Suggested by: alfred

23 years agoRemove unnecessary declarations of userland functions.
grog [Tue, 22 May 2001 02:30:44 +0000 (02:30 +0000)]
Remove unnecessary declarations of userland functions.

Desired by:    bde

This commit is the first of a general cleanup of the header files..
It won't be enough to make bde happy.

Move debug definitions from vinumhdr.h.

23 years agoconfig_sd: Add code to recognize "retryerrors" keyword.
grog [Tue, 22 May 2001 02:29:54 +0000 (02:29 +0000)]
config_sd: Add code to recognize "retryerrors" keyword.

config_plex: Don't create the device until we're finished.

parse_config: check for corrupted configuration, thus avoiding a
potential panic.

remove_sd_entry: Restore structure.

23 years agofree_vinum: Change some explicit struct member references to the SD,
grog [Tue, 22 May 2001 02:29:15 +0000 (02:29 +0000)]
free_vinum: Change some explicit struct member references to the SD,
  PLEX and VOL.

23 years agoAdd xferinfo flag bit for copied buffers.
grog [Tue, 22 May 2001 02:28:55 +0000 (02:28 +0000)]
Add xferinfo flag bit for copied buffers.

Create a new struct rangelockinfo.  In revision 1.21 of vinumlock.c,
the plex info was removed from struct rangelock, since it wasn't
needed there.  It *is* needed for trace information, however, so use
struct rangelockinfo for that.

23 years agoNew file containing definitions for separate views of objects for
grog [Tue, 22 May 2001 01:41:12 +0000 (01:41 +0000)]
New file containing definitions for separate views of objects for
userland and kernel.

23 years agoRemove KASSERT test for sleeping on mv_mtx, instead let WITNESS catch
alfred [Tue, 22 May 2001 00:58:20 +0000 (00:58 +0000)]
Remove KASSERT test for sleeping on mv_mtx, instead let WITNESS catch
it.

Requested by: jhb

23 years agoSort includes.
jhb [Tue, 22 May 2001 00:56:25 +0000 (00:56 +0000)]
Sort includes.

23 years agoFix a grammar nit.
dd [Tue, 22 May 2001 00:29:42 +0000 (00:29 +0000)]
Fix a grammar nit.

PR: 27520
Submitted by: Michael Lucas <mwlucas@blackhelicopters.org>

23 years agoRemove a few more spl's I missed earlier.
jhb [Tue, 22 May 2001 00:09:26 +0000 (00:09 +0000)]
Remove a few more spl's I missed earlier.

Reported by: Michael Harnois <mdharnois@home.com>
Pointy hat: me

23 years agoIntroduce a background_fsck rc.conf option which allows the user to
dd [Tue, 22 May 2001 00:05:48 +0000 (00:05 +0000)]
Introduce a background_fsck rc.conf option which allows the user to
enable or disable background fsck'ing all in one shot.  Default is
currently 'YES'.

Reviewed by: jkh

23 years agoSort includes from previous commit.
jhb [Mon, 21 May 2001 23:19:50 +0000 (23:19 +0000)]
Sort includes from previous commit.

23 years agoFix constness warning introduced in syslog.h 1.21.
dwmalone [Mon, 21 May 2001 22:13:55 +0000 (22:13 +0000)]
Fix constness warning introduced in syslog.h 1.21.

23 years agos/Cthulu/Cthulhu/
dcs [Mon, 21 May 2001 21:30:45 +0000 (21:30 +0000)]
s/Cthulu/Cthulhu/

Alas, the first one is a repeat in a slightly different format and
ought to be removed (or the other copy). I'll leave that to more
enterprising souls, though (Cthulhu loves enterprising souls).

MFC after: 3 days

23 years agoDisable SIGHUP while getting the login name.
guido [Mon, 21 May 2001 20:19:59 +0000 (20:19 +0000)]
Disable SIGHUP while getting the login name.

Reviewed by: security-officer

23 years agoSort includes.
jhb [Mon, 21 May 2001 18:52:02 +0000 (18:52 +0000)]
Sort includes.

23 years ago- Assert that the vm mutex is held in pipe_free_kmem().
jhb [Mon, 21 May 2001 18:47:17 +0000 (18:47 +0000)]
- Assert that the vm mutex is held in pipe_free_kmem().
- Don't release the vm mutex early in pipespace() but instead hold it
  across vm_object_deallocate() if vm_map_find() returns an error and
  across pipe_free_kmem() if vm_map_find() succeeds.
- Add a XXX above a zfree() since zalloc already has its own locking,
  one would hope that zfree() wouldn't need the vm lock.

23 years agoAxe unneeded spl()'s.
jhb [Mon, 21 May 2001 18:30:50 +0000 (18:30 +0000)]
Axe unneeded spl()'s.

23 years agoUpdate comment: We don't use vn(4) anymore in -CURRENT, we use md(4).
bmah [Mon, 21 May 2001 18:15:01 +0000 (18:15 +0000)]
Update comment:  We don't use vn(4) anymore in -CURRENT, we use md(4).

23 years agosyslog.h fails to compile with -Wwrite-strings
phk [Mon, 21 May 2001 17:32:47 +0000 (17:32 +0000)]
syslog.h fails to compile with -Wwrite-strings

PR: 27492
Submitted by: Alexey V. Neyman <avn@any.ru>

23 years agoWork around the side effect of src/include/Makefile,v 1.137 changes.
ru [Mon, 21 May 2001 17:06:26 +0000 (17:06 +0000)]
Work around the side effect of src/include/Makefile,v 1.137 changes.
(The proper fix is to add missing #include directives.)

23 years agoAdd note about pccard rototill and swapping breakage.
imp [Mon, 21 May 2001 16:40:50 +0000 (16:40 +0000)]
Add note about pccard rototill and swapping breakage.

23 years agoChange pmap_emulate_reference() so that it only touches the vm_page
gallatin [Mon, 21 May 2001 16:09:29 +0000 (16:09 +0000)]
Change pmap_emulate_reference() so that it only touches the vm_page
flags if it is safe to do so, otherwise it will just alter the pmap state
(eg, clear the appropriate PG_FOx bits).

This gets alpha booting in the face of the vm_mtx introduction.

Reviewed by: dfr

23 years agocatch these files up to their i386 neighbors to make alpha boot
gallatin [Mon, 21 May 2001 16:04:24 +0000 (16:04 +0000)]
catch these files up to their i386 neighbors to make alpha boot
prior to the vm_mtx

23 years agoUpdate pc98 memory probe functions.
nyan [Mon, 21 May 2001 12:51:44 +0000 (12:51 +0000)]
Update pc98 memory probe functions.
 - pc98_getmemsize() function returns available memory size under 16MB.
 - getmemsize() function is merged from PC-AT's one.

Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) and
NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>

23 years agoGet rid of LSYMSUBDIRS by merely setting up symlinks to LNOHEADERDIRS.
ru [Mon, 21 May 2001 12:37:04 +0000 (12:37 +0000)]
Get rid of LSYMSUBDIRS by merely setting up symlinks to LNOHEADERDIRS.

23 years agoMerged from sys/i386/isa/npx.c revisions 1.99 and 1.100.
nyan [Mon, 21 May 2001 12:20:22 +0000 (12:20 +0000)]
Merged from sys/i386/isa/npx.c revisions 1.99 and 1.100.

23 years agoMerged from sys/i386/i386/machdep.c revisions 1.452 and 1.453.
nyan [Mon, 21 May 2001 11:57:54 +0000 (11:57 +0000)]
Merged from sys/i386/i386/machdep.c revisions 1.452 and 1.453.

23 years agoMerged from sys/boot/i386/btx/btx/btx.s revision 1.24.
nyan [Mon, 21 May 2001 11:49:21 +0000 (11:49 +0000)]
Merged from sys/boot/i386/btx/btx/btx.s revision 1.24.

23 years agoAdded pc98 note menu.
nyan [Mon, 21 May 2001 11:25:58 +0000 (11:25 +0000)]
Added pc98 note menu.

Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>

23 years agoCorrect error message of an example.
ume [Mon, 21 May 2001 10:05:36 +0000 (10:05 +0000)]
Correct error message of an example.

Obtained from: KAME

23 years agoSubmitted by: Juha-Matti Liukkonen, Cubical Solutions Ltd (jml@cubical.fi)
hm [Mon, 21 May 2001 09:24:48 +0000 (09:24 +0000)]
Submitted by: Juha-Matti Liukkonen, Cubical Solutions Ltd (jml@cubical.fi)
Reviewed by: hm

Bug in i4btel driver read routine corrected. The conditions in the
while() clause caused the receive queue to be referenced before checking
if a channel is connected, leading to kernel panic (do a 'dd
if=/dev/i4btel0 of=/dev/null' on an unconnected tel device, panic will
follow). Correction was to reorder the while clause conditions to check
for connectedness first.

23 years agoMove allocation of ExCA registers from the base driver into the bus
imp [Mon, 21 May 2001 07:32:46 +0000 (07:32 +0000)]
Move allocation of ExCA registers from the base driver into the bus
attachment code.

23 years agoMove setting of Vcc bit to before the vcc switch statement. The
imp [Mon, 21 May 2001 05:49:15 +0000 (05:49 +0000)]
Move setting of Vcc bit to before the vcc switch statement.  The
datasheets I have seem to indicate that generally this bit is viewed
as a toggle.  Correct comments to match code.

23 years agoNext step on the road to pci: power taming.
imp [Mon, 21 May 2001 04:44:14 +0000 (04:44 +0000)]
Next step on the road to pci: power taming.

Work through the various power commands and convert them from a "is
this a foo controller or a foo' controller or a foo''' controller" to
a cabability based scheme.  We have bits in the softc that tell us
what kind of power control scheme the controller uses, rather than
relying on being able to enumerate them all.  Cardbus bridges are
numerous, but nearly all implement the i82365sl-DF scheme (well, a few
implement cirrus CL-PD67xx, but those were made by Cirrus Logic!).

Add a pointer back to the softc in each pcic_slot so we can access
these flags.

Add comments that talk about the issues here.  Also note in passing
that there are two differ Vpp schemes in use and that we may need to
adjust the code to deal with both of them.  Note why it usually works
now.

We have 5 power management modes right now: KING, AB, DF, PD and VG.
AB is for the i82365 stpes A, B and C.  DF is for step DF.  PD is the
cirrus logic extensions for 3.3V while VG is the VADEM extensions for
3.3V.  KING is for the IBM KING controller found on some old cards.
# I'm looking for one of those old cards or a laptop that has the KING
# bridge in it.

We have to still cheat and treat the AB parts like the DF parts
because pci isn't here yet.  As far as I can tell, this is harmless
for actual old parts and necessary to work with 3.3V cards in some
laptops.

This almost eliminates all tests for controller in the code.  There
are still a few unrelated to power that need taming as well.

23 years agoNext step towards pcic_pci: the ability to allocate mapped memory in attach.
imp [Mon, 21 May 2001 03:22:52 +0000 (03:22 +0000)]
Next step towards pcic_pci: the ability to allocate mapped memory in attach.

o Introduce flags word to the softc.  This will be used to control various
  aspects of the driver.  Right now there are two bits defined, PCIC_IO_MAPPED
  and PCIC_MEM_MAPPED.  One for ISA cards that are I/O mapped, the other is
  for PCI cards that are memory mapped.  Only the ISA side is implemented
  with this commit.
o Introduce a pcic_dealloc which will cleanly dealloc resources used.  Right
  now it is only supported when called from probe/attach.
o Keep track of resources allocated in the pcic_softc.
o move pcictimeout_ch to the softc so we can support multiple devices
  in polling mode.
o In ISA probe, set PCIC_IO_MAPPED.
o Introduce and compute the slot mask.  This will be used later when
  we expand the number of slots on ISA from 2 to 4.  In such a case, we
  appear to have to use polling mode otherwise we get two different cards
  trying to drive the same interrupt line.  I don't have hardware to
  test this configuration, so I'll stop here.

23 years agoAdd description for 82801BA controller.
kuriyama [Mon, 21 May 2001 01:24:14 +0000 (01:24 +0000)]
Add description for 82801BA controller.

MFC after: 1 week

23 years agoTwo comments and one bug fix:
imp [Mon, 21 May 2001 00:55:44 +0000 (00:55 +0000)]
Two comments and one bug fix:
o Add defines for the VS[12]# bits in register 0x16.
o Add comment about what we're doing reading register 0x16 (PCIC_CDGC)
  in the DF case.
o Check bit VS1# rather than a random bit I was checking due to a bogus
  transcrition on my part from nakagawa-san's article.
o Add note about IBM KING and 3.3V operation from information larned from
  wildboard.

23 years agoAdd a test for PR 24345.
jasone [Sun, 20 May 2001 23:12:13 +0000 (23:12 +0000)]
Add a test for PR 24345.

23 years agoUpdate the verify script.
jasone [Sun, 20 May 2001 23:11:54 +0000 (23:11 +0000)]
Update the verify script.

23 years agoDon't define _REENTRANT, since the Makefile does so.
jasone [Sun, 20 May 2001 23:11:09 +0000 (23:11 +0000)]
Don't define _REENTRANT, since the Makefile does so.

23 years agoFix a typo.
jasone [Sun, 20 May 2001 23:10:30 +0000 (23:10 +0000)]
Fix a typo.

23 years agoInstead of using a join queue for each thread, use a single pointer to
jasone [Sun, 20 May 2001 23:08:33 +0000 (23:08 +0000)]
Instead of using a join queue for each thread, use a single pointer to
keep track of a joiner.  POSIX only supports a single joiner, so this
simplification is acceptable.

At the same time, make sure to mark a joined thread as detached so that
its resources can be freed.

Reviewed by: deischen
PR: 24345

23 years agoAquire vm mutex when releasing sysv shm segments.
alfred [Sun, 20 May 2001 20:37:47 +0000 (20:37 +0000)]
Aquire vm mutex when releasing sysv shm segments.

Obtained from: Dima Dorfman <dima@unixfreak.org>

23 years agoPrint commas in the group list in user(). current() already did this.
dd [Sun, 20 May 2001 20:32:13 +0000 (20:32 +0000)]
Print commas in the group list in user().  current() already did this.

Reviewed by: ru, sheldonh
Inspired by: OpenBSD, NetBSD

23 years agoThrow away the complications in npxsave() and their infrastructure.
bde [Sun, 20 May 2001 20:04:40 +0000 (20:04 +0000)]
Throw away the complications in npxsave() and their infrastructure.
npxsave() went to great lengths to excecute fnsave with interrupts
enabled in case executing it froze the CPU.  This case can't happen,
at least for Intel CPU/NPX's.  Spurious IRQ13's don't imply spurious
freezes.  Anyway, the complications were usually no-ops because IRQ13
is not used on i486's and newer CPUs, and because SMPng broke them in
rev.1.84.  Forcible enabling of interrupts was changed to
write_eflags(old_eflags), but since SMPng usually calls npxsave() from
cpu_switch() with interrupts disabled, write_eflags() usually just
kept interrupts disabled.

23 years agoUse a critical region to protect almost everything in npxinit().
bde [Sun, 20 May 2001 18:05:44 +0000 (18:05 +0000)]
Use a critical region to protect almost everything in npxinit().
npxinit() didn't have the usual race because it doesn't save to curpcb,
but it may have had a worse form of it since it uses the npx when it
doesn't "own" it.  I'm not sure if locking prevented this.  npxinit()
is normally caled with the proc lock but not sched_lock.

Use a critical region to protect pushing of curproc's npx state to
curpcb in npxexit().  Not doing so was harmless since it at worst
saved a wrong state to a dieing pcb.

23 years agoUse a critical region to protect pushing of curproc's npx state to
bde [Sun, 20 May 2001 17:01:20 +0000 (17:01 +0000)]
Use a critical region to protect pushing of curproc's npx state to
curpcb in vm86_bioscall().  I don't know if the state is ever in the
npx at that point.

23 years agoUse a critical region to protect saving of the npx state in savectx().
bde [Sun, 20 May 2001 16:51:08 +0000 (16:51 +0000)]
Use a critical region to protect saving of the npx state in savectx().
Not doing this was fairly harmless because savectx() is only called
for panic dumps and the bug could at worse reset the state.

savectx() is still missing saving of (volatile) debug registers, and
still isn't called for core dumps.

23 years agofix vm_mtx related compiler warning
gallatin [Sun, 20 May 2001 16:41:37 +0000 (16:41 +0000)]
fix vm_mtx related compiler warning

23 years agofix alpha-MD compile errors after the vm_mtx commit
gallatin [Sun, 20 May 2001 16:22:46 +0000 (16:22 +0000)]
fix alpha-MD compile errors after the vm_mtx commit

23 years agoUpdate softdep_setup_directory_add prototype to reflect changes in
mckusick [Sun, 20 May 2001 15:59:55 +0000 (15:59 +0000)]
Update softdep_setup_directory_add prototype to reflect changes in
actual function.

Obtained from: Jim Bloom <bloom@jbloom.jbloom.org>

23 years agoPlug memoly leak in overlaps fragment cases.
sumikawa [Sun, 20 May 2001 15:33:46 +0000 (15:33 +0000)]
Plug memoly leak in overlaps fragment cases.

Obtained from: KAME

23 years agoRemoved -I${.CURDIR}/../../sys from CFLAGS.
ru [Sun, 20 May 2001 12:45:53 +0000 (12:45 +0000)]
Removed -I${.CURDIR}/../../sys from CFLAGS.

23 years ago- Sort usage() output;
sobomax [Sun, 20 May 2001 12:17:31 +0000 (12:17 +0000)]
- Sort usage() output;
- sync usage() with reality and manpage;
- display usage() even if terminal is not a syscons.

Submitted by: ru, sobomax

23 years agoFixed `objwarn' so that it doesn't issue spurious warnings,
ru [Sun, 20 May 2001 12:14:17 +0000 (12:14 +0000)]
Fixed `objwarn' so that it doesn't issue spurious warnings,
especially now that ${.OBJDIR} is canonicalized by make(1).

Urged by: bde
Reviewed by: bde

23 years agoSpell FreeBSD.org correctly.
ru [Sun, 20 May 2001 11:39:53 +0000 (11:39 +0000)]
Spell FreeBSD.org correctly.

23 years ago- Fix markup;
sobomax [Sun, 20 May 2001 11:33:12 +0000 (11:33 +0000)]
- Fix markup;
- add nik into Authors section.

Submitted by: ru

23 years agoAdd a flag to "ipfw show" which supresses the display of dynamic
dwmalone [Sun, 20 May 2001 10:01:39 +0000 (10:01 +0000)]
Add a flag to "ipfw show" which supresses the display of dynamic
rules.  Also, don't show dynamic rules if you only asked to see a
certain rule number.

PR: 18550
Submitted by: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
Approved by: luigi
MFC after: 2 weeks

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386
kris [Sun, 20 May 2001 06:21:12 +0000 (06:21 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after:      1 week

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386
kris [Sun, 20 May 2001 06:18:37 +0000 (06:18 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386
kris [Sun, 20 May 2001 06:16:53 +0000 (06:16 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC After: 1 week

23 years agoThis passes WARNS=2 on alpha and i386
kris [Sun, 20 May 2001 06:15:09 +0000 (06:15 +0000)]
This passes WARNS=2 on alpha and i386

23 years agoSilence WARNS=2 and BDECFLAGS except for stupid mode_t warnings.
kris [Sun, 20 May 2001 05:49:20 +0000 (05:49 +0000)]
Silence WARNS=2 and BDECFLAGS except for stupid mode_t warnings.

MFC after: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386
kris [Sun, 20 May 2001 05:44:03 +0000 (05:44 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386
kris [Sun, 20 May 2001 05:37:46 +0000 (05:37 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386
kris [Sun, 20 May 2001 05:33:53 +0000 (05:33 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC After: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386
kris [Sun, 20 May 2001 05:25:37 +0000 (05:25 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386
kris [Sun, 20 May 2001 05:13:21 +0000 (05:13 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC After: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386
kris [Sun, 20 May 2001 05:10:04 +0000 (05:10 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386

MFC after: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on i386 and alpha.
kris [Sun, 20 May 2001 05:01:48 +0000 (05:01 +0000)]
Silence WARNS=2 and BDECFLAGS on i386 and alpha.

MFC After: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on alpha and i386, except for mode_t
kris [Sun, 20 May 2001 05:00:16 +0000 (05:00 +0000)]
Silence WARNS=2 and BDECFLAGS on alpha and i386, except for mode_t
warnings.

MFC after: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on i386 and alpha
kris [Sun, 20 May 2001 04:54:15 +0000 (04:54 +0000)]
Silence WARNS=2 and BDECFLAGS on i386 and alpha

MFC After: 1 week

23 years agoSilence WARNS=2 and BDECFLAGS on the i386 and alpha
kris [Sun, 20 May 2001 04:52:37 +0000 (04:52 +0000)]
Silence WARNS=2 and BDECFLAGS on the i386 and alpha

MFC After: 1 week

23 years agoSilence warnings on alpha. Unfortunately we can't add WARNS to this
kris [Sun, 20 May 2001 04:47:55 +0000 (04:47 +0000)]
Silence warnings on alpha.  Unfortunately we can't add WARNS to this
because of that stupid mode_t warning bug.

MFC After: 1 week

23 years agoMake this pass WARNS=2 and BDECFLAGS
kris [Sun, 20 May 2001 04:37:28 +0000 (04:37 +0000)]
Make this pass WARNS=2 and BDECFLAGS

23 years agoBDECFLAGS cleanup (modulo long long issues). Add WARNS. Tested on alpha.
kris [Sun, 20 May 2001 04:12:30 +0000 (04:12 +0000)]
BDECFLAGS cleanup (modulo long long issues).  Add WARNS.  Tested on alpha.

Reviewed by: the great man himself (except alpha cleanups)

23 years agoUpdate for OpenSSL 0.9.6a
kris [Sun, 20 May 2001 03:43:14 +0000 (03:43 +0000)]
Update for OpenSSL 0.9.6a

MFC after: 2 weeks

23 years agoMake this compile with WARNS=2
kris [Sun, 20 May 2001 03:24:24 +0000 (03:24 +0000)]
Make this compile with WARNS=2

23 years agoResolve conflicts
kris [Sun, 20 May 2001 03:17:35 +0000 (03:17 +0000)]
Resolve conflicts

23 years agoAdd SmartLink 5634PCV SurfRider
sanpei [Sun, 20 May 2001 03:12:55 +0000 (03:12 +0000)]
Add SmartLink 5634PCV SurfRider

PR: kern/26952
Submitted by: Simon Dick <simond@irrelevant.org>

23 years agoThis commit was generated by cvs2svn to compensate for changes in r76866,
kris [Sun, 20 May 2001 03:07:21 +0000 (03:07 +0000)]
This commit was generated by cvs2svn to compensate for changes in r76866,
which included commits to RCS files with non-trunk default branches.