Commit Graph

44767 Commits

Author SHA1 Message Date
Kazutaka YOKOTA
e2f29c6e43 Make the mouse cursor char code configurable via the CONS_MOUSECTL
ioctl.

By popular demand.
2000-01-12 12:30:33 +00:00
Daniel Eischen
d404cb51ee Add support for detection of the ESS 1878 chip. 2000-01-12 11:16:23 +00:00
Jeroen Ruigrok van der Werven
f793f3b35e 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
Jeroen Ruigrok van der Werven
a5f364c428 Allow grog to be made during compilation. 2000-01-12 10:31:55 +00:00
Jeroen Ruigrok van der Werven
9eb65820c1 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
Jeroen Ruigrok van der Werven
49cdd23549 Fix conflicts which arose during import, also add $FreeBSD$. 2000-01-12 10:26:36 +00:00
Marcel Moolenaar
2a7a0de6a7 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
Jeroen Ruigrok van der Werven
444af277af 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
Jeroen Ruigrok van der Werven
e159d2bd86 Virgin import of FSF groff v1.15 2000-01-12 09:51:43 +00:00
Jason Evans
f560c4e709 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
Jason Evans
929273386f 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
Bruce Evans
f3d5d34b45 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 Kennaway
c144d68c9f Use mktemp(1) for tempfiles (concatdb.sh), and increase the number of X's. 2000-01-12 08:01:01 +00:00
Matthew N. Dodd
c7c26de958 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
Matthew N. Dodd
2ff4e76374 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
David E. O'Brien
c201f69bed Sort. 2000-01-12 02:30:42 +00:00
Bill Paul
8647d85ac3 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
Kazutaka YOKOTA
def6f6178c Add opt_ukbd.h. 2000-01-12 00:46:08 +00:00
Brian Somers
94a64a491a Fix various mandoc bugs 2000-01-12 00:29:16 +00:00
Bill Paul
611d6a1573 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
Marcel Moolenaar
15e1a3068c Revert gratuitous change in rev. 1.123 which broke building world
as non-root.

Breakage caused by: green
2000-01-11 16:23:51 +00:00
Peter Wemm
d0e12656b8 Add $FreeBSD$
Make the alpha linker script more like the i386 version - delete the
/usr/local and egcs directories
2000-01-11 15:35:16 +00:00
Peter Wemm
07997cf9cd Aiee! I committed the wrong conf/files. Replace the changes for newppbus
with the intended changes.
Drop db_aout.c from files, let db_kld.c do the work.

