Bruce A. Mah [Wed, 23 Aug 2000 16:40:34 +0000 (16:40 +0000)]
Make the following additional entries to RELNOTES.TXT files:
alpha: tap driver, accept_filters, ata support for ATA100,
routed update to 2.22, truncate(1), syslogd(8) -n option, kenv(1),
periodic(8) controlled by periodic.conf, logger(1) support for
remote syslogs.
i386: tap driver, accept_filters, ata support for ATA100,
routed update to 2.22, truncate(1), syslogd(8) -n option, kenv(1),
periodic(8) controlled by periodic.conf, boot98cfg(8),
logger(1) support for remote syslogs.
Sheldon Hearn [Wed, 23 Aug 2000 09:59:25 +0000 (09:59 +0000)]
Only print information about reads and writes when the -v flag (for
verbose mode) is specified. This should really have been the case
when this extra cruft was first introduced in rev 1.23.
Sheldon Hearn [Wed, 23 Aug 2000 09:29:05 +0000 (09:29 +0000)]
Fix the matcd driver for the new world order. This basically just
renames matcdc to matcd.
This change is reported to work by two independent PR originators.
In the absence of further feedback on the freebsd-bugs list, we
may as well get this working for its two users.
PR: 20296
Submitted by: George Russell <george.russell@clara.net>,
Remi Guyomarch <rguyom@mail.dotcom.fr>
Sheldon Hearn [Wed, 23 Aug 2000 09:05:19 +0000 (09:05 +0000)]
Miscellaneous fixes:
* Clear extraneous argument to the Os macro.
* Place the name description on the Nd line.
* Mark sub-sections up with Ss, not Sh.
* Don't double-quote "Login" when "login prompt" is perfectly
good English.
Bill Paul [Tue, 22 Aug 2000 23:26:51 +0000 (23:26 +0000)]
Fix up the sis driver, largely to improve the NatSemi DP83815 support:
- Modify the driver to poll the link state and positively set the
MAC to full or half duplex as needed. Previously, it was possible
for the MAC to remain in half duplex even though the PHY had negotiated
full duplex with its link partner, which would result in bursty
performance.
- Program some of the NatSemi's registers as specified by the datasheet.
The manual says these are necessary for "optimum perofrmance," though
a couple of them are marked as reserved in the register map. *shrug*
- Select the TX DMA burst size correctly for 10 and 100mbps modes.
Previously I was using 64 bytes in both modes, which worked in
100mbps mode, but resulting in spotty performance in 10mbps.
32 bytes works much better; without this change, the natsemi
chip yields piss poor performance at 10mbps.
With these fixes, the NatSemi chip finally performs to my satisfaction.
I should be merging the support for this controller into -stable shortly.
Marcel Moolenaar [Tue, 22 Aug 2000 07:08:33 +0000 (07:08 +0000)]
Finish the Linuxulator MD/MI split.
In summary:
o This file has been moved to sys/compat/linux,
o Any MD syscalls in this file are moved to
linux_machdep.c in sys/i386/linux,
o Include directives, makefiles and config files
have been updated.
Brian Feldman [Tue, 22 Aug 2000 02:15:54 +0000 (02:15 +0000)]
Add working and easy crypt(3)-switching. Yes, we need a whole new API
for crypt(3) by now. In any case:
Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).
The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)
Maxim Sobolev [Mon, 21 Aug 2000 10:21:28 +0000 (10:21 +0000)]
Fix a bug introduced by my own previous commit (addition of the current
line/column display).
I overlooked that ee(1) doesn't maintain proper line numbering when
adding/removing lines, so after those operations linenumber displayed may not
match the reality. Also use proper variable for current column diaplay, because
the one used previously reflects the offset of current char, which doesn't
equial screen position when tabs present.
Cameron Grant [Sun, 20 Aug 2000 22:18:56 +0000 (22:18 +0000)]
rework feeder sytem to allow feeders in klds
modify driver capability reporting format to list every audio format
seperately- required for above and because we could not previously indicate
that mono was unsupported.
Mark Murray [Sun, 20 Aug 2000 10:03:26 +0000 (10:03 +0000)]
Fixes and cleanups to the perl build; don't error out when NOCLEAN is
set and directories are being (re)made; build the procname ($0) stuff,
don't install miniperl.
(Miniperl needs a revisit).
Warner Losh [Sat, 19 Aug 2000 19:25:23 +0000 (19:25 +0000)]
Work around a possible kernel linker bug. It appears that the data
elements defined by foo_if.c aren't sharable amoung modules (I'm
working on a bug report for it now), or else I don't understand
something. It showed up as kobj functions not being called.
In any event, link in the pcic and pccard parts of the modules to work
around the problem for now.
Mark Murray [Sat, 19 Aug 2000 12:28:23 +0000 (12:28 +0000)]
Fix the arguments to [(1) (AKA test(1)). If the string being tested
by -n is nonexistant, then the following -d was misinterpreted with
a strange error. By putting double quotes (") around the argument,
we can be sure there is _something_ there that we can check a zero
length against.
David Malone [Sat, 19 Aug 2000 08:32:59 +0000 (08:32 +0000)]
Replace the mbuf external reference counting code with something
that should be better.
The old code counted references to mbuf clusters by using the offset
of the cluster from the start of memory allocated for mbufs and
clusters as an index into an array of chars, which did the reference
counting. If the external storage was not a cluster then reference
counting had to be done by the code using that external storage.
NetBSD's system of linked lists of mbufs was cosidered, but Alfred
felt it would have locking issues when the kernel was made more
SMP friendly.
The system implimented uses a pool of unions to track external
storage. The union contains an int for counting the references and
a pointer for forming a free list. The reference counts are
incremented and decremented atomically and so should be SMP friendly.
This system can track reference counts for any sort of external
storage.
Access to the reference counting stuff is now through macros defined
in mbuf.h, so it should be easier to make changes to the system in
the future.
The possibility of storing the reference count in one of the
referencing mbufs was considered, but was rejected 'cos it would
often leave extra mbufs allocated. Storing the reference count in
the cluster was also considered, but because the external storage
may not be a cluster this isn't an option.
The size of the pool of reference counters is available in the
stats provided by "netstat -m".
PR: 19866
Submitted by: Bosko Milekic <bmilekic@dsuper.net>
Reviewed by: alfred (glanced at by others on -net)
Warner Losh [Sat, 19 Aug 2000 05:01:07 +0000 (05:01 +0000)]
Call bus_generic_detach on pcic before deleting the children. This
has the side effect of detaching the children before I delete them.
When I put the last commits in a loop for loop it died after 5 or so
iterations. After this change, I lasted 50 before I stopped the test.