]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoDon't include <sys/systm.h>. It doesn't do anything, and with recent
Mike Smith [Fri, 7 Jan 2000 00:38:02 +0000 (00:38 +0000)]
Don't include <sys/systm.h>.  It doesn't do anything, and with recent
changes it breaks building genassym.

24 years agoCorrect a typo.
Søren Schmidt [Thu, 6 Jan 2000 23:10:59 +0000 (23:10 +0000)]
Correct a typo.

24 years agoAdd burncd to and remove wormcontrol from the targets.
Søren Schmidt [Thu, 6 Jan 2000 22:52:20 +0000 (22:52 +0000)]
Add burncd to and remove wormcontrol from the targets.

24 years agoNew ATAPI burner utility API, replaces the wormio API.
Søren Schmidt [Thu, 6 Jan 2000 22:50:02 +0000 (22:50 +0000)]
New ATAPI burner utility API, replaces the wormio API.

24 years agoNew ATAPI burner utility. Replaces wormcontrol.
Søren Schmidt [Thu, 6 Jan 2000 22:46:20 +0000 (22:46 +0000)]
New ATAPI burner utility. Replaces wormcontrol.

24 years agoFix typos:
Warner Losh [Thu, 6 Jan 2000 18:19:35 +0000 (18:19 +0000)]
Fix typos:
named->name: hank@black-hole.com
/etc/rc.conf -> /etc/rc PR: docs/15664 Iiya Naumov

Added radius.conf format change from jdp
Added genassym change from geoff rehmet <geoff@is.co.za>

Yes.  I'm still very much the maintainer of this file in -current.

24 years agoCleanup diskless support in current, mostly aligning it to the one
Luigi Rizzo [Thu, 6 Jan 2000 18:17:38 +0000 (18:17 +0000)]
Cleanup diskless support in current, mostly aligning it to the one
in the 3.x branch. Also remove the dependency on /usr to find the
boot address/interface.
Mostly-submitted-abd-tested-by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
24 years agoI believe this fixes the problem certain people have been seeing when doing
Peter Wemm [Thu, 6 Jan 2000 17:57:24 +0000 (17:57 +0000)]
I believe this fixes the problem certain people have been seeing when doing
checkouts from a local repo and committing via remote cvs.  A cvs -d
override of the mismatched CVS/Root files was missing.  This is a client
side fix, I'd appreciate it if the folks having trouble with this would
update their cvs client and pay particular attention next time..

24 years agoThe previous commit closes
David E. O'Brien [Thu, 6 Jan 2000 17:51:48 +0000 (17:51 +0000)]
The previous commit closes

PR: 14300
Submitted by: Chris Emerson <cemerson+freebsd@chiark.greenend.org.uk>

24 years agoFDC_YE has been removed as a valid option.
Warner Losh [Thu, 6 Jan 2000 16:45:56 +0000 (16:45 +0000)]
FDC_YE has been removed as a valid option.

Noticed by: bde

24 years agoBack out rev 1.11, about which bde had concerns, and instead implement
Sheldon Hearn [Thu, 6 Jan 2000 15:37:37 +0000 (15:37 +0000)]
Back out rev 1.11, about which bde had concerns, and instead implement
appropriate bounds-checking and typecasts based on our knowledge of
the desired conversion format specifier.

Simplify diagnostics and take care to print the correct conversion
format specifier when %l is involved.

24 years agoPrint negative minor numbers in hex. Negative minor numbers are
Bruce Evans [Thu, 6 Jan 2000 14:40:10 +0000 (14:40 +0000)]
Print negative minor numbers in hex.  Negative minor numbers are
essentially large unsigned ones, and we already print minor
numbers > 255 in hex.

24 years agoThird try.. Avoid filenames with spaces in them.
Peter Wemm [Thu, 6 Jan 2000 14:27:37 +0000 (14:27 +0000)]
Third try..  Avoid filenames with spaces in them.

PR: 15937
Pointed out by: Koga Youichirou <y-koga@jp.FreeBSD.org>

24 years agoMissed s/KERNEL/_KERNEL/ here.. *blush*.
Peter Wemm [Thu, 6 Jan 2000 13:14:51 +0000 (13:14 +0000)]
Missed s/KERNEL/_KERNEL/ here.. *blush*.

Submitted by: bde

24 years agoOops, fix typo in prev commit
Andrey A. Chernov [Thu, 6 Jan 2000 12:48:48 +0000 (12:48 +0000)]
Oops, fix typo in prev commit

