Commit Graph

47894 Commits

Author SHA1 Message Date
hm
2978105129 Convert pcvt to use the newbus driver framework, options COMPAT_OLDISA
is no longer required to compile pcvt.
2000-04-16 09:33:17 +00:00
roger
05a391f345 Remove debugging code 2000-04-16 07:56:58 +00:00
roger
88a1808ad0 Fix typo in interrupt handling code and fix bug in setting of adelay 2000-04-16 07:50:09 +00:00
phk
3e65a21d76 Make vinum compile again using the "cast to buf" workaround.
Approved by:	grog
2000-04-16 07:18:08 +00:00
phk
e120cba78a Overlooked a s/b_act/bio_queue/ substitution due to targ not being in LINT.
Spotted by:	mjacob
2000-04-16 06:51:27 +00:00
phk
b475800b0e Add the scsi-target driver to LINT. 2000-04-16 06:50:03 +00:00
mdodd
9826fdb619 - Define registers as offsets from register base rather than offsets from
EISA slot base.
- Remove unused IOPORT resource.

Reviewed by:	 jlemon
2000-04-16 06:12:08 +00:00
imp
b994f34b42 Include <sys/bus.h>, which is needed after Doug's latest object changes. 2000-04-16 06:04:13 +00:00
bsd
d70e245fbf Allow the firewall rules to be established by a shell script instead
of forcing them to be an 'ipfw' rules file.  This allows one to
determine interface addresses dynamically, etc.  The rule is if the
file referenced by ${firewall_type} is executable, it is sourced, but
if it is just readable, it is used as input to 'ipfw' like before.
2000-04-16 02:28:42 +00:00
chris
caa348da17 Change "FreeBSD 5.0" to ".Fx 5.0" 2000-04-16 01:43:11 +00:00
rwatson
95acaf111c Fix two bugs in extended attribute support for UFS/FFS:
o Put back in {} removed during over-zealous cleanup of gratuitous
  debugging output during preparation for the commit.  Due to the
  missing {}, writes on extended attributes always silently failed.
  Doh.

o Don't unlock the target vnode if it's the backing vnode, as we
  don't lock the target vnode if it's the backing vnode.
2000-04-16 01:35:30 +00:00
grog
89dde410b7 Remove MAINTAINER. 2000-04-16 00:17:46 +00:00
steve
1feb59c27f Don't try to compile in INET6 support when NOINET6 is defined. 2000-04-15 20:45:52 +00:00
steve
12cd48ae48 Use the non-asm routines (for now) on the sparc and sparc64 ports. 2000-04-15 20:41:06 +00:00
dmlb
2e04720163 A messy commit that checkpoints the driver (not known to actually work)
before I rip out the scheduler - whilst v. nice 'n all, it is doing the
wrong job. We need something that sends commands to the card atomically
so dhcp etc. works right.

I've renamed and moved a lot of the scheduler code so that it is all
in one place and all starts with ray_cmd_

ray_stop has some debugging crap left in - to be deleted rsn
2000-04-15 19:51:18 +00:00
dmlb
3405727a9b Merged in a load of information from the card documentation - not finished yet. 2000-04-15 19:44:05 +00:00
dmlb
65c331110e A few comment tidy-ups.
Add a %b printf descriptor

Change the START command to DOWNLOAD to avoid confusion with start
as in transmitting a packet.
2000-04-15 19:21:02 +00:00
asmodai
e080c14d36 Fix typo, extentions -> extensions
Submitted by:	George Cox <gjvc@sophos.com>
2000-04-15 18:46:15 +00:00
rwatson
60e6a91c68 ext2fs relies on UFS support code, and as a result also requires
extattr.h to be included.  This fixes the broken ext2fs build as of
the import of extattr code.

Also added $FreeBSD: $ to a couple of files that didn't have them,
without which I couldn't commit this fix.

Reported by:    "George W. Dinolt" <gdinolt@pacbell.net>
2000-04-15 17:14:22 +00:00
iwasaki
cf5333c2b8 Remove pccard.conf.sample from Makefile, sorry I forgot. 2000-04-15 16:48:41 +00:00
iwasaki
ff17f86b79 Remove src/etc/pccard.conf.sample. This file is no longer used.
The pccardd default config file is changed to /etc/defaults/pccard.conf.

