Commit Graph

13182 Commits

Author SHA1 Message Date
Nick Hibma
0d3c3d3942 Corrected the major number for usb and added ums as major 111 1999-01-03 16:48:03 +00:00
KATO Takenori
8f1ca31497 - Remove bus-dependent addresses from `ic' file.
- Special registers of IO-DATA device's RSA series are defined in
  ic/rsa.h (new file).

Pointed out by:	Bruce Evans <bde@zeta.org.au>
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-01-03 15:57:02 +00:00
Jordan K. Hubbard
4eb053a51e catch a /boot doc instance I missed. 1999-01-03 07:38:58 +00:00
Jordan K. Hubbard
372b7d7a2e Revert r1.4 - I was confused as to its real meaning.
Noted by:	bde
1999-01-03 07:38:15 +00:00
KATO Takenori
3171a83027 Support following devices:
- on board 2nd CCU
  - Midori Elec. MDC-926Rs
  - Midori-Hayes ESP98
  - NEC PC-9861K, PC-9801-101 PC-9801-120
  - Melco IND-SP and IND-SS
  - PIO-9032A/B/C
  - B98-01 and B98-02
  - IO-data device RSA-98II and RSA-98III
  - MC-16550
  - MC-RS98
  - Media Inteligent RSB-2000/3000 and RSB-384
  - PCMCIA modem card

Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-01-03 05:03:47 +00:00
Jordan K. Hubbard
d26a815b77 Clean up some more residual /usr/mdec references. I left all the
extra rbootd/boot rom cruft pointing at /usr/mdec since it either
doesn't exist or doesn't work anyway, so who cares? :)
1999-01-03 02:18:58 +00:00
Bill Paul
57ff492d3e Minor bug: in the case where allocating a fresh mbuf for the receive ring
fails, we need to set the descriptor status word so that the 'OWN' bit
is set again so that the chip can reuse it. Previously, this wasn't being
done.
1999-01-03 02:05:21 +00:00
Jordan K. Hubbard
8963f9f139 Update for new boot block location. 1999-01-02 23:22:12 +00:00
Dmitrij Tejblum
57081f7b94 Now empty DOS filesystems default to long file names. Non-empty filesystems
without traces of Win95 default to short file names, as before.
1999-01-02 18:52:13 +00:00
Tim Vanderhoek
28cb15a9a9 Extraneous space. 1999-01-02 17:11:45 +00:00
Dmitrij Tejblum
9d9fdb45c5 Ensure that deHighClust in direntry always initialized.
Noticed by: 	Carl Mascott <cmascott@world.std.com>

Don't write access time of a file more than once per day. (Its precision is
1 day anyway). Don't try to write access and creation time in nonwin95 case.

Suggested by:	bde (long time ago).
1999-01-02 13:26:29 +00:00
Bruce Evans
289bdf33d3 Ifdefed conditionally used simplock variables. 1999-01-02 11:34:57 +00:00
Eivind Eklund
a777e82019 Remove the last clients of vfs_object_create(..., waslocked=1);
waslocked will go away shortly.

Reviewed by:	dg
1999-01-02 01:32:36 +00:00
Luigi Rizzo
0a1dd951c8 unbreak devfs support after wrong cut&paste...
ReportedBy: Louis A. Mamakos
1999-01-01 14:53:31 +00:00
Bruce Evans
9fe425981b Fixed bitrot in a comment. Fixed some style bugs. 1999-01-01 14:41:51 +00:00
Dag-Erling Smørgrav
0a3e1d6535 Use M_VGA_VG320 if M_VESA_CG800x600 is not available. It looks ugly in
low-res, but it works...

Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-01-01 14:40:49 +00:00
Dag-Erling Smørgrav
70bfbd280e Correct typo in macro name. 1999-01-01 14:38:30 +00:00
Bruce Evans
101a573e33 Don't use __BEGIN_DECLS/__END_DECLS in the kernel.
Fixed some other, even more minor style bugs.
1999-01-01 14:30:11 +00:00
Bruce Evans
93ac7ca8cf Minor English and spelling fixes. 1999-01-01 14:21:13 +00:00
Bruce Evans
b55dcca107 The previous commit was bogus. malloc(..., M_WAITOK) should not be
used in device attach routines.  At least for attaches at boot time,
actually waiting, or actually failing for malloc(..., M_NOWAIT), are
almost equally unlikely and harmless, but using M_WAITOK interferes
with automatic detection of bogus M_WAITOK's.
1999-01-01 12:35:47 +00:00
Bruce Evans
9dd98e24ca Fixed bitrot in comments. 1999-01-01 10:33:52 +00:00
Bruce Evans
f2aed91b48 Made this compile if UMAPFS_DIAGNOSTIC is defined. This has been broken
since before rev.1.1, so UMAPFS_DIAGNOSTIC should not be trusted.
UMAPFS_DIAGNOSTIC is commented out in LINT to hide various bugs.
1999-01-01 10:14:37 +00:00
Peter Wemm
b3c0a3cc54 Part 3 of the pcvt/voxware revival.
Reviewed by:	core
1999-01-01 08:23:23 +00:00
Peter Wemm
a0f70ac053 Part 2 of pcvt/voxware revival. I hope I have not clobbered any other
deltas, but it is possible since I had a few merge conflicts over the last
few days while this has been sitting ready to go.

(Part 1 was committed to the config files, but cvs aborted grrr..)

Approved by:    core
1999-01-01 08:18:13 +00:00
Peter Wemm
c19da41ebb Part 1 of pcvt/voxware revival. I hope I have not clobbered any other
deltas, but it is possible since I had a few merge conflicts over the last
few days while this has been sitting ready to go.

Approved by:	core
1999-01-01 08:09:58 +00:00
Peter Wemm
3ea799d5aa Oops, forgot to commit entry in LINT for statically configured vinum. 1999-01-01 04:16:32 +00:00
Matthew Dillon
2ae122f64a The mount_mfs process that stays in a supervisor context handling MFS
I/O requests must be marked P_SYSTEM because if it isn't and the system
    decides to swap it or (god forbid) kill it, the system stands a good
    chance of locking up.
1999-01-01 04:14:11 +00:00
Bill Paul
d1b5b058f7 This commit adds a software workaround for a hardware bug in certain PNIC
chip revisions. (A buggy taiwanese chip? I'm just shocked; shocked I tell
you.) So far I have only observed the anomalous behavior on board with
PCI revision 33 chips. At the moment, this seems to include only the
Netgear FA310-TX rev D1 boards with chips labeled NGMC169B. (Possibly this
means it's an 82c169B part from Lite-On.)

The bug only manifests itself in promiscuous mode, and usually only at
10Mbps half-duplex. (I have not observed the problem in full-duplex mode,
and I don't think it ever happens at 100Mbps.) The bug appears to be in
the receiver DMA engine. Normally, the chip is programmed with a linked
list of receiver descriptors, each with a receive buffer capable of holding
a complete full-sized ethernet frame. During periods of heavy traffic
(i.e. ping -c 100 -f 8100 <otherhost>), the receiver will sometimes appear
to upload its entire FIFO memory contents instead of just uploading the
desired received frame. The uploaded data will span several receive
buffers, in spite of the fact that the chip has been told to only use
one descriptor per frame, and appears to consist of previously transmitted
frames with the correct received frame appended to the end.

Unfortunately, there is no way to determine exactly how much data is
uploaded when this happens; the chip doesn't tell you anything except the
size of the desired received frame, and the amount of bogus data varies.
Sometimes, the desired frame is also split across multiple buffers.

The workaround is ugly and nasty. The driver assembles all of the data
from the bogus frames into a single buffer. The receive buffers are always
zeroed out, and we program the chip to always include the receive CRC
at the end of each frame. We therefore know that we can start from the
end of the buffer and scan back until we encounter a non-zero data byte,
and say conclusively that this is the end of the desired frame. We can
then subtract the frame length from this address to determine the real
start of the frame, and copy it into an mbuf and pass it on.

This is kludgy and time consuming, but it's better than dropping frames.
It's not too bad since the problem only happens at 10Mbps.

The workaround is only enabled for chips with PCI revision == 33. The
LinkSys LNE100TX and Matrox FastNIC 10/100 cards use a revision 32 chip
and work fine in promiscuous mode. Netgear support has confirmed that
they "have some previous knowledge of problems in promiscuous mode" but
didn't have a workaround. The people at Lite-On who would be able to
suggest a possible fix are on vacation. So, I decided to implement a
workaround of my own until I hear from them. I suppose this problem made
it through Netgear's QA department since Windows doesn't normally use
promiscuous mode, and if Windows doesn't need the feature than it can't
possibly be important, right? Grrr.
1998-12-31 17:19:21 +00:00
Wolfram Schneider
8aa783b08f Happy 1999! 1998-12-31 14:26:42 +00:00
Andrzej Bialecki
8f1e6e6e22 Add support for some FACILITY words:
key? ( -- flag)  \ check to see if there's a key to be read from input
ms   ( u -- )    \ wait that many milliseconds
seconds ( -- u ) \ get number of seconds from midnight.

'words' now outputs the list page by page - this probably should go
through libstand's pager, but will have to wait for closer integration of
built-ins with Forth...

Submitted partially by:	W Gerald Hicks <wghicks@bellsouth.net>
1998-12-31 14:03:28 +00:00
Andrzej Bialecki
de37e4a6d2 Add back ability to make beeps when using new TERM_EMU.
Submitted by:	W Gerald Hicks <wghicks@bellsouth.net>
1998-12-31 13:44:04 +00:00
Dag-Erling Smørgrav
71df997b52 Activate the rain screensaver. 1998-12-31 13:42:00 +00:00
Dag-Erling Smørgrav
52ff03bd8b Here's one for the terminally melancholic amongst us. 1998-12-31 13:41:40 +00:00
Dag-Erling Smørgrav
9d852dd5a7 Eliminate "initialization from incompatible type" warning in SAVER_MODULE
macro.
1998-12-31 13:40:26 +00:00
Dag-Erling Smørgrav
52529398ad Compile without warnings. 1998-12-31 13:38:59 +00:00
Bruce Evans
a4e7707552 Removed garbage sloppy-common variable `pasleep'. Fixed other style
bugs in previous commit.
1998-12-31 13:23:16 +00:00
KATO Takenori
bce191bf65 Enables snd driver. 1998-12-31 11:38:52 +00:00
Peter Wemm
a13ddfb633 When loading something that has undefined symbols, it would be helpful to
know what they were..
1998-12-31 09:17:20 +00:00
Luigi Rizzo
c28525ce6e Enable the ES1370 driver. You don't need any options for this,
the existing "device pcm..." entry will take care of that.
1998-12-31 08:17:08 +00:00
Luigi Rizzo
e987b015bd Add Joachim Kuebart's ES1370 driver. With my Shuttle HOT-255 card,
this has a problem with capture but i am not sure if it is related
to the mixer or what else.
But in the meantime, this is ok to listen to mpegs.