24 years agoDon't set \(hy to char173 for koi8-r
Andrey A. Chernov [Thu, 6 Jan 2000 12:47:21 +0000 (12:47 +0000)]
Don't set \(hy to char173 for koi8-r

24 years agolibipsec and IPsec related apps. (and some KAME related man pages)
Yoshinobu Inoue [Thu, 6 Jan 2000 12:40:54 +0000 (12:40 +0000)]
libipsec and IPsec related apps. (and some KAME related man pages)

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project

24 years agoChange REGENTS -> AUTHOR in the copyright.
Daniel Eischen [Thu, 6 Jan 2000 12:16:16 +0000 (12:16 +0000)]
Change REGENTS -> AUTHOR in the copyright.
Add $FreeBSD$.

I missed this file in a previous commit.

Pointed out by: tg

24 years agoNow that chown is no longer available, we shouldn't try to use it.
Mike Smith [Thu, 6 Jan 2000 10:56:46 +0000 (10:56 +0000)]
Now that chown is no longer available, we shouldn't try to use it.

Improve the internal mknod() to understand being passed an (optional)
user:group specification.

Don't apply root:wheel to nodes explicitly anywhere, it's the default.

Remove an odd looking uucp:wheel assignment, as it's inconsistent with
all the other tty?? devices.

24 years agoremove most of PF_INET6 description. add references only.
Jun-ichiro itojun Hagino [Thu, 6 Jan 2000 08:58:33 +0000 (08:58 +0000)]
remove most of PF_INET6 description.  add references only.

Suggested by: Ruslan Ermilov <ru@FreeBSD.org>

24 years agoCleanups: remove stale comments left over from when I cloned the ADMtek
Bill Paul [Thu, 6 Jan 2000 07:39:07 +0000 (07:39 +0000)]
Cleanups: remove stale comments left over from when I cloned the ADMtek
driver, remove unused member of kue_chain struct also left over from
ADMtek driver.

24 years agoCheckpoint of today's changes. We now get to the point where the pccard
Warner Losh [Thu, 6 Jan 2000 07:30:28 +0000 (07:30 +0000)]
Checkpoint of today's changes.  We now get to the point where the pccard
layer is trying to access the now unexistant chip functions.
o Added DEVPRINTF which is like DPRINTF only calls device_printf.
o Made it possible to define PCICDEBUG
o Remove ph_parent and use the softc pointer sc instead in pcic_handle.
o Remove all references to dv_xname
o Add some debug messages.
o enable MI attach/detach calling for pccard.
o convert pcic_chip_socket_{en,dis}able to pcic_{dis,en}able_socket
  and connect them to the power_{enable,disbale}_socket.
o Remove pccard pointer from pcic_softc.
o GC some unused pccard functions.
o Convert pccard_chip_socket* to POWER_ENABLE_SOCKET
o kill pccard_attach_args.
o power_if.m updates.  More to come.

24 years agoAdd power_if.[cho] generation for new pccard system.
Warner Losh [Thu, 6 Jan 2000 07:18:05 +0000 (07:18 +0000)]
Add power_if.[cho] generation for new pccard system.
Also added commented out xe driver pending change.  Should be benign.

24 years agoMerge most of FDC_YE into the mainline driver.
Warner Losh [Thu, 6 Jan 2000 07:13:54 +0000 (07:13 +0000)]
Merge most of FDC_YE into the mainline driver.
o Rename FDC_PCMCIA to FDC_NODMA to allow systems that don't have dma
  for floppies.
o Remove all but two FDC_YE ifdefs.  They aren't needed.
o Move defines for YE_DATAPORT to fdreg.h.

Not fixed:
o The pccard probe/attach.  However, motivated individuals can more
  easily add this now.

This is a merge of changes I've had in my tree for a long time.  These
fixes were tested on my VAIO with its normal floppy.  Please let me
know if I broke anything.

Prodded by: Peter Wemm <peter@freebsd.org>

24 years agoRevert rev 1.3. chown(8)-like functionality has been added to mknod(8)
David E. O'Brien [Thu, 6 Jan 2000 05:30:38 +0000 (05:30 +0000)]
Revert rev 1.3.  chown(8)-like functionality has been added to mknod(8)
and MAKEDEV(8) will be changed to not use chown(8), thus removing the
depdendance on a having /usr mounted.

24 years agoAdd chown(8)-like functionality. This will allow us to not use chown(8)
David E. O'Brien [Thu, 6 Jan 2000 05:20:14 +0000 (05:20 +0000)]
Add chown(8)-like functionality.  This will allow us to not use chown(8)
in MAKEDEV(8) -- removing the need of having /usr mounted.