Approved by:	imp
2000-04-15 11:12:53 +00:00
groudier
29ebf5ecb8 First patch that prepares for the adding of multi-firmware
support. Changes are rather simplifications of the SCRIPTS
interface (prior to complexifying it again;) ), dead code
removes and comment fixes.

Code removed:
- Handling of kernel variables referenced from SCRIPTS.
- Handling of selection without ATN.

Slightly rewritten:
- Handling of illegal phase (4/5) and data overrun conditions.

Simplifications:
- Extended error flag and bits now only set from the C code.
- Move the extended error status (xerr_status) and nego
  status (nego_status) outside the data structure accessed
  by SCRIPTS (struct dsb).
- Get rid of the script status field (scr_st).
- Only patch SCR_NO_OP SCRIPTS instructions to adapt SCRIPTS
  to actual chip capabilities.

Cosmetic changes:
- Miscellaneous comments in SCRIPTS.
- FreeBSD_4_Bus define replaced by FreeBSD_Bus_Io_Abstraction.
2000-04-15 10:54:58 +00:00
roger
50c4fe3c29 Add include files to alpha/include directory.
Eventually the i386/include and alpha/include header files for the bktr
driver will be moved to a common directory.
2000-04-15 08:07:56 +00:00
roger
5e5d9a77fb Update to driver 2.11.
Driver now compiles on FreeBSD/Alpha, but still requires testing.
Remove a printf, submitted by Chris D. Faulhaber <jedgar@fxp.org>
2000-04-15 07:46:19 +00:00
phk
aaaef0b54e Complete the bio/buf divorce for all code below devfs::strategy
Exceptions:
        Vinum untouched.  This means that it cannot be compiled.
        Greg Lehey is on the case.

        CCD not converted yet, casts to struct buf (still safe)

        atapi-cd casts to struct buf to examine B_PHYS
2000-04-15 05:54:02 +00:00
rwatson
f2310ef109 Introduced /usr/sbin/extattrctl, a utility for managing UFS/FFS extended
attributes (recently committed).  Using extattrctl, the extended attribute
service may be started and stopped for specific file systems; specific
attributes may be enabled or disabled, and the backing file for each
attribute configured.  Also, backing files may be initialized.

Reviewed by:    adrian, bp, freebsd-fs, the unthanked masses
Obtained from:  TrustedBSD
2000-04-15 05:14:39 +00:00
cg
6dcc92e9d3 make mmap sort-of work. there seem to be interactions with certain hw
drivers, so still work in progress.

do various mmap-related ioctls right.

improve blocksize control.

bits of cleanup.
2000-04-15 05:04:12 +00:00
obrien
4ad28cefef Import the latest version of the 44BSD C-shell -- tcsh-6.09. 2000-04-15 04:41:27 +00:00
obrien
15ae595417 This commit was generated by cvs2svn to compensate for changes in r59243,
which included commits to RCS files with non-trunk default branches.
2000-04-15 04:41:27 +00:00
rwatson
a0dd5ab0fd Introduce extended attribute support for FFS, allowing arbitrary
(name, value) pairs to be associated with inodes.  This support is
used for ACLs, MAC labels, and Capabilities in the TrustedBSD
security extensions, which are currently under development.

In this implementation, attributes are backed to data vnodes in the
style of the quota support in FFS.  Support for FFS extended
attributes may be enabled using the FFS_EXTATTR kernel option
(disabled by default).  Userland utilities and man pages will be
committed in the next batch.  VFS interfaces and man pages have
been in the repo since 4.0-RELEASE and are unchanged.