I also have a much simpler version of the driver in the works which
reuses a lot more of the existing "pcm" routines.  Next year...
1998-12-31 08:14:27 +00:00
Luigi Rizzo
68ec4eb602 Enable entries for DUMMYNET, BRIDGE and device pcm. LINT compiles
fine with these enabled.
1998-12-31 08:03:52 +00:00
Luigi Rizzo
4182413928 Remove one unused variable. 1998-12-31 07:52:49 +00:00
Luigi Rizzo
cc277540ab Partial fix for when ipfw is used with bridging. Bridged packets
have all fields in network order, whereas ipfw expects some to be
in host order. This resulted in some incorrect matching, e.g. some
packets being identified as fragments, or bandwidth not being
correctly enforced.
NOTE: this only affects bridge+ipfw, normal ipfw usage was already
correct).

Reported-By: Dave Alden and others.
1998-12-31 07:43:29 +00:00
Luigi Rizzo
ea1f41f65f Remove some unused variables. 1998-12-31 07:35:49 +00:00
Luigi Rizzo
4964edb0c6 Extend the callback mechanism and add hooks to support PCI cards.
Remove a few unused variables.
1998-12-31 07:34:01 +00:00
Luigi Rizzo
172ea6ae6f Update documentation on cards and config 1998-12-31 07:28:24 +00:00
KATO Takenori
a305035083 Add SMC EtherEZ98 support(PC-98).
Slim up of if_ed98.h.

Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1998-12-31 03:23:39 +00:00
KATO Takenori
9ffb74afa4 Another(better) way to support Access/NOTE N98(PC-98) without any effects
for other Access/PC series.

Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1998-12-31 03:21:14 +00:00
Søren Schmidt
e76bba09e3 Commit patch in
PR: 9232
Submitted by:	marcel@scc.nl <Marcel Moolenaar>
1998-12-30 21:20:00 +00:00
Søren Schmidt
397e476030 Commit #2 of
PR: 9235
Submitted by:	marcel@scc.nl <Marcel Moolenaar>
1998-12-30 21:01:34 +00:00
Søren Schmidt
abbc72c904 Commit #1 of:
PR: 9235
1998-12-30 20:58:28 +00:00
Bruce Evans
40b843918b Backed out previous commit. It depends on a.out utilities and libraries
somehow being available even on pure elf systems.
1998-12-30 12:06:08 +00:00
Kazutaka YOKOTA
13e05026dd Make the VESA KLD module work! 1998-12-30 11:21:08 +00:00
Bruce Evans
e5f94bcd7a Always build ${MACHINE}/boot if it exists. Makefiles shouldn't know
about deficiencies in subdirs.
1998-12-30 11:17:09 +00:00
Bruce Evans
2a408617a9 Enforce building with -aout, since building with OBJFORMAT=elf doesn't
work.

