Commit Graph

39144 Commits

Author SHA1 Message Date
wpaul
28a2932015 Grrr.... forgot one line from the previous fix. 1999-07-08 00:42:02 +00:00
wpaul
f257de50c1 Fix a potential race condition that can occur in xl_start(). If the NIC
clears out the transmit queue and zeroes the downlist pointer register,
but xl_txeof() isn't called before xl_start() tries to queue more packets,
xl_start() will think that the DMA is still in progress and not update
the downlist register again, thus causing packets to sit in the transmit
queue forever.

Patch provided by: Russell T Hunt <alaric@MIT.EDU>
1999-07-07 21:49:14 +00:00
des
dfaa48d6e0 Back out previous commit after discussing it with Dmitrij Tejblum. 1999-07-07 21:01:20 +00:00
des
8987e649ca Always set errno to ENOMEM when returning 0 from malloc() or realloc().
Approved by:	phk
1999-07-07 19:54:08 +00:00
mjacob
0eb1413cb0 Fix my complete botch. I hope. Tested this time 1999-07-07 18:14:01 +00:00
yokota
dde3bd678d - Fixed memory leak in sc_alloc_history_buffer().
- Correctly observe the variable `extra_history_size' when changing
  the size of history (scroll back) buffer.
- Added sc_free_history_buffer().

Pointed out by: des
1999-07-07 13:48:50 +00:00
yokota
de9b240dd7 Do not list a null string in a dialog box. 1999-07-07 13:20:38 +00:00
yokota
690005781d - Fix Belgian keyboard map (be.iso.kbd).
- Add Belgian keyboard map with dead keys (be.iso.acc.kbd).

Tested and corrections submitted by: "Renaud Fivet" <rfi@ntc.be>
1999-07-07 13:20:12 +00:00
peter
cc2ae796a6 Do away with ${network_interfaces} in rc.conf. Just use ifconfig -l to
get a list of interfaces, and then automatically configure them if
${ifconfig_${ifn}} or /etc/start_if.${ifn} exists.

This makes it a lot easier to deal with machines that constantly change
their network configuration as you can leave ifconfig settings for all
the possible cards - just the ones that are present will be configured.
1999-07-07 12:49:47 +00:00
bde
7c5b307ede Removed bogus quotes in descriptions of disk devices. Only "Winchester"
disk devices are so-called.
1999-07-07 12:00:42 +00:00
jkh
7727de6795 invoke fvwm properly 1999-07-07 09:47:41 +00:00
ache
41c66e4188 add unused argument to udev2dev() to make kernel compiled 1999-07-07 09:12:44 +00:00
roberto
30e244e4e1 Add $Id$
Approved by:	kirk
1999-07-07 07:51:04 +00:00
cracauer
5c2c4901ff Break lines to be < 80 chars. This has been done only to that file in
doscmd that was affected by the SA_SIGINFO changes (which made many
lines longer).

This application is in need for general code reformatting and warning
fixes.

Submitted by:	Warner Losh <imp@village.org>
1999-07-07 06:44:53 +00:00
imp
136f27c25b Per requests from the community, commit rudimentary cross compilation
support.  I've been building world with these changes for months w/o
ill effect.  I've also managed to build the cross tool chain for MIPS
with these patches.

Please note that the extent to which these patches work is largely
dictated by how well our tool chains support the cross compilation.
Building alpha binaries on i386 doesn't work.  Supposedly building
i386 binaries on alpha does work, but I've not verified it with these
patches, however.
1999-07-07 04:46:46 +00:00
imp
23e226cbea Spelling nits 1999-07-07 04:28:48 +00:00
msmith
2d9dfcac47 Reinstate the previous fix for the broken export of a dev_t in sw_dev, convert
back to a dev_t when the value is actually used.
1999-07-07 04:07:03 +00:00
green
0d33984f04 Back out previous commit. It was wrong, and caused panics. 1999-07-07 03:03:59 +00:00
hosokawa
fbff155c33 Added pccard_conf parameter. 1999-07-07 02:01:57 +00:00
hosokawa
a912bff109 Removed my name and (old) e-mail address from comments. 1999-07-07 01:26:55 +00:00
hosokawa
d7975be538 Added pccard_conf parameter to /etc/rc.conf,
and set it to "/etc/pccard.conf.sample" in /etc/defaults/rc.conf.
Perhaps this default value can be inappropriate,
but I set to this value for the convenience of PC-card boot.flp users.
Please correct it if there are better solutions.
1999-07-07 01:19:15 +00:00
msmith
0ca35a4fe1 swdevt should contain a udev_t not a devt. This resulted in bogus
swap device name reporting.

Submitted by:	Bill Swingle <unfurl@freebsd.org>
1999-07-06 23:51:02 +00:00
phk
b09f8af7f8 update fla related entries. 1999-07-06 20:40:22 +00:00
des
3c4a5a075d Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
des
71fd17e057 Use -finet option to netstat(1), and don't discard anything.
Don't truncate the protocol field.
These two changes conspire to make sockstat(1) show divert sockets.

Submitted by:	ru
1999-07-06 19:12:31 +00:00
des
f234b406a4 Don't truncate port numbers.
Submitted by:	ru
1999-07-06 19:10:15 +00:00
peter
da04278417 Implement SA_SIGINFO support for the Alpha. This is obviously a little
bit preliminary.  It still returns an old-style code arg if SA_SIGINFO
is not set, but I'm not sure of the value of this since the traditional
bsd-style fourth argument (address) is missing.

Also, tidy up a bit of lint.
1999-07-06 17:48:16 +00:00
n_hibma
fc4fed17f0 Backout the previous change. Claimed to break compatibility with
NetBSD.

Requested-By: John Polstra
1999-07-06 17:35:48 +00:00
peter
64c315a8a5 Don't clobber the smb cdevsw entry that was installed by the driver
framework.
1999-07-06 13:42:43 +00:00
peter
a976cecf40 Quieten gcc paranoia. 1999-07-06 13:23:56 +00:00
yokota
e73ec19b11 List avaiable function keys. 1999-07-06 13:13:47 +00:00
hosokawa
ced172e8ec Added a short README to PC-card boot.flp directory.
(please check English grammer...:-) )
1999-07-06 13:07:51 +00:00
peter
ca76d55031 Typo: s/0ff0/0xff0/ 1999-07-06 12:42:26 +00:00
hosokawa
45aec7360a Added $pccardd_flags. 1999-07-06 12:17:59 +00:00
yokota
113eb29e26 Remove reference to the obsoleted COMCONSOLE option.
Pointed out by: Crist J. Clark <cjc@cc942873-a.ewndsr1.nj.home.com>
1999-07-06 11:45:27 +00:00
marcel
769aaa4c3a Trivial implementation of TIOCM{S|G}ET and TIOCMBI{S|C} ioctls. No need
to convert the arguments.
1999-07-06 11:41:48 +00:00
jkh
de4ef9879c Don't ask about Linux emulation on the alpha (for now). 1999-07-06 09:19:36 +00:00
hosokawa
726ba02e48 Use #include <pccard_conf.h> instead of -DPCCARD.
Now we don't have to make clean before make boot.flp's.
1999-07-06 09:16:00 +00:00
jkh
44f61065e9 Add an option for more fully enabling linux compatibility. 1999-07-06 08:45:40 +00:00
hosokawa
ce4c3d5a3f Exclude CHECKSUM.MD5 itself from CHECKSUM.MD5 in PC-card floppy directory. 1999-07-06 08:24:35 +00:00
cracauer
f30679239e Update to new struct sigcontext after SA_SIGINFO changes 1999-07-06 07:15:11 +00:00
cracauer
53573bf465 Implement SA_SIGINFO for i386. Thanks to Bruce Evans for much more
than a review, this was a nice puzzle.

This is supposed to be binary and source compatible with older
applications that access the old FreeBSD-style three arguments to a
signal handler.

Except those applications that access hidden signal handler arguments
bejond the documented third one. If you have applications that do,
please let me know so that we take the opportunity to provide the
functionality they need in a documented manner.

Also except application that use 'struct sigframe' directly. You need
to recompile gdb and doscmd. `make world` is recommended.

Example program that demonstrates how SA_SIGINFO and old-style FreeBSD
handlers (with their three args) may be used in the same process is at
http://www3.cons.org/tmp/fbsd-siginfo.c

Programs that use the old FreeBSD-style three arguments are easy to
change to SA_SIGINFO (although they don't need to, since the old style
will still work):

  Old args to signal handler:
    void handler_sn(int sig, int code, struct sigcontext *scp)

  New args:
    void handler_si(int sig, siginfo_t *si, void *third)
  where:
    old:code == new:second->si_code
    old:scp == &(new:si->si_scp)     /* Passed by value! */

The latter is also pointed to by new:third, but accessing via
si->si_scp is preferred because it is type-save.

FreeBSD implementation notes:
- This is just the framework to make the interface POSIX compatible.
  For now, no additional functionality is provided. This is supposed
  to happen now, starting with floating point values.
- We don't use 'sigcontext_t.si_value' for now (POSIX meant it for
  realtime-related values).
- Documentation will be updated when new functionality is added and
  the exact arguments passed are determined. The comments in
  sys/signal.h are meant to be useful.

Reviewed by:	BDE
1999-07-06 07:13:48 +00:00
cracauer
0bb9e75fd2 Rename struct members sa_siginfo. POSIX reserves identifiers starting
with sa_ when <signal.h> is included. They would conflict with the
upcoming SA_SIGINFO implementation.

Reviewed by:	BDE
1999-07-06 06:55:29 +00:00
green
37964e09a9 Add Centaur/IDT WinChip support.
Why in the world do people put breaks at the end of a switch's default case?
1999-07-06 06:25:38 +00:00
mjacob
43143c0b17 add in (controlled by option) 2200 Expanded Lun F/W 1999-07-06 05:38:24 +00:00
green
f8207e4623 I made some cleanups, rearranged things a bit, and made AMD Features default
printing on CPUs that have it.
If there are no objections, I'll MFC all recent changes (harmless, really)
to 3.2 and PAO.
1999-07-06 05:25:41 +00:00
obrien
ca1b97c691 Make the new %Z addition thread-safe. 1999-07-06 05:05:39 +00:00
mjacob
14d7c61e55 suggestions from bde to clean up last checkin slighty 1999-07-06 01:40:03 +00:00
mjacob
85059d8401 add in a boot environment isp_disable flag 1999-07-06 01:24:20 +00:00
jasone
88983e2fa5 Always use growable thread stacks on the i386. The VM_STACK kernel option
must be made default for the alpha before growable thread stacks are
enabled for the alpha.
1999-07-06 00:25:38 +00:00