24 years agoallow mixer-only devices - ie, devices with no play/rec channels
Cameron Grant [Thu, 6 Jan 2000 04:11:36 +0000 (04:11 +0000)]
allow mixer-only devices - ie, devices with no play/rec channels

24 years agobring in description for KAME IPv6 changes.
Jun-ichiro itojun Hagino [Thu, 6 Jan 2000 03:47:57 +0000 (03:47 +0000)]
bring in description for KAME IPv6 changes.
XXX it looks that sysctl.3 lacks most of PF_INET items.
Reviewed by: shin
Obtained from: KAME (netbsd-current)

24 years agoimplement OSF_GET_MAX_UPROCS portion of osf1_getsysinfo() for AT&T ksh
Andrew Gallatin [Thu, 6 Jan 2000 02:37:45 +0000 (02:37 +0000)]
implement OSF_GET_MAX_UPROCS portion of osf1_getsysinfo() for AT&T ksh

24 years agoShutup complaints about unimplemented SVR4 ioctls
Andrew Gallatin [Thu, 6 Jan 2000 02:35:44 +0000 (02:35 +0000)]
Shutup complaints about unimplemented SVR4 ioctls

24 years agoMake example for handling "-##" work and comply with style(9). Still
Tim Vanderhoek [Thu, 6 Jan 2000 01:25:15 +0000 (01:25 +0000)]
Make example for handling "-##" work and comply with style(9).  Still
doesn't handle nastier corner cases such as "-j3 -33" correctly.  <shrug>

PR: docs/12994 (James Howard <howardjp@wam.umd.edu>)

24 years agomake_devices(): Create devices with permissions 640, not 740.
Greg Lehey [Wed, 5 Jan 2000 23:56:33 +0000 (23:56 +0000)]
make_devices(): Create devices with permissions 640, not 740.

Pointed-out-by: "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>

24 years agoUpdate copyright date for Y2K (did the other files but forgot this one).
Bill Paul [Wed, 5 Jan 2000 23:38:07 +0000 (23:38 +0000)]
Update copyright date for Y2K (did the other files but forgot this one).
Also update comments to credit to Rob Furr with donating the adapter
that I used for testing. No code changes.

24 years agoDon't tsleep with PCATCH, it's a wonderful way to hang the system.
Greg Lehey [Wed, 5 Jan 2000 22:59:36 +0000 (22:59 +0000)]
Don't tsleep with PCATCH, it's a wonderful way to hang the system.

Reported-by: Bernd Walter <ticso@cicely.de>

24 years agoAdd missing header file.
Greg Lehey [Wed, 5 Jan 2000 22:58:39 +0000 (22:58 +0000)]
Add missing header file.

Not-reported-by: peter

24 years agoAdd documentation for SVR4 options in LINT.
Mark Newton [Wed, 5 Jan 2000 21:41:16 +0000 (21:41 +0000)]
Add documentation for SVR4 options in LINT.

24 years agoUnbreak LINT -- typedefs from signal.h are needed to make prototypes in
Mark Newton [Wed, 5 Jan 2000 21:28:46 +0000 (21:28 +0000)]
Unbreak LINT -- typedefs from signal.h are needed to make prototypes in
this file make sense.

24 years agodon't panic if channel init fails, report and fail gracefully
Cameron Grant [Wed, 5 Jan 2000 20:44:41 +0000 (20:44 +0000)]
don't panic if channel init fails, report and fail gracefully

24 years agoFix a few obscure memory leaks.
Archie Cobbs [Wed, 5 Jan 2000 20:36:07 +0000 (20:36 +0000)]
Fix a few obscure memory leaks.

24 years agoCast myminor/mymajor results to u_int so
Matt Jacob [Wed, 5 Jan 2000 20:18:16 +0000 (20:18 +0000)]
Cast myminor/mymajor results to u_int so
comparisons to longs work correctly on
alpha.

24 years agoExport the nselcoll counter via the kern.nselcoll sysctl so we can see
Peter Wemm [Wed, 5 Jan 2000 19:40:17 +0000 (19:40 +0000)]
Export the nselcoll counter via the kern.nselcoll sysctl so we can see
just how bad it gets in various situations.

Reminded by:  adrian

24 years agoSupport filesystems with the not-so-new "filetype" feature. This
Bruce Evans [Wed, 5 Jan 2000 19:31:26 +0000 (19:31 +0000)]
Support filesystems with the not-so-new "filetype" feature.  This
feature gives the d_type field for struct dirent.  We used to panic
in ext2_readdir() for filesystems with this feature.