Rely on ../Makefile.inc to set the the default for BINDIR.
1998-12-30 10:55:50 +00:00
Bruce Evans
296134343a Rely on ../Makefile.inc to set the object format in CFLAGS and the
default for BINDIR.

Fixed some style bugs in previous aout enforcement.
1998-12-30 10:48:09 +00:00
Doug Rabson
9c0fed3dcf Various changes to support OSF1 emulation:
* Move the user stack from VM_MAXUSER_ADDRESS to a place below the 32bit
  boundary (needed to support 32bit OSF programs).  This should also save
  one pagetable per process.
* Add cvtqlsv to the set of instructions handled by the floating point
  software completion code.
* Disable all floating point exceptions by default.
* A minor change to execve to allow the OSF1 image activator to support
  dynamic loading.
1998-12-30 10:38:59 +00:00
Bruce Evans
468071c356 Enforce building with -aout, since building with OBJFORMAT=elf doesn't
work.
1998-12-30 10:37:45 +00:00
Bruce Evans
938f0e20c6 Enforce building with -aout, since building with OBJFORMAT=elf doesn't
work.

Rely on ../Makefile.inc to set the the default for BINDIR.

Removed comments about installing links to bootxx and xxboot.
1998-12-30 10:34:48 +00:00
Bruce Evans
a3b2fa527f Rely on ../Makefile.inc to set the default for BINDIR. 1998-12-30 10:26:18 +00:00
Bruce Evans
d389c929de Rely on ../Makefile.inc to set the object format in CFLAGS and the
default for BINDIR.  The default BINDIR of /usr/mdec can't be overridden
yet because libdisk still uses /usr/mdec and installing in /boot might
clobber the new boot blocks.

