Commit Graph

41900 Commits

Author SHA1 Message Date
peter
1532f574b1 Nuke the old antique copy of ipfilter from the tree. This is old enough
to be dangerous.  It will better serve us as a port building a KLD,
ala SKIP.

The hooks are staying although it would be better to port and use
the NetBSD pfil interface rather than have custom hooks.
1999-10-10 15:09:59 +00:00
peter
4e1e342cb5 Nuke the old antique copy of ipfilter from the tree. This is old enough
to be dangerous.  It will better serve us as a port building a KLD,
ala SKIP.
1999-10-10 15:08:38 +00:00
phk
c75e0975fe Retire old and unused #includes. 1999-10-10 12:02:36 +00:00
cpiazza
bd423219c7 Revert previous change, I misread it as an if( when it really
wasn't.
1999-10-10 09:28:14 +00:00
marcel
c7025812f2 Avoid using the osig* syscalls. 1999-10-10 09:14:31 +00:00
marcel
16861d96dc \begin{quote}
setjmp() gets the jmp_buf pointer from the wrong place (the place
where the return address is) in the shlib case, and uses it (only)
to fetch the current signal mask to address (return_address + 28).
This address is normally read-only (I hope), so the sigprocmask()
call has no effect except to return an error code.
\end{quote}

Submitted by: bde
1999-10-10 08:38:33 +00:00
mharo
06c780e67d Correct typo, Welcom -> Welcome
and add $FreeBSD$
1999-10-10 07:46:38 +00:00
markm
1058e09c7e Correct the Crypto dist's name in a string.
Get the KerberosIV dist from the correct files.
1999-10-10 07:13:33 +00:00
green
044650e9c9 Modify to work with the new sbreserve(). 1999-10-09 23:24:59 +00:00
phk
eb520fd28f Remove obsolete include file. 1999-10-09 23:17:04 +00:00
cpiazza
3e85986629 Add the missing ')' in
(p = f()) == NULL
1999-10-09 23:12:57 +00:00
phk
de09e193b5 Remove the ft program, the driver is long gone. 1999-10-09 23:11:53 +00:00
phk
546f13f6b3 Remove another obsolete include file. 1999-10-09 23:08:06 +00:00
green
7c735c4220 Implement ulimit -b for RLIMIT_SBSIZE. 1999-10-09 20:56:06 +00:00
green
4899b61a6b This implements the RLIMIT_SBSIZE ("sbsize") administrative limits for
userland.  Currently, it can be enforced by login and csh.  More
shells supporting sbsize are welcome.
1999-10-09 20:47:59 +00:00
green
808cf376d5 Implement RLIMIT_SBSIZE in the kernel. This is a per-uid sockbuf total
usage limit.
1999-10-09 20:42:17 +00:00
phk
3b1e8784ff pnpparse.c is needed for kernel builds. 1999-10-09 20:40:07 +00:00
sos
3830a85c68 Add the options for the ATA driver. 1999-10-09 20:22:01 +00:00
sos
5002ac82db Add support for the HPT366 chip, this is used on the Abit boards and
their HotRod controller and on SIIG PCI ultra DMA controller. These
changes also made lots of the Promise code go away, its all much more
generic this way.

Get rid of atapi_immed_cmd, instead use the queue to move atapi commands
from interrupt context if nessesary, the entire atapi layer has
gotten an overhaul.

Lots of fixes to utililize the new features in subr_disk.c etc, and
get rid of the last biots of softc arrays in the drivers, the
only one left is atadevices which cannot easily go away (yet).

Use our own malloc names, its a lot easier to track memory usage this way.

General cleanup overall.
1999-10-09 19:57:13 +00:00
phk
6abc4460f2 Give physio a makeover.
- Let physio take read/write compatible args and have it use uio->uio_rw
  to determine the direction.

- physread/physwrite are now #defines for physio

- Remove the inversly named minphys(), dev->si_iosize_max takes over.

- Physio() always uses pbufs.

- Fix the check for non page-aligned transfers, now only unaligned
  transfers larger than (MAXPHYS - PAGE_SIZE) get fragmented (only
  interesting for tapes using max blocksize).

- General wash-and-clean of code.

Constructive input from: bde
1999-10-09 19:44:32 +00:00
chris
620dcd2415 Remove an unnecessary cross-reference to ioctl(2) 1999-10-09 16:37:37 +00:00
peter
5b05177f93 Add the 16550 programming interface code for PCIS_SIMPLECOMM_UART. 1999-10-09 16:00:56 +00:00
marcel
f6b9da6e21 Remove syscall wrappers. 1999-10-09 15:27:09 +00:00
jhay
a1ae6f4cf2 Update the PPSAPI to draft-mogul-pps-api-05.txt which is the latest.
NOTE: This will break building ntpd until ntpd has been upgraded to also
support draft 05. People that want to build ntpd in the meantime can
get patches from me.
1999-10-09 14:49:56 +00:00
phk
64fa4dba54 A leftover include file from pre-CAM days gets retired... 1999-10-09 13:25:30 +00:00
dfr
1d3c40efb0 Factor out the PnP resource parser so that it can be re-used by pnpbios
and acpi.

Reviewed by: msmith
1999-10-09 13:11:46 +00:00
dfr
d2308f5b2f Fix build break.
Submitted by: Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu>
1999-10-09 12:30:18 +00:00
dfr
d0b3e151f4 Add net device to netboot. 1999-10-09 12:29:42 +00:00
dfr
e3a5765da3 Remove old sig* wrappers. 1999-10-09 12:11:31 +00:00
phk
89fab41246 mount* fixes from Martin Blapp <mb@imp.ch>:
Made mount more userfriendly (bad slashes are now filtered out)
        and we remove in mount_nfs trailing slashes if there are any.

        Fixed mount_xxx binarys to resolve with realpath(3)
        the mountpoint.

        Translate the deprecated nfs-syntax with '@' to ':' .
        The ':' syntax has now precedence, but '@' still works.
        Notify the user that the '@' syntax should not be used.

PR: 7846
PR: 13692
Submitted by:   Martin Blapp <mb@imp.ch>
Reviewed by:    phk
1999-10-09 11:54:14 +00:00
bde
70983e046b Hard-configure z_off_t as long. Soft configuration using HAVE_UNISTD_H
just breaks the prototypes for gzseek() and gztell() when an application
defines HAVE_UNISTD_H before including <zlib.h>.  z_off_t was always
long for compiling zlib, but was sometimes off_t for compiling
applications, e.g., Ethereal 0.7.5.

This "fix" preserves bug for bug binary compatibility.  z_off_t should
be off_t for everything, but zlib doesn't support off_t being longer
than long, so using the correct type without fixing zlib's internals
would at best break binary compatibility.  This "fix" also make the
namespace problems for HAVE_UNISTD_H no worse than hundreds of other
namespace prooblems in zconf.h.  I'll wait for a new release of zlib
for proper fixes.

Reported by:	Guy Harris via jkh
1999-10-09 11:31:50 +00:00
mdodd
db2544af13 Remove old copies. These files now live in src/sys/dev/buslogic 1999-10-09 06:28:18 +00:00
mdodd
253288d021 - Point the right bits at the new location of the bus front ends.
The 'bt' SCSI driver now lives in sys/dev/buslogic.

- Correct a few comments.
1999-10-09 06:25:18 +00:00
green
0eda6a7caf Add a newline to "WARNING: %s maxphys = 0 ??" so it doesn't trip up
syslogd.  Note of course it's simply much more polite and correct, too :)
1999-10-09 05:17:05 +00:00
mdodd
ca9b79a284 - Restore correct operation of bt_mca.
- Work around a problem not yet solved in the tree (but solved in mine.)

	device_get_ivars() should never be cast to a struct resource_list *
	The solution, under review, involves the creation of a
	device_get_resource_list() function.  More later.
1999-10-09 04:02:02 +00:00
imp
0c098cc0a8 Make interrupts shareable with RF_SHAREABLE. This is untested, but
it compiles and should just work.
1999-10-09 03:52:07 +00:00
mdodd
7c9a0b056f Remove these files as they now live in sys/dev/dpt/ 1999-10-09 03:51:18 +00:00
imp
1f47ab5031 Allow interrupt sharing by allocating the interrupt RF_SHAREABLE.
This allows newpcm to grok my es1370 based card, which shared
interrupts with the ethernet card.
1999-10-09 03:50:27 +00:00
imp
24f6f0cd4b Call DEVICE_IDENIFY in bus_generic_driver_added to allow devices to
add nodes to the tree.  Also, default to bus_generic_driver_added for
the BUS_DRIVER_ADDED method.

This allows newbus busses to be kldload'd.

Reviewed by: dfr
1999-10-09 03:48:18 +00:00
mdodd
f1b8b56533 Switch over to the new location in sys/dev/dpt.
Fix a forgotten #include
1999-10-09 03:46:28 +00:00
mdodd
9f4b999ce6 Remove the DPT EISA driver entry. 1999-10-09 03:41:07 +00:00
mdodd
95c881331f - Implement a simple PIO driven function for retreiving the onboard
configuration information from a DPT card at a given port.

  This is needed by the ISA bus front end (still to come) and the EISA
  bus front end (which hasn't ever worked).

- Blow away dpt_eisa.h as the information it contains does not justify
  an additional file.

- Convert dpt_eisa.c to use the onboard config instead of trying to
  read the EISA configuration registers.
1999-10-09 03:39:47 +00:00
wes
638101c27d Correct the description of the timeout argument. I've examined
the code, which seems to implement the POSIX requirements, and
have described the behavior here.  Basically, it behaves the same
as select(2).

Noticed by: John Polstra
1999-10-09 01:35:58 +00:00
jdp
a9043d5d38 Fix sigvec(). When the sigset_t changes came in, it was altered
to call osigaction().  But that's wrong because it causes the
handler to receive a struct osigcontext instead of the expected
struct sigcontext.  Use sigaction() instead, copying the compatible
portion of the signal mask.

Reviewed by:	marcel
1999-10-09 00:25:29 +00:00
charnier
8d873a5ac3 space is not allowed between owner and :group. 1999-10-08 21:38:08 +00:00
charnier
28e6668695 spelling 1999-10-08 21:34:16 +00:00
n_hibma
ccd019bc55 Fix -Wall warnings
Submitted-By:  Martin Blapp <mblapp@kassiopeja.lan.attic.ch>
1999-10-08 19:56:45 +00:00
n_hibma
9d94ff5831 - Fixed some cases in which mount was segfaulting.
Original patch from Adrian. Martin added a check for free().

- Included the filesystem type in output of mount

PR:            bin/13143
Submitted-By:  Martin Blapp <mblapp@kassiopeja.lan.attic.ch>
1999-10-08 19:54:32 +00:00
phk
0001e9b54a Fix a panic(8) implementation:
hexdump -C < /dev/drum
by simply refusing to do I/O from userland.
a panic.  I'm not sure we even need /dev/drum anymore, it seems
to have been broken for a long time thi
1999-10-08 19:10:18 +00:00
phk
d9285d7ecc Add a couple of strategic KASSERTs 1999-10-08 19:07:23 +00:00