Commit Graph

44875 Commits

Author SHA1 Message Date
mdodd
745a4e432e When I converted this driver to newbus I also cleaned up the code
layout.  It seems that I cleaned it up a bit too much and confused a few

if () {
	if () {
	} else {
	}
}

statements in the obvious manner.

This allows the driver to transmit packets again.  *sigh*
2000-01-13 06:46:02 +00:00
imp
151dabf531 Stop the recurring feeling of deja vu
Stop the recurring feeling of deja vu
Stop the recurring feeling of deja vu
Stop the recurring feeling of deja vu

and debounce the eject messages.  We now mark the socket empty in the
interrupt handler, rather than after we've disabled the socket which
happens "much later".
2000-01-13 06:32:33 +00:00
cg
4d257ee74f attach to non-ac97 neomagic chips and hope that ac97 ones do not have the
same pnpbios id
2000-01-13 06:11:32 +00:00
cg
6ccc3d677e be less verbose 2000-01-13 06:00:57 +00:00
shin
5f66665af1 added IPv6 unspecified addr check for getipnodebyaddr. 2000-01-13 05:47:11 +00:00
shin
773759d8c9 added IPv4 mapped IPv6 addr consideration for getaddrinfo() reverse lookup case 2000-01-13 05:37:51 +00:00
shin
a42e26b36b add a comment for some possible? IPv4 option processing. 2000-01-13 05:21:05 +00:00
shin
d5ae8633fd removed incorrect ip6 length setting for IPv6 tcp reset packet. 2000-01-13 05:18:30 +00:00
shin
5af875fc35 removed an ours case which think a packet destined to loopback interface
with IPv6 loopback addr for its dest or src addr as ours.
2000-01-13 05:12:48 +00:00
shin
ed0d411602 added missing IPV6_PORTRANGE case. 2000-01-13 05:07:42 +00:00
shin
b8a80c0b8f remove unnecessary "$ifdef INET6" 2000-01-13 05:01:27 +00:00
obrien
8c318abb02 Make mktemp.c a "normal" C implimentation when building this library. 2000-01-13 04:55:41 +00:00
gallatin
137da2d54c add entries for several DEC PCI-PCI bridges & the Cypress PCI-ISA bridge found
on newer alpha workstations and servers
2000-01-13 02:47:36 +00:00
gallatin
358f7018d7 Make this compile on alpha 2000-01-13 02:09:44 +00:00
imp
2230d7edc5 o Remove entry that has 'any' for the interrupt and 'auto' for config.
We don't have that yet.
o Uncomment FLASH cards so when the ata flash patches go into the tree
  they will work.

Reported by: hosokawa-san
2000-01-13 00:29:06 +00:00
wpaul
63989277ed Reintroduce the dc_coal() workaround routine for coalescing outbound
packets into a single buffer, and set the DC_TX_COALESCE flag for the
Davicom DM9102 chip. I thought I had escaped this problem, but... This
chip appears to silently corrupt or discard transmitted frames when
using scatter/gather DMA (i.e. DMAing each packet fragment in place
with a separate descriptor). The only way to insure reliable transmission
is to coalesce transmitted packets into a single cluster buffer. (There
may also be an alignment constraint here, but mbuf cluster buffers are
naturally aligned on 2K boundaries, which seems to be good enough.)

The DM9102 driver for Linux written by Davicom also uses this workaround.
Unfortunately, the Davicom datasheet has no errata section describing
this or any other apparently known defect.

Problem noted by: allan_chou@davicom.com.tw
2000-01-12 22:24:05 +00:00
brian
1e3f91cfff As we parse the interface list, ignore sockaddr_dl's that
don't have an interface index that's the same as the if_msghdr
interface index.

This prevents the occasional perror("SIOCGIFFLAGS") from appearing
at boot time.