Don't install links to bootxx or xxboot.

Install boot1 and boot2 in 1 step.

Don't delete the boot.help source file on installing it when ${COPY} is
null.
1998-12-30 10:21:37 +00:00
Bruce Evans
75d1228cbb Add -aout to CFLAGS centrally.
Set the default for BINDIR (to /usr/mdec) centrally.
1998-12-30 10:05:56 +00:00
Poul-Henning Kamp
4dfe8ba8b4 We don't specify "vector mumble" anymore
Submitted by:	Boris Staeblow <balu@dva.in-berlin.de>
1998-12-30 09:43:36 +00:00
KATO Takenori
d35502a380 Sync with sys/i386/isa/sio.c revision 1.220. 1998-12-30 08:09:11 +00:00
KATO Takenori
390d616e16 Sync with sys/i386/isa/pcaudio.c revision 1.45. 1998-12-30 08:08:05 +00:00
KATO Takenori
a498ae6954 Sync with sys/i386/isa/fd.c revision 1.130. 1998-12-30 08:06:41 +00:00
KATO Takenori
7e925cf6b0 Sync with sys/i386/conf/options.i386 revision up to 1.100. 1998-12-30 08:03:03 +00:00
KATO Takenori
93bbb475a1 Sync with sys/i386/conf/majors.i386 revision up to 1.58. 1998-12-30 07:58:42 +00:00
KATO Takenori
f6814477b7 Sync with sys/i386/conf/files.i386 revision up to 1.215. 1998-12-30 07:57:00 +00:00
KATO Takenori
91ebcb74ed Sync with sys/i386/conf/devices.i386 revision 1.15. 1998-12-30 07:51:20 +00:00
KATO Takenori
2e96c09cf7 SMP stuff has been merged into GENERIC98 file. 1998-12-30 07:49:47 +00:00
KATO Takenori
3789d36ef8 Removed GENERICupgrade file. 1998-12-30 07:47:53 +00:00
KATO Takenori
48bd413130 Sync with sys/i386/conf/GENERIC revision up to 1.140. 1998-12-30 07:46:23 +00:00
Tim Vanderhoek
dea9268b70 Silence -Wtrigraph.
Submitted by:	Bradley Dunn <bradley@dunn.org>  (pr: kern/8817)
1998-12-30 00:37:44 +00:00
Dmitrij Tejblum
7a91724556 Don't free swap in swap_pager_getpages(): this code probably cause the
"dying daemons" problem. (I thought this code was introduced in rev.1.80,
but it just relaxed the condition.)