24 years agoActually remove unrequired SRCS.
Bruce Evans [Wed, 5 Jan 2000 19:22:10 +0000 (19:22 +0000)]
Actually remove unrequired SRCS.

24 years agoFixed the type of dllockinit() (const unpoisoning).
Bruce Evans [Wed, 5 Jan 2000 19:04:55 +0000 (19:04 +0000)]
Fixed the type of dllockinit() (const unpoisoning).

Use long lines instead of lines split with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.

24 years agoFixed missing include in synopsis.
Bruce Evans [Wed, 5 Jan 2000 19:02:14 +0000 (19:02 +0000)]
Fixed missing include in synopsis.

Use long lines instead of lines split with backslash-newline in synopsis.
My synopsis checker doesn't understand backslash-newline.

24 years agoFixed missing include in synopsis.
Bruce Evans [Wed, 5 Jan 2000 18:54:37 +0000 (18:54 +0000)]
Fixed missing include in synopsis.

24 years agoCorrect the vendor ID for KLSI: it's actually 0x5e9. 0x3e8 is the
Bill Paul [Wed, 5 Jan 2000 18:25:53 +0000 (18:25 +0000)]
Correct the vendor ID for KLSI: it's actually 0x5e9. 0x3e8 is the
vendor ID for Aox Inc, which makes the controller engine and/or
firmware for the KLSI chip.

24 years agoMake the evil broken pnpbios compensation slightly less evil.
Peter Wemm [Wed, 5 Jan 2000 17:42:43 +0000 (17:42 +0000)]
Make the evil broken pnpbios compensation slightly less evil.
This is the hack that compensates for when bios vendors "forget" to
include the fdc control (0x3f7) port in their io port mappings.  Instead
of accessing ports outside of a range allocated to a handle, simply
allocate the port directly.  It even shows up in the probe..

24 years agoRefreshed the silly copy of <sys/types.h>. It was 3 years out of date.
Bruce Evans [Wed, 5 Jan 2000 17:40:25 +0000 (17:40 +0000)]
Refreshed the silly copy of <sys/types.h>.  It was 3 years out of date.

24 years agoRefreshed the silly copy of <sys/disklabel.h>. The old copy was
Bruce Evans [Wed, 5 Jan 2000 17:34:00 +0000 (17:34 +0000)]
Refreshed the silly copy of <sys/disklabel.h>.  The old copy was
seriously out of date.  It older than Lite1 (it has an undeprecated
DISKTAB but not _PATH_DISKTAB).

24 years agoDoh. Forgot to add the entry for the 3Com 3c19250 to the supported
Bill Paul [Wed, 5 Jan 2000 17:31:05 +0000 (17:31 +0000)]
Doh. Forgot to add the entry for the 3Com 3c19250 to the supported
devices table.

24 years agoDo not attempt to load the firmware a second time. If you reboot your
Bill Paul [Wed, 5 Jan 2000 17:13:50 +0000 (17:13 +0000)]
Do not attempt to load the firmware a second time. If you reboot your
machine but leave your KLSI adapter plugged into your USB port, it
may stay powered on and retain its firmware in memory. Trying to load
the firmware again in this case will wedge the chip. Try to detect this
in the kue_load_fw() routine and bail if the firmware is already
loaded and running.

Also, in the probe/match routine, force the revision code to the
hardware default and force a rescan of the quirk database. This is
necessary because the adapter will return a different revision code
if the firmware has been loaded. Without the firmware, the revision
code is 0x002. With the firmware, the revision code is 0x202. This
confuses the quirk mechanism, which won't match a quirk to a device
unless the revision code agrees with the quirk table entry.

This makes probe/attach of these devices somewhat more reliable.

Also add a few comments about the device's operation.

24 years agoRefreshed the silly copy of <sys/dirent.h>. _KERNEL was still spelled
Bruce Evans [Wed, 5 Jan 2000 17:04:36 +0000 (17:04 +0000)]
Refreshed the silly copy of <sys/dirent.h>.  _KERNEL was still spelled
KERNEL, and the changes to remove the <sys/types.h> prerequisite had
not reached here.

Removed unused/wrong include of <sys/types.h> in synopsis.

24 years agoRefreshed the silly literal copy of <sys/mtio.h>. _KERNEL was still
Bruce Evans [Wed, 5 Jan 2000 16:52:34 +0000 (16:52 +0000)]
Refreshed the silly literal copy of <sys/mtio.h>.  _KERNEL was still
spelled KERNEL...