o ufs/ufs/extattr.h: UFS-specific extattr defines
o ufs/ufs/ufs_extattr.c: bulk of support routines
o ufs/{ufs,ffs,mfs}/*.[ch]: hooks and extattr.h includes
o contrib/softupdates/ffs_softdep.c: extattr.h includes
o conf/options, conf/files, i386/conf/LINT: added FFS_EXTATTR

o coda/coda_vfsops.c: XXX required extattr.h due to ufsmount.h
(This should not be the case, and will be fixed in a future commit)

Currently attributes are not supported in MFS.  This will be fixed.

Reviewed by:	adrian, bp, freebsd-fs, other unthanked souls
Obtained from:	TrustedBSD Project
2000-04-15 03:34:27 +00:00
asmodai
e7f9f3a94c Sync us up to OpenBSD's cat.1 v1.18 and cat.c v1.9.
This gets rid of a bogus cast of NULL in setbuf().
Lets us know the buffer malloc failed.

Reworks the manpage a bit to make it more mdoc(7) compliant, adds
examples.
2000-04-14 21:01:35 +00:00
iwasaki
60fa3b257b Fix minor bugs.
- reset line number when new file is included.
 - activate `-i' command lline option (specify available IRQ) again.
2000-04-14 18:04:15 +00:00
ru
314acb2e38 Apply TCP_EXPIRE_CONNECTED (86400 seconds) timeout only to established
connections, after SYN packets were seen from both ends.  Before this,
it would get applied right after the first SYN packet was seen (either
from client or server).  With broken TCP connection attempts, when the
remote end does not respond with SYNACK nor with RST, this resulted in
having a useless (ie, no actual TCP connection associated with it) TCP
link with 86400 seconds TTL, wasting system memory.  With high rate of
such broken connection attempts (for example, remote end simply blocks
these connection attempts with ipfw(8) without sending RST back), this
could result in a denial-of-service.

PR:		bin/17963
2000-04-14 15:34:55 +00:00
wpaul
51c4891813 Change && to || in probe routine so that the mlphy driver doesn't
incorrectly attach itself to ThunderLAN adapters which happen to have
a PHY who's model number happens out to be 0.

Problem reported by: Peter L. Thomas <Pete@painless-computing.com>
2000-04-14 15:31:48 +00:00
wpaul
b3f8b52065 Add vendor/device codes for SmartBridges SmartLink USB ethernet adapter
(which is actually a CATC Netmate).

Gee. I don't know why people make such a fuss over supporting USB ethernet
NICs. This is easier than collecting graft.
2000-04-14 14:46:22 +00:00
wpaul
329789eae3 Regenerate. 2000-04-14 14:44:54 +00:00
wpaul
4a56212456 Add entry for SmartBridges SmartLink USB ethernet adapter. 2000-04-14 14:43:34 +00:00
nyan
41a5f6cba7 The printf function of boot2 can't recognize "%lx" format.
Submitted by:	Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
2000-04-14 14:25:13 +00:00
nyan
241fa1a8d5 Merged from sys/boot/i386/loader/Makefile revision 1.43. 2000-04-14 13:51:14 +00:00
nyan
d53727e526 Added wdreg.h. PC-98 still uses the wd driver. 2000-04-14 11:29:15 +00:00
wilko
749746757c Add web pointers to Multia FAQs 2000-04-14 10:29:03 +00:00
sheldonh
d99569ff9a Replace the inappropriate use of .Nx (netBSD) with a more generalized
.Ux (UNIX) as is appropriate in the context used.

PR:		17954
Submitted by:	Brian Handy <handy@physics.montana.edu>
2000-04-14 09:57:56 +00:00
imp
1e1b2fb024 remove extern int errno; include errno.h 2000-04-14 06:49:16 +00:00
imp
4721d7ef43 #include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
imp
7fec3d2787 Add include of errno.h where needed, remove extern int errno where not.
These commits were inspired by a similar commit to netbsd.
2000-04-14 06:15:01 +00:00
imp
212803777e Better error message for a case that I hit. 2000-04-14 06:10:01 +00:00
imp
ec1733ae3b Use #include <errno.h> rather than extern int errno;. 2000-04-14 06:03:39 +00:00
jlemon
e3b952f31d Change the maximum I/O transfer size to DFLTPHYS. This should fix
write corruption that some users were experiencing.
2000-04-13 23:42:55 +00:00
asmodai
b29ec37cc7 Remove unnecessary empty line.
Remove trailing whitespace.
2000-04-13 19:31:46 +00:00
wilko
bbbc03290a Update Multia section with floppy boot problems & workaround. 2000-04-13 18:17:59 +00:00