Also, kill related "suggest more swap space" warning (also introduced in
1.80). It was confusing, to say the least...

Requested by:		msmith
Not objected by:	dg
1998-12-29 22:53:51 +00:00
Bill Paul
8964eeb288 Fix the tl_start() routine; sometimes the tl_tx_tail pointer was not
being updated correctly.
1998-12-29 15:39:35 +00:00
Poul-Henning Kamp
f77edc9e19 follow up to:
Pre 3.0 branch cleanup casualty #1: DSI_SOFT_MODEM support.
1998-12-29 13:06:54 +00:00
Peter Wemm
b23841bc64 Add -I${.CURDIR} since it #includes logo.c from the source dir and breaks
when building with an obj dir.

Reported by:	Quite a few people.. :-/
1998-12-29 09:02:44 +00:00
Gary Palmer
c656fddc16 Add fxp0. It seems to be Alpha-OK, although I don't have a card to test. 1998-12-29 03:59:49 +00:00
Matt Jacob
c5217a03af reserve 110 for ses (SCSI Environmental Services) driver 1998-12-29 00:13:37 +00:00
Jordan K. Hubbard
b5391dfe37 Reserve cdev 110 for SCSI Environmental Services driver
Requested by:	mjacob
1998-12-29 00:04:48 +00:00
Mike Smith
9959b1a882 Improved DDB_UNATTENDED behaviour. From the submitter:
There's something that's been bugging me for a while, so I decided to fix it.
FreeBSD now will DTRT WRT DDB and DDB_UNATTENDED (!debugger_on_panic), at least
in my opinion. The behavior change is such that:

	1. Nothing changes when debugger_on_panic != 0.
	2. When DDB_UNATTENDED (!debugger_on_panic), if a panic occurs, the
		machine will reboot. Also, if a trap occurs, the machine will
		panic and reboot, unlike how it broke to DDB before. HOWEVER,
		a trap inside DDB will not cause a panic, allowing full use
		of DDB without having to worry about the machine being stuck
		at a DDB prompt if something goes wrong during the day.
		Patches for this behavior follow my signature, and it would
		be a boon to anyone (like me) who uses DDB_UNATTENDED, but
		actually wants the machine to panic on a trap (otherwise,
		what's the use, if the machine causes a fatal trap rather than
		a true panic, of debugger_on_panic?). The changes cause no
		adverse behavior, but do involve two symbols becoming global