24 years agoZap pci_map_dense() and pci_map_bwx() - they were for compatability but
Peter Wemm [Wed, 5 Jan 2000 16:40:10 +0000 (16:40 +0000)]
Zap pci_map_dense() and pci_map_bwx() - they were for compatability but
are not used.  All the drivers that use memory mapped IO on the Alpha have
been ported already.

24 years agoFixed missing includes in synopsis. <sys/file.h> went missing when KERNEL
Bruce Evans [Wed, 5 Jan 2000 16:38:58 +0000 (16:38 +0000)]
Fixed missing includes in synopsis.  <sys/file.h> went missing when KERNEL
was not updated to _KERNEL.  Actually including <sys/file.h> as specified
never actually worked, since a prerequisite was missing.

24 years agoPatch up some of the evilness left over from the early newbus porting.
Peter Wemm [Wed, 5 Jan 2000 16:31:27 +0000 (16:31 +0000)]
Patch up some of the evilness left over from the early newbus porting.
In particular:
 - Don't leave resources allocated in the probe routine.  Allocate them
   during probe and release them.  Probe's job is to identify devices only.
 - Don't abuse the ivars pointer.. (!).  Create real ivars and use the
   proper access system.  (the bus_read_ivar method)
 - Don't add the children until attach() has successfully grabbed the
   hardware, otherwise there are potential leaks if attach fails.

24 years agoFixed missing include in synopsis.
Bruce Evans [Wed, 5 Jan 2000 16:31:12 +0000 (16:31 +0000)]
Fixed missing include in synopsis.

Removed superfluous quoting of function name in .Fo macro.  My synopsis
checker doesn't understand it.

24 years agoKERNEL -> _KERNEL
Eivind Eklund [Wed, 5 Jan 2000 16:25:20 +0000 (16:25 +0000)]
KERNEL -> _KERNEL

24 years agomdoc(7)'fy
Alexey Zelkin [Wed, 5 Jan 2000 15:21:01 +0000 (15:21 +0000)]
mdoc(7)'fy
sort XREFs

24 years agomdoc(7)'fy
Alexey Zelkin [Wed, 5 Jan 2000 15:16:32 +0000 (15:16 +0000)]
mdoc(7)'fy

24 years agoDon't build with X support if DESTDIR is defined. This prevents
Marcel Moolenaar [Wed, 5 Jan 2000 12:59:31 +0000 (12:59 +0000)]
Don't build with X support if DESTDIR is defined. This prevents
breaking a cross-build caused by taking the X libraries on the
build machine. In general this means that we never compile with
X support. The user has to manually compile doscmd for that.

Suggested by: bde, imp (among others)

24 years agoSynced with sys/i386/isa/clock.c rev 1.149.
KATO Takenori [Wed, 5 Jan 2000 12:35:03 +0000 (12:35 +0000)]
Synced with sys/i386/isa/clock.c rev 1.149.

24 years agoSynced with sys/i386/i386/userconfig.c rev 1.166.
KATO Takenori [Wed, 5 Jan 2000 12:34:10 +0000 (12:34 +0000)]
Synced with sys/i386/i386/userconfig.c rev 1.166.

24 years agoSynced with sys/i386/conf/GENERIC rev 1.222.
KATO Takenori [Wed, 5 Jan 2000 12:33:10 +0000 (12:33 +0000)]
Synced with sys/i386/conf/GENERIC rev 1.222.

24 years agoMissed a filename variable quote in rc
Peter Wemm [Wed, 5 Jan 2000 09:19:27 +0000 (09:19 +0000)]
Missed a filename variable quote in rc

24 years agoQuote arguments in vi recover script.
Peter Wemm [Wed, 5 Jan 2000 08:17:18 +0000 (08:17 +0000)]
Quote arguments in vi recover script.

PR: 15901
Submitted by: KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>

24 years agoExplicitly type large scalar parameters to avoid compilation warnings
Greg Lehey [Wed, 5 Jan 2000 06:13:01 +0000 (06:13 +0000)]
Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by:       Bernd Walter <ticso@cicely.de>

struct sd: Add a field for the pid of the reviver when the subdisk is
reviving.

Replace block device macros with generalized device macros.

24 years agoWhen attaching a plex to a volume with 'up' subdisks, make the plexes
Greg Lehey [Wed, 5 Jan 2000 06:12:25 +0000 (06:12 +0000)]
When attaching a plex to a volume with 'up' subdisks, make the plexes
subdisks 'stale', not 'reviving'.

24 years agoCorrect printf format for pointers to avoid compilation warnings on
Greg Lehey [Wed, 5 Jan 2000 06:11:46 +0000 (06:11 +0000)]
Correct printf format for pointers to avoid compilation warnings on
alpha.

Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by:       Bernd Walter <ticso@cicely.de>