Noticed by:	bde
2000-01-11 14:54:09 +00:00
Kazutaka YOKOTA
35e61cbd71 Add a new mechanism, cndbctl(), to tell the console driver that
ddb is entered.  Don't refer to `in_Debugger' to see if we
are in the debugger.  (The variable used to be static in Debugger()
and wasn't updated if ddb is entered via traps and panic anyway.)

- Don't refer to `in_Debugger'.
- Add `db_active' to i386/i386/db_interface.d (as in
  alpha/alpha/db_interface.c).
- Remove cnpollc() stub from ddb/db_input.c.
- Add the dbctl function to syscons, pcvt, and sio. (The function for
  pcvt and sio is noop at the moment.)

Jointly developed by: bde and me

(The final version was tweaked by me and not reviewed by bde.  Thus,
if there is any error in this commit, that is entirely of mine, not
his.)

Some changes were obtained from: NetBSD
2000-01-11 14:54:01 +00:00
Sheldon Hearn
3c47fb7922 Fix bogon in previous commit: pass a string argument to printf(3) to
satisfy the %s conversion format specifier.

Reported by:		Mark Huizer <freebsd@xaa.iae.nl>
2000-01-11 13:40:20 +00:00
Kazutaka YOKOTA
7642cc829e Rework shifta/ctla/alta key handling. It appears that there was
misunderstanding between the PR originator and me.  I hope I got it
right this time.
2000-01-11 13:39:05 +00:00
Peter Wemm
5dfaebe1c3 Unused file. This (NetBSD derived) file was obsoleted by kld. 2000-01-11 13:29:10 +00:00
Peter Wemm
63aad530bc Fix a typo in the db_kld.c file - it's kld support not raw a.out support.
Always use db_kld.c for symbol table support as the base kernel maintains
this information.
2000-01-11 13:25:12 +00:00
David E. O'Brien
ae41b16cf0 Remove Bison from "bootstrap-tools" as we don't use it to build anything
in /usr/src/ anymore.
2000-01-11 13:19:57 +00:00
Brian Feldman
559048567a This is the second half of unbreaking the world build. Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN.  I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.
2000-01-11 12:51:56 +00:00
Sheldon Hearn
c3bb4c9b50 Actually install mailer.conf.5. 2000-01-11 12:48:39 +00:00
Brian Feldman
c9215ae2ed *draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly.  In our
beforeinstall, a full mtree has not been populated.  Since the tree is
not populated, we explode from missing directories on doc install.  It
should not be done in beforeinstall (includes) anyway.
2000-01-11 12:37:57 +00:00
Sheldon Hearn
b8d1e942b5 Use a more helpful fatal error message than "Toto! This doesn't look
like Kansas anymore!" when unable to return to the original working
directory.

PR:		bin/16015
2000-01-11 12:37:16 +00:00
Peter Wemm
eafb8437ea Ack, missed a CVSHeader reference in a switch. *blush*
Submitted by:	ru
2000-01-11 11:55:26 +00:00
Ruslan Ermilov
d7ec3e91d1 Minor display fix. 2000-01-11 11:54:25 +00:00
Jeroen Ruigrok van der Werven
672e38de91 Change the /usr/src mention to /usr/doc, since it is a doc supfile.
PR:		15974
Submitted by:	Vivek Khera <khera@kciLink.com>
2000-01-11 10:48:47 +00:00
Marcel Moolenaar
d4ab519ba8 Add the -r flag to CONFIGARGS instead of assigning to it so that
it's more easy to build a kernel with debugging information.

Suggested by: sheldonh
2000-01-11 10:44:37 +00:00
David E. O'Brien
a344203d03 Drop the use of Bison for Byacc now that we don't need to depend on the
--broken-undeftoken-init Bison 1.25 bug.
2000-01-11 10:37:38 +00:00
Cameron Grant
e7fb32964c exclude chips with subdevices specified on a list of non-ac97 chips 2000-01-11 10:37:16 +00:00
Kirk McKusick
4ed62fbd7f The only known cause of this panic is running out of disk space.
The problem occurs when an indirect block and a data block are
being allocated at the same time. For example when the 13th block
of the file is written, the filesystem needs to allocate the first
indirect block and a data block. If the indirect block allocation
succeeds, but the data block allocation fails, the error code
dellocates the indirect block as it has nothing at which to point.
Unfortunately, it does not deallocate the indirect block's associated
dependencies which then fail when they find the block unexpectedly
gone (ptr == 0 instead of its expected value). The fix is to fsync
the file before doing the block rollback, as the fsync will flush
out all of the dependencies. Once the rollback is done the file
must be fsync'ed again so that the soft updates code does not find
unexpected changes. This approach is much slower than writing the
code to back out the extraneous dependencies, but running out of
disk space is not expected to be a common occurence, so just getting
it right is the main criterion.

PR:		kern/15063
Submitted by:	Assar Westerlund <assar@stacken.kth.se>
2000-01-11 08:27:00 +00:00
Rodney W. Grimes
a1d2612242 Add missing -p /tmp/MTREE to mtree command in README so that it
will actually work now.

Remove tabs and once again sort the *.dist files.
2000-01-11 07:57:09 +00:00
Kris Kennaway
3aa5f62f03 Document the (in)security features of CTM, especially ctm_rmail. 2000-01-11 07:46:33 +00:00
Bruce Evans
fac8edac5e Backed out removal of vendor id and gratuitous change of tmpfile prefix
in previous commit.
2000-01-11 07:28:46 +00:00
Kirk McKusick
10767f840b We cannot proceed to free the blocks of the file until the dependencies
have been cleaned up by deallocte_dependencies(). Once that is done, it
is safe to post the request to free the blocks. A similar change is also
needed for the freefile case.
2000-01-11 06:52:35 +00:00
Jordan K. Hubbard
5025e9d4ec Upgrade to XFree86 3.3.6 2000-01-11 03:59:14 +00:00
Jordan K. Hubbard
7207f9e28e This change was mis-identified as the problem, sorry. It appears to be
an anomaly restricted only to the alpha in FreeBSD-current (weird).
2000-01-11 03:27:33 +00:00
Jordan K. Hubbard
6ea1a2ddfc Back out the previous change to install the examples - it breaks the release builds. 2000-01-11 02:18:33 +00:00
Jonathan M. Bresler
1548ca3cf2 correct the entry for the Linksys EtherFast 10/100
PC Card (PCMPC100).  the entry was one character
	short...the final ")" was missing.

Pointed out by: Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
2000-01-11 02:03:12 +00:00
Bill Paul
a0067d7b89 Attempt to fix a problem with receiving packets on USB ethernet interfaces.
Packets are received inside USB bulk transfer callbacks, which run at
splusb() (actually splbio()). The packet input queues are meant to be
manipulated at splimp(). However the locking apparently breaks down under
certain circumstances and the input queues can get trampled.

There's a similar problem with if_ppp, which is driven by hardware/tty
interrupts from the serial driver, but which must also manipulate the
packet input queues at splimp(). The fix there is to use a netisr, and
that's the fix I used here. (I can hear you groaning back there. Hush up.)

The usb_ethersubr module maintains a single queue of its own. When a
packet is received in the USB callback routine, it's placed on this
queue with usb_ether_input(). This routine also schedules a soft net
interrupt with schednetisr(). The ISR routine then runs later, at
splnet, outside of the USB callback/interrupt context, and passes the
packet to ether_input(), hopefully in a safe manner.

The reason this is implemented as a separate module is that there are
a limited number of NETISRs that we can use, and snarfing one up for
each driver that needs it is wasteful (there will be three once I get
the CATC driver done). It also reduces code duplication to a certain
small extent. Unfortunately, it also needs to be linked in with the
usb.ko module in order for the USB ethernet drivers to share it.

Also removed some uneeded includes from if_aue.c and if_kue.c

Fix suggested by: peter
Not rejected as a hairbrained idea by: n_hibma
2000-01-10 23:12:54 +00:00
Nick Hibma
38e144ec2b Don't fail if less then MAXDEV /dev/usb\d+ entries exist. 2000-01-10 22:35:33 +00:00