Commit Graph

44538 Commits

Author SHA1 Message Date
obrien
2a30a5e0f1 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.
2000-01-06 05:30:38 +00:00
obrien
dce741572f Add chown(8)-like functionality. This will allow us to not use chown(8)
in MAKEDEV(8) -- removing the need of having /usr mounted.
2000-01-06 05:20:14 +00:00
cg
4fe98224f5 allow mixer-only devices - ie, devices with no play/rec channels 2000-01-06 04:11:36 +00:00
itojun
33fd80edf7 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)
2000-01-06 03:47:57 +00:00
gallatin
bae4bbaf90 implement OSF_GET_MAX_UPROCS portion of osf1_getsysinfo() for AT&T ksh 2000-01-06 02:37:45 +00:00
gallatin
116d9b1abf Shutup complaints about unimplemented SVR4 ioctls 2000-01-06 02:35:44 +00:00
hoek
e2b63ad76b 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>)
2000-01-06 01:25:15 +00:00
grog
51d05a42e0 make_devices(): Create devices with permissions 640, not 740.
Pointed-out-by:	"Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
2000-01-05 23:56:33 +00:00
wpaul
fe0fa05a50 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.
2000-01-05 23:38:07 +00:00
grog
d99d7180f4 Don't tsleep with PCATCH, it's a wonderful way to hang the system.
Reported-by:	Bernd Walter <ticso@cicely.de>
2000-01-05 22:59:36 +00:00
grog
2348603b77 Add missing header file.
Not-reported-by:	peter
2000-01-05 22:58:39 +00:00
newton
02bc298ad8 Add documentation for SVR4 options in LINT. 2000-01-05 21:41:16 +00:00
newton
47b66a736c Unbreak LINT -- typedefs from signal.h are needed to make prototypes in
this file make sense.
2000-01-05 21:28:46 +00:00
cg
d6c953edca don't panic if channel init fails, report and fail gracefully 2000-01-05 20:44:41 +00:00
archie
383dbdb9af Fix a few obscure memory leaks. 2000-01-05 20:36:07 +00:00
mjacob
11e37b8825 Cast myminor/mymajor results to u_int so
comparisons to longs work correctly on
alpha.
2000-01-05 20:18:16 +00:00
peter
90bef6be63 Export the nselcoll counter via the kern.nselcoll sysctl so we can see
just how bad it gets in various situations.

Reminded by:  adrian
2000-01-05 19:40:17 +00:00
bde
ca802ebc6b 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.
2000-01-05 19:31:26 +00:00
bde
00c594d838 Actually remove unrequired SRCS. 2000-01-05 19:22:10 +00:00
bde
f9c5f59c5d 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.
2000-01-05 19:04:55 +00:00
bde
8f957e02a6 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.
2000-01-05 19:02:14 +00:00
bde
4196267ac6 Fixed missing include in synopsis. 2000-01-05 18:54:37 +00:00
wpaul
8f9ecdbd64 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.
2000-01-05 18:25:53 +00:00
peter
bc617ff2bc 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..
2000-01-05 17:42:43 +00:00
bde
5689dd58ab Refreshed the silly copy of <sys/types.h>. It was 3 years out of date. 2000-01-05 17:40:25 +00:00
bde
9a3bb5c9b5 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).
2000-01-05 17:34:00 +00:00
wpaul
1000443f37 Doh. Forgot to add the entry for the 3Com 3c19250 to the supported
devices table.
2000-01-05 17:31:05 +00:00
wpaul
54a2c00628 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.
2000-01-05 17:13:50 +00:00
bde
9852211d64 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.
2000-01-05 17:04:36 +00:00
bde
856d21e819 Refreshed the silly literal copy of <sys/mtio.h>. _KERNEL was still
spelled KERNEL...
2000-01-05 16:52:34 +00:00
peter
7831290233 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.
2000-01-05 16:40:10 +00:00
bde
48bb2a58c6 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.
2000-01-05 16:38:58 +00:00
peter
33a0e2b0d7 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.
2000-01-05 16:31:27 +00:00
bde
11831166a9 Fixed missing include in synopsis.
Removed superfluous quoting of function name in .Fo macro.  My synopsis
checker doesn't understand it.
2000-01-05 16:31:12 +00:00
eivind
35d9581680 KERNEL -> _KERNEL 2000-01-05 16:25:20 +00:00
phantom
261bcaaf2c mdoc(7)'fy
sort XREFs
2000-01-05 15:21:01 +00:00
phantom
e4bc71d59f mdoc(7)'fy 2000-01-05 15:16:32 +00:00
marcel
88cfe9c4c4 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)
2000-01-05 12:59:31 +00:00
kato
af8f3fc975 Synced with sys/i386/isa/clock.c rev 1.149. 2000-01-05 12:35:03 +00:00
kato
9288b189cd Synced with sys/i386/i386/userconfig.c rev 1.166. 2000-01-05 12:34:10 +00:00
kato
a98db91cb0 Synced with sys/i386/conf/GENERIC rev 1.222. 2000-01-05 12:33:10 +00:00
peter
81352be66e Missed a filename variable quote in rc 2000-01-05 09:19:27 +00:00
peter
ec4d8ee42f Quote arguments in vi recover script.
PR:		15901
Submitted by:	KOJIMA Hajime <kjm@rins.ryukoku.ac.jp>
2000-01-05 08:17:18 +00:00
grog
5515128599 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.
2000-01-05 06:13:01 +00:00
grog
ebe8c42079 When attaching a plex to a volume with 'up' subdisks, make the plexes
subdisks 'stale', not 'reviving'.
2000-01-05 06:12:25 +00:00
grog
8e44b678a1 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.
2000-01-05 06:11:46 +00:00
grog
1fc70a8793 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>
2000-01-05 06:10:52 +00:00
grog
559d7a1558 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>
2000-01-05 06:09:43 +00:00
grog
928e5f2678 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.
2000-01-05 06:08:55 +00:00
grog
e4e34a4a5c 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>
2000-01-05 06:08:23 +00:00