Make better checks that the revive block size is valid, silently set
it to the defaults if not.

Replace block device macros with generalized device macros.

24 years agoCorrect printf format for pointers to avoid compilation warnings on
Greg Lehey [Wed, 5 Jan 2000 06:10:52 +0000 (06:10 +0000)]
Correct printf format for pointers to avoid compilation warnings on
alpha.

Modify the manner in which we lock RAID-5 plexes.  This appears to
solve some of the elusive panics we have seen with corrupted buffer
headers (specifically the zeroed-out b_iodone field).

Submitted-by:       Bernd Walter <ticso@cicely.de>

24 years agoModify the manner in which we lock RAID-5 plexes. This appears to
Greg Lehey [Wed, 5 Jan 2000 06:09:43 +0000 (06:09 +0000)]
Modify the manner in which we lock RAID-5 plexes.  This appears to
solve some of the elusive panics we have seen with corrupted buffer
headers (specifically the zeroed-out b_iodone field).

Submitted-by:       Bernd Walter <ticso@cicely.de>

24 years agoChange the name of the define 'SPACETAB' (originally 'isspace') to
Greg Lehey [Wed, 5 Jan 2000 06:08:55 +0000 (06:08 +0000)]
Change the name of the define 'SPACETAB' (originally 'isspace') to
'iswhite'.  The original change was required because of name
conflicts.

Add key pairs for the keywords 'mv' and 'move' (part of the move
command).

Add comments.

24 years agoInclude basename() function even if the system isn't i386.
Greg Lehey [Wed, 5 Jan 2000 06:08:23 +0000 (06:08 +0000)]
Include basename() function even if the system isn't i386.

Correct printf format for pointers to avoid compilation warnings on
alpha.

Submitted-by:       Bernd Walter <ticso@cicely.de>

24 years agoAdd the keywords 'mv' and 'move'.
Greg Lehey [Wed, 5 Jan 2000 06:07:59 +0000 (06:07 +0000)]
Add the keywords 'mv' and 'move'.