While I'm there:
  Make a couple of error messages more useful.
  Add a missing include.
  Add some braces to silence gccs dumb complaints.
  Add some consts
  Ansify decls
  Add copyright to pmap_check.h (well, you could say it's been rewritten)
2000-01-12 21:53:46 +00:00
mdodd
dd5364f05a Remove a stray splx(s) call. This fixes the compiler warning.
Submitted by:	gibbs
2000-01-12 17:51:01 +00:00
wpaul
f1033d01ce Apply the same netisr mechanism to transmissions as well. In order to
drive the transmitter, we have to check the interface's send queue in the
TX end of frame handler (i.e. the usb bulk out callback) and push out new
transmissions if the queue has packets in it and the transmitter is
ready. But the txeof handler is also called from a USB callback running
at splusb() too.

Grrr.
2000-01-12 17:46:40 +00:00
luoqi
858958c167 Seconds to ticks conversion was done at the wrong place. 2000-01-12 17:26:42 +00:00
sheldonh
982923a45a Remove the cautionary note concerning the move of the chown binary
and its link chgrp, since the change has been reverted.

Reported by:	Kelly Yancey <kbyanc@posi.net>
2000-01-12 14:49:51 +00:00
asmodai
5aeafb3ed8 We do not support the -B option.
PR:		15925
Submitted by:	Thierry Herbelot
2000-01-12 14:49:38 +00:00
sheldonh
06e27b2082 Add selected manual pages transcribed from the HTML documentation.
Those pages which have not been transcribed are referenced as
gracefully as possible.

There is no perfect section for the ntp_* files, which document
configuration options for the NTP suite, so I'm putting them in
the same section as the pages for the utilities themselves.
2000-01-12 14:41:00 +00:00
marcel
cbc1efe2cc Add gross hack to work around bogus dependency information created
by gnu/usr.bin/cc/cc_tools/Makefile. This bug is painfully visible
when making buildworld with -DNOCLEAN. This work around is beyond
dirty...
2000-01-12 14:33:00 +00:00
peter
dbe7fe81d0 Fix a bungle with the CAM static wiring tables. Write CAMCONF_UNSPEC
instead of -2.  This (I believe) caused static wirings to not match.
This should fix Bill Pechter's problem but we'll see.

Problem discovered by:	Bill Pechter <pechter@shell.monmouth.com>
2000-01-12 14:20:12 +00:00
nyan
4cffbf8a8e Merge from sys/conf/files.i386 revision 1.296. 2000-01-12 13:43:23 +00:00
asmodai
7d4c4aa44c Add necessary tmac files to the tmac Makefile and install them
in /usr/share/tmac like the rest.
2000-01-12 13:37:57 +00:00
asmodai
01774fb0da Allow devhtml and grohtml to be built.
This is a new feature of groff and is a html driver for groff.

From the manual page:
"grohtml translates the output of GNU troff to html."

This is very interesting for people working on documentation.
2000-01-12 13:17:51 +00:00
asmodai
4224707d66 Add bmake glue for devhtml and grohtml of the groff package. 2000-01-12 13:14:27 +00:00
asmodai
aa0797a50e Add devhtml entry for the groff_font directory.
This is needed for the new devhtml in the groff 1.15 package.
2000-01-12 13:06:44 +00:00
yokota
d7a68849c1 Make the mouse cursor char code configurable via the CONS_MOUSECTL
ioctl.

By popular demand.
2000-01-12 12:30:33 +00:00
deischen
639e3cda8a Add support for detection of the ESS 1878 chip. 2000-01-12 11:16:23 +00:00
asmodai
6ff8279593 The groff package is not maintained by jjc@jclark.com anymore.
Reflect this change in the upgrade file.
2000-01-12 10:35:57 +00:00
asmodai
9bba76a95d Allow grog to be made during compilation. 2000-01-12 10:31:55 +00:00
asmodai
de13757aab Add bmake glue for grog(1), an utility which guesses groff's
flags and options.

Requested by:	andreas
2000-01-12 10:30:27 +00:00
asmodai
eabb065743 Fix conflicts which arose during import, also add $FreeBSD$. 2000-01-12 10:26:36 +00:00
marcel
faafbab598 Fix broken installkernel target. Don't use the WMAKE context to
install; use the IMAKE context.

Reported by: sheldonh
2000-01-12 10:00:36 +00:00
asmodai
a7003a9d6e This commit was generated by cvs2svn to compensate for changes in r55839,
which included commits to RCS files with non-trunk default branches.
2000-01-12 09:51:43 +00:00
asmodai
2e2c9047c3 Virgin import of FSF groff v1.15 2000-01-12 09:51:43 +00:00
jasone
4b4a2e733a Track libc's three-tier symbol naming. libc_r must currently implement
the _libc_*() entry points and add *() weak aliases.  This will all
change for the better when libc_r becomes libpthread.
2000-01-12 09:28:58 +00:00
jasone
75903038bc Add three-tier symbol naming in support of POSIX thread cancellation
points.  For library functions, the pattern is __sleep() <--
_libc_sleep() <-- sleep().  The arrows represent weak aliases.  For
system calls, the pattern is _read() <-- _libc_read() <-- read().
2000-01-12 09:23:48 +00:00
bde
688bb99b3f Unremoved used include of <sys/stat.h> (don't depend on pollution in
<sys/mount.h).  Broken in: previous commit.

Removed unused include of <nwfs/nwfs.h>.
2000-01-12 09:16:13 +00:00
kris
75d9577e30 Use mktemp(1) for tempfiles (concatdb.sh), and increase the number of X's. 2000-01-12 08:01:01 +00:00
mdodd
2ef1bf8423 Speedup if_start routine a little. TX threshold logic needs some more
kicking but these changes get me around 1000 KB/sec.
2000-01-12 06:42:49 +00:00
mdodd
ce45af054b Fix the performance problems I caused by setting ifq_maxlen to 8.
Use IFQ_MAXLEN instead.  This seemed like a good idea at the time since
most 3c509s have all of 2k for their TX fifo.  My intention was to revisit
ifq_maxlen and auto-scale it or something.

ttcp-t: 16777216 bytes in 21.53 real seconds = 761.07 KB/sec +++
ttcp-t: 2771 I/O calls, msec/call = 7.96, calls/sec = 128.72
ttcp-t: 0.0user 2.9sys 0:21real 13% 20i+280d 222maxrss 0+2pf 717+0csw

ttcp-r: 16777216 bytes in 14.11 real seconds = 1161.48 KB/sec +++
ttcp-r: 2050 I/O calls, msec/call = 7.05, calls/sec = 145.33
ttcp-r: 0.0user 1.4sys 0:14real 10% 87i+1198d 196maxrss 0+1pf 1949+186csw

I've got some tweaks that move the TX speed up to the RX speed but I've
got to groom them from the mess I've made of my source tree.

Yelled at by:	wpaul
2000-01-12 05:27:08 +00:00
obrien
7bec37caf3 Sort. 2000-01-12 02:30:42 +00:00
wpaul
38bef851a9 Correctly set the data length when transmitting 802.3 frames (we need to
subtract the length of the SNAP header).
2000-01-12 00:57:27 +00:00
yokota
c861b7fc02 Add opt_ukbd.h. 2000-01-12 00:46:08 +00:00
brian
ec66b7bf35 Fix various mandoc bugs 2000-01-12 00:29:16 +00:00
wpaul
3ec0aff881 Straighten out the logic in kue_setmulti() a little (the case where we
have no multicast entries to add is not handled right).
2000-01-11 18:09:19 +00:00