Submitted by:	Brian Feldman <green@unixhelp.org>
1998-12-28 23:03:00 +00:00
Matt Jacob
17e318c604 clarify headers;ansify 1998-12-28 19:24:23 +00:00
Matt Jacob
c305536317 clarify headers;move uninit to outer layer;remove watchdog 1998-12-28 19:22:27 +00:00
Matt Jacob
656d1af535 Force ARCHIVE Vipers to be FIXED 1998-12-28 19:21:12 +00:00
Nicolas Souchu
517e248509 Rename smbtx to intsmb (IntelSMB interface), the future PIIX4 SMBus
interface driver.
1998-12-28 19:07:51 +00:00
Peter Wemm
7dcf95bf27 Update for pseudo-device support tweaks.. 1998-12-28 16:43:21 +00:00
Peter Wemm
a9d45962a3 Config glue for 'pseudo-device vinum' 1998-12-28 16:31:26 +00:00
Peter Wemm
c285ca1254 Some relatively minor tweaks to enable vinum to be built into a static
kernel as a pseudo-device.  The changes were:
- #ifdef DEBUG -> #ifdef VINUMDEBUG
- opt_vinum.h for holding above config variable
- Fixing up a few stray problems where DEBUG wasn't optional.
- config.c -> vinumconfig.c (there's already a config.o)
- Other *.c -> vinum*.c (wasn't strictly necessary, but done in case we end
  up with something else conflicting later on and we might have to have yet
  more repository copies of files).
- include file paths fixups..  (ie: get them all from the kernel tree
  instead of partly from the kernel and partly from /usr/include/machine)

I've spoken with Greg about this..  I hope this doesn't mess him around
too much..
1998-12-28 16:28:24 +00:00
Dag-Erling Smørgrav
21a9954850 Activate the logo screensaver. 1998-12-28 14:23:43 +00:00
Dag-Erling Smørgrav
ee57f3c3d8 One more for the road: Chuck the friendly floating daemon. Requires
VESA_800x600 to run.
1998-12-28 14:22:57 +00:00
Dag-Erling Smørgrav
00e53a11e8 Save the palette in case syscons doesn't restore it properly.
Fix a minor overflow.
1998-12-28 14:20:13 +00:00
KATO Takenori
64f6f1fa7e CAM support.
Submitted by:	NOKUBI Hirotaka <hnokubi@yyy.or.jp> and
             	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-12-28 12:46:55 +00:00
Peter Wemm
8b26ae02c5 Reconnect vinum KLD module and have it build from sys/dev/vinum rather than
from outside the src/sys tree like before.
1998-12-28 05:27:24 +00:00
Peter Wemm
ef2dbe9885 If I've done this right, revive the vinum code in it's now home after it
was savaged in the blood bath a few hours ago.
1998-12-28 04:56:24 +00:00
Mike Smith
925f368193 From the submitter:
CPU_WT_ALLOC does not work correctly for K6-2s of model 8+ and
probably K6-3s (when they appear on the market soon). In addition,
print_AMD_info() incorrectly printfs write allocation's size. I've
fixed them, so they now Do The Right Thing, and added a
"NO_MEMORY_HOLE" option to easily allow 15-16mb range handling for us
K6 and K6-2 users.

Submitted by:	Brian Feldman <green@unixhelp.org>
1998-12-27 23:23:26 +00:00
Dag-Erling Smørgrav
77aa2f658f Activate the warp screensaver. 1998-12-27 22:03:40 +00:00
Dag-Erling Smørgrav
2aebedc3ad Finally give FreeBSD a graphical screensaver. It isn't much, but it works,
and can serve as a template for further efforts. Consider this my (belated)
Christmas present to the Project :)

Requested by:	jkh
1998-12-27 22:03:09 +00:00
Poul-Henning Kamp
19c749625f Initial entry of ISDN4BSD into the FreeBSD tree.
ISDN4BSD is the work of our brand-new comitter: Hellmuth Michaelis,
who has done a tremendous amount of work to bring us this far.

There are still some outstanding issues and files to bring into
the tree, and for now it will be needed to pick up all the extra
docs from the isdn4bsd release.

It is probably also a very good idea to subscribe to the isdn@freebsd.org
mailing list before you try this out.

These files correspond to release "beta Version 0.70.00 / December
1998" from Hellmuth.
1998-12-27 21:47:14 +00:00
Poul-Henning Kamp
57814d04d4 Update sppp support to i4b level. This includes the new spppcontrol
program to set PPP options like authentication with.
1998-12-27 21:30:44 +00:00