24 years agoAdd function moveobject, which currently moves subdisks to different
Greg Lehey [Wed, 5 Jan 2000 06:07:26 +0000 (06:07 +0000)]
Add function moveobject, which currently moves subdisks to different
drives.  This function just does the low-level configuration changes;
the resultant subdisk is stale if it previously had any contents,
otherwise it is empty (i.e. in need of initializing if it's RAID-5).
We still need to handle getting the contents moved over, but the
current version will suffice to migrate subdisks from a disk which has
failed.

Submitted-by: Marius Bendiksen <marius@marius.scancall.no>
24 years agoAdd VINUM_MOVE ioctl.
Greg Lehey [Wed, 5 Jan 2000 06:06:01 +0000 (06:06 +0000)]
Add VINUM_MOVE ioctl.

Fix transfer lengths for some ioctls.

Rearrange file: put structs first, then ioctl requests.

24 years agoExplicitly type large scalar parameters to avoid compilation warnings
Greg Lehey [Wed, 5 Jan 2000 06:05:33 +0000 (06:05 +0000)]
Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by:       Bernd Walter <ticso@cicely.de>

Remove #include of vm/vm_zone.h.

Submitted-by: Someone, I'm sure, but I seem to have lost the
attribution.  Sorry.

Get the check for disk devices correct, and return an appropriate
message if the check fails.

24 years agoAdd declaration for give_sd_to_drive, needed for the 'move' command.
Greg Lehey [Wed, 5 Jan 2000 06:04:17 +0000 (06:04 +0000)]
Add declaration for give_sd_to_drive, needed for the 'move' command.

24 years agoSet P_SYSTEM in the daemon proc structure to alleviate delays on
Greg Lehey [Wed, 5 Jan 2000 06:03:56 +0000 (06:03 +0000)]
Set P_SYSTEM in the daemon proc structure to alleviate delays on
shutdown.

Submitted-by: Alfred Perlstein <bright@wintelcom.net>

Correct printf format for pointers to avoid compilation warnings on
alpha.

Submitted-by: Bernd Walter <ticso@cicely.de>

Identify daemon as 'vinum', not 'vinumd', in messages.  This
corresponds to the name in ps.

24 years agoExplicitly type large scalar parameters to avoid compilation warnings
Greg Lehey [Wed, 5 Jan 2000 06:02:57 +0000 (06:02 +0000)]
Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by:       Bernd Walter <ticso@cicely.de>

Get parameters right for some error messages returned via
throw_rude_remark().

Fix typo in comment.

Remove the 'static' attribute from give_sd_to_drive.  This is needed
for the implementation of moveobject() in vinumioctl.c.

24 years agoDescribe 'move' function.
Greg Lehey [Wed, 5 Jan 2000 05:59:08 +0000 (05:59 +0000)]
Describe 'move' function.

Submitted-by: Marius Bendiksen <marius@marius.scancall.no>

Describe state transitions in more detail, in particular how to revive
subdisks.

24 years agoChange parameters of some declarations.
Greg Lehey [Wed, 5 Jan 2000 05:58:01 +0000 (05:58 +0000)]
Change parameters of some declarations.

Add declaration for vinum_mv.

24 years agomakedev: Give all devices permissions 740.
Greg Lehey [Wed, 5 Jan 2000 05:57:31 +0000 (05:57 +0000)]
makedev: Give all devices permissions 740.

Suggested-by: Bernd Walter (ticso@cicely.de)

Add key pairs for 'mv' and 'move' (a synonym for 'mv').  Required for
the move command code submitted by Marius Bendiksen
<marius@marius.scancall.no>

make_devices: Don't create symlinks for drives if they are only
referenced.  Previously, spurious symlinks appeared in the current
directory.

Problem-reported-by: Bernd Walter (ticso@cicely.de)

No longer create character devices, now that there is no difference.
Make the devices as character devices, not block devices.

24 years agoExplicitly type large scalar parameters to avoid compilation warnings
Greg Lehey [Wed, 5 Jan 2000 05:56:47 +0000 (05:56 +0000)]
Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by: Bernd Walter <ticso@cicely.de>

Replace %q formats with %lld.

Desired-by: bde

Remove #ifdef RAID5

vinum_lsi: If a subdisk is in 'reviving' state, check the status of
the revive and report the status of the revive.  In verbose mode,
display the pid of the reviver.

24 years agoExplicitly type large scalar parameters to avoid compilation warnings
Greg Lehey [Wed, 5 Jan 2000 05:55:57 +0000 (05:55 +0000)]
Explicitly type large scalar parameters to avoid compilation warnings
on alpha.

Submitted-by: Bernd Walter <ticso@cicely.de>

Add function vinum_mv, which moves subdisks to different drives.  This
function just does the low-level configuration changes; the resultant
subdisk is stale if it previously had any contents, otherwise it is
empty (i.e. in need of initializing if it's RAID-5).  We still need to
handle getting the contents moved over, but the current version will
suffice to migrate subdisks from a disk which has failed.

Submitted-by: Marius Bendiksen <marius@marius.scancall.no>

vinum_start:  Get the revive block size right.

24 years ago Enhance reassignbuf(). When a buffer cannot be time-optimally inserted
Matthew Dillon [Wed, 5 Jan 2000 05:11:37 +0000 (05:11 +0000)]
Enhance reassignbuf().  When a buffer cannot be time-optimally inserted
    into vnode dirtyblkhd we append it to the list instead of prepend it to
    the list in order to maintain a 'forward' locality of reference, which
    is arguably better then 'reverse'.  The original algorithm did things this
    way to but at a huge time cost.

    Enhance the append interlock for NFS writes to handle intr/soft mounts
    better.

    Fix the hysteresis for NFS async daemon I/O requests to reduce the
    number of unnecessary context switches.

    Modify handling of NFS mount options.  Any given user option that is
    too high now defaults to the kernel maximum for that option rather then
    the kernel default for that option.

Reviewed by:  Alfred Perlstein <bright@wintelcom.net>

24 years agoMan pages for the VFS extended attribute and access control list vnops.
Robert Watson [Wed, 5 Jan 2000 04:59:02 +0000 (04:59 +0000)]
Man pages for the VFS extended attribute and access control list vnops.

Reviewed by: eivind

24 years agoAdd device driver support for USB ethernet adapters based on the
Bill Paul [Wed, 5 Jan 2000 04:27:24 +0000 (04:27 +0000)]
Add device driver support for USB ethernet adapters based on the
Kawasaki LSI KL5KUSB101B chip, including the LinkSys USB10T, the
Entrega NET-USB-E45, the Peracom USB Ethernet Adapter, the 3Com
3c19250 and the ADS Technologies USB-10BT. This device is 10mbs
half-duplex only, so there's miibus or ifmedia support. This device
also requires firmware to be loaded into it, however KLSI allows
redistribution of the firmware images (I specifically asked about
this; they said it was ok).

Special thanks to Annelise Anderson for getting me in touch with
KLSI (eventually) and thanks to KLSI for providing the necessary
programming info.

Highlights:
- Add driver files to /sys/dev/usb
- update usbdevs and regenerate attendate files
- update usb_quirks.c
- Update HARDWARE.TXT and RELNOTES.TXT for i386 and alpha
- Update LINT, GENERIC and others for i386, alpha and pc98
- Add man page
- Add module
- Update sysinstall and userconfig.c

24 years agoargh, forgot the bus_dma_tag_creates.
Cameron Grant [Wed, 5 Jan 2000 04:01:34 +0000 (04:01 +0000)]
argh, forgot the bus_dma_tag_creates.
also, panic if channel init fails instead of derefing null.

24 years agoAdd protocol to ``nat port'' examples - it's mandatory.
Brian Somers [Wed, 5 Jan 2000 02:59:28 +0000 (02:59 +0000)]
Add protocol to ``nat port'' examples - it's mandatory.

Suggested by: Mark Knight <markk@knigma.org>

24 years agoset up the pci regs properly for busmastering. this makes the card work on
Cameron Grant [Wed, 5 Jan 2000 02:03:55 +0000 (02:03 +0000)]
set up the pci regs properly for busmastering.  this makes the card work on
my smp box.

24 years agoRemove the unused 'func' arguments to the deregistration functions.
Mike Smith [Wed, 5 Jan 2000 01:09:34 +0000 (01:09 +0000)]
Remove the unused 'func' arguments to the deregistration functions.

Submitted by:  Darrell Anderson <anderson@cs.duke.edu>

24 years agoallocate isa bounce buffers of the right size for ess/mss cards, fixes
Cameron Grant [Wed, 5 Jan 2000 00:39:20 +0000 (00:39 +0000)]
allocate isa bounce buffers of the right size for ess/mss cards, fixes
panics reported

24 years ago Fix at least one source of the continued 'NFS append race'. close()
Matthew Dillon [Wed, 5 Jan 2000 00:32:18 +0000 (00:32 +0000)]
Fix at least one source of the continued 'NFS append race'.  close()
    was calling nfs_flush() and then clearing the NMODIFIED bit.  This is
    not legal since there might still be dirty buffers after the nfs_flush
    (for example, pending commits).  The clearing of this bit in turn prevented
    a necessary vinvalbuf() from occuring leaving left over dirty buffers
    even after truncating the file in a new operation.  The fix is to
    simply not clear NMODIFIED.

    Also added a sysctl vfs.nfs.nfsv3_commit_on_close which, if set to 1,
    will cause close() to do a stage 1 write AND a stage 2 commit
    synchronously.  By default only the stage 1 write is done synchronously.

Reviewed by: Alfred Perlstein <bright@wintelcom.net>

24 years agoRemove non-functional 'all:' target.
Greg Lehey [Tue, 4 Jan 2000 23:46:41 +0000 (23:46 +0000)]
Remove non-functional 'all:' target.
Remove unused 'state.h' and 'maketabs' targets.
Fix white space style bugs.

Submitted-by: bde

Sort module names in SRCS.

Suggested-by: bde

Correct breakage committed in revision 1.16.

24 years ago Update some of the network driver documentation in the LINT file, which
Matthew Dillon [Tue, 4 Jan 2000 23:09:42 +0000 (23:09 +0000)]
Update some of the network driver documentation in the LINT file, which
    is where most people look to match drivers up with cards.

Reviewed by: wpaul

24 years agoISA device drivers use the ISA source interrupt number in locations where
Tor Egge [Tue, 4 Jan 2000 22:24:59 +0000 (22:24 +0000)]
ISA device drivers use the ISA source interrupt number in locations where
the low level interrupt handler number should be used.  Change
setup_apic_irq_mapping() to allocate low level interrupt handler X (Xintr${X})
for any ISA interrupt X mentioned in the MP table.

Remove an assumption in the driver for the system clock (clock.c) that
interrupts mentioned in the MP table as delivered to IOAPIC #0 intpin Y
is handled by low level interrupt handler Y (Xintr${Y}) but don't assume
that low level interrupt handler 0 (Xintr0) is used.

Don't allocate two low level interrupt handlers for the system clock.
Reviewed by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>

24 years agoFix race condition caused by missing splnet()'s.
Archie Cobbs [Tue, 4 Jan 2000 22:06:08 +0000 (22:06 +0000)]
Fix race condition caused by missing splnet()'s.

24 years agoAdd btxld to the list of cross-tools on machines that don't have it
Marcel Moolenaar [Tue, 4 Jan 2000 14:12:12 +0000 (14:12 +0000)]
Add btxld to the list of cross-tools on machines that don't have it
natively (ie non-i386 architectures).