34754 Commits

Author SHA1 Message Date
kato
df5f3a632f Revise sio entries to synchronize with current driver.
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1999-01-16 13:20:42 +00:00
yokota
5126e935c0 Fix palette save/load functions.
# They have been unchanged since the introduction of the VESA support.
# But, we started seeing the problem only recently ;-<
1999-01-16 12:56:00 +00:00
kato
4f24cd0954 Sync with sys/i386/isa/wd.c revision up to 1.185. 1999-01-16 11:43:12 +00:00
kato
fd76cb8785 Sync with sys/i386/isa/sio.c revision up to 1.223. 1999-01-16 11:42:16 +00:00
kato
b1b04dbe93 Sync with sys/i386/isa/npx.c revision 1.65. 1999-01-16 11:41:18 +00:00
kato
8ce895b014 Sync with sys/i386/isa/fd.c revision 1.131. 1999-01-16 11:40:02 +00:00
kato
14a90288e9 Sync with sys/i386/i386/machdep.c revision up to 1.125. 1999-01-16 11:39:08 +00:00
kato
f4bae6e981 Sync with sys/i386/i386/machdep.c revision up to 1.322. 1999-01-16 11:38:03 +00:00
kato
34c279f4b4 Sync with sys/i386/conf/majors.i386 revision up to 1.64. 1999-01-16 11:36:28 +00:00
danny
90bd6bf3ca y2k nit: date +%y -> date +%Y 1999-01-16 10:57:01 +00:00
des
90392cd693 Move the definition of set_origin from logo_saver.c to saver.h. 1999-01-16 10:20:16 +00:00
peter
8e07cd6f5f a.out is default 1999-01-16 08:51:46 +00:00
wpaul
9ca21c1031 Stability fixes:
- In wb_rxeof(), if the received packet is less than MINCLSIZE bytes,
  copy it to an mbuf chain so as to be more frugal in our use of mbuf
  clusters.

- The Winbond chip, like the ASIX, wants the 'TX interrupt request'
  bit set in the _first_ fragment of a transmitted frame, not the
  last. (At least the Winbond manual states this unambiguously; too
  bad I wasn't paying attention when I read it the first time.)

- Turn off the transmit threshold mechanism (initialize the threshold
  to 0). This effectively puts the chip in 'store and forward' mode
  which seems to cut down on transmit errors a little. It may also
  reduce transmit performace a bit, but I'm willing to do that if it
  means better reliability.
1999-01-16 06:25:59 +00:00
wpaul
9617128953 Fix some stability problems:
- Normally, the driver allocates an mbuf cluster for each receive
  descriptor. This is because we have to be prepared to accomodate up to
  1500 bytes (a cluster buffer can hold up to 2K). However, using up a
  whole cluster buffer for a tiny packet is a bit of a waste. Also,
  it seems to me that sometimes mbufs will linger in the kernel for
  a while after being passed out of the driver, which means we might
  drain the mbuf cluster pool. The cluster pool is smaller than the
  mbuf pool in general, so we do the following: if the packet is less
  that MINCLSIZE bytes, then we copy it into a small mbuf chain and
  leave the mbuf cluster in place for another go-round. This saves
  mbuf clusters in some cases while still allowing them to be used
  for heavy traffic exchanges with lots of full-sized frames.

- The transmit descriptor has a bit in the control word which allows
  the driver to request that a 'TX OK' interrupt be generated when
  a frame has been completed. Sometimes, a frame can be fragmented
  across several descriptors. The manual for the real DEC 21140A says
  that if this happens, the 'TX interrupt request' bit is only valid
  in the descriptor of the last fragment. With the ASIX chip, it seems
  the 'TX interrupt request' bit is only valid in the descriptor of
  the _first_ fragment. Actually, the manual contains conflicting
  information, but I think it's supposed to be the first fragment.
  To play it safe, set the bit in both the first and last fragment to
  be sure that we get a TX OK interrupt. Without this fix, the driver
  can sometimes be late in releasing mbufs from the transmit queue
  after transmission.
1999-01-16 06:19:38 +00:00
mjacob
56728d4e23 More bandaids. One important one from Sascha Blank
(<blank@fox.uni-trier.de>) about quirks being set as
arithmetic values, not as bitfields. Add HP, Kennedy
and M4 1/2" reel quirk entries.

Do a lot of gratuitous source changing.

Audit all functions that build ccbs for the tape driver
and decide whether each one can be retried or not.

Still to do is some more state management post errors.
1999-01-16 04:02:31 +00:00
msmith
c72cbf62af Spell "ctlr" consistently. 1999-01-16 03:55:46 +00:00
danny
fb44d81b91 Fix Makefile so it works.
Change date format to yyyy/mm/dd hh:mm:ss
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-16 03:50:10 +00:00
jdp
7144bbc986 Replace duplicated "old" linker set definitions with an include of
<sys/linker_set.h>.  Note, this isn't used on the i386.
1999-01-16 03:25:24 +00:00
danny
5eb872561f y2k nit: print 4 digit years correctly.
PR:		9506
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-16 01:51:03 +00:00
bde
1e7d8593e5 Don't let bugs in ide_pci.c break wdprobe(), at least for standard
IDE hardare.  The attempted fix in rev.1.182 was a no-op except for
adding dozens of style bugs.  The undocumented options ALI_V and
DISABLE_PCI_IDE go away as a side effect.  ALI_V was a no-op because
rev.1.182 was a no-op.  DISABLE_PCI_IDE didn't actually disable
PCI IDE.  It disabled the buggy code in wdprobe() at a cost of
completely breaking support for Promise controllers.

Broken in:	rev.1.139
1999-01-16 01:06:23 +00:00
msmith
339819438a Fix breakage in rev 1.19; the second argument to ide_pci_candma is a
controller number, not a unit number.  Make this clear.
1999-01-16 00:36:53 +00:00
gibbs
f909ac95f7 Add two missing break statements. 1999-01-15 23:24:23 +00:00
msmith
8cd4f8e426 Oops, add the NMBCLUSTERS initialiser for the Alpha as well. 1999-01-15 18:00:19 +00:00
msmith
6a320171df Add getenv_int(), specifically for retrieving integer values from kernel
environment variables.  This makes it easy to pass tuning parameters
in from the bootloader.
1999-01-15 17:25:02 +00:00
msmith
c3f0fef383 Fetch an overide for NMBCLUSTERS from the kernel environment. Never allow
the value to be reduced below that defined when the kernel was built.
1999-01-15 17:24:05 +00:00
wosch
ae75250df3 Misspelt Eighth Edition.
The Eighth Edition is *not* descended from the Seventh Edition.

Submitted by: Greg Lehey <grog@lemis.com>
              and Dennis Ritchie

Here's a quote from Dennis Ritchie, posted to Warren Toomey:
[January 1999]
----- Forwarded message from dmr -----

I also got mail from Norman Wilson today about the discussion.

This is mainly to confirm and fill out details of Wilson's account.

The Eighth Edition system started with (I believe) BSD 4.1c and
the work was done on VAX 11/750s -- our group did not get
a 780 until a while later.

Most of the operating system superstructure of BSD was retained
(in particular no one (even the indefatigable Norman)
wanted to get much into the paging code.  Norman is also
right that the competitor was John Reiser's (and Tom London's)
32V descendant from another group at the Labs.  In structure
this system had a lot to offer (in particular the buffer cache and the page
pool were unified, but it was clear that their work was not being
supported by their own management.  It was used for a while on
our first 750 and also our first 11/780 ("alice", a name that lives
in netnews fame preceding  the reach of Dejanews).

The big change leading to V8 was the scooping-out and replacement of
the character-device and networking part by the streams mechanism.  Later,
Peter Weinberger added the file-system switch that enabled
remote file systems and prescient things ideas like /proc).  Weinberger,
as Norman said, also did a simple-minded FFS.

The TCP/IP stack wasn't very important to us then and it has a mixed and
murky history.  Much of it came from early CSRG work, but it was converted
to a streams approach by Robert Morris and subsequently fiddled over a lot.

Likewise, as Norman said, the applications (/bin and whatnot) were somewhat
of a mixture.  Many were the locally-done versions, some were taken
from BSD in some incarnation, some from System V.

        Dennis

----- End of forwarded message from dmr -----
1999-01-15 17:21:39 +00:00
wollman
acfce95642 Fix logic error in RFC 850 kluge. 1999-01-15 17:10:31 +00:00
wollman
78818f4318 For RFC 850 dates received in HTTP responses, implement the century pivot
described in RFC 2068.  Include a reference to same in the manual page.
1999-01-15 16:56:22 +00:00
peter
9db9503e47 Unbreak previous commit.. 1999-01-15 12:49:53 +00:00
markm
fe682c3b7e Fix CVS merge breakage. 1999-01-15 12:38:11 +00:00
markm
abf6476352 Break cvs merge 1999-01-15 12:37:44 +00:00
peter
72339915e0 Typo: s/local/locale/ in LOCALEDIR.
Submitted by:	Seigo TANIMURA <tanimura@naklab.dnj.ynu.ac.jp>
1999-01-15 12:27:02 +00:00
peter
652cd28bf7 Fix(?) an apparent merge glitch. Half of xrealloc() was missing.. 1999-01-15 12:24:56 +00:00
markm
a87ac22fbf Sigh. Fix broken merges. I hate CVS. 1999-01-15 12:06:17 +00:00
danny
0e3575bb77 Tidy logic in sccs2rcs,
Fix y2kbug "19$year" in log.pl
PR:		9501
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-15 12:05:57 +00:00
danny
dd8cc45b89 Print yyyy/mm/dd in /var/log/adduser, instead of yy/mm/dd
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-15 10:26:59 +00:00
bde
efd89902e6 Use a fast interrupt handler for the PCI version of the cy driver
if option CY_PCI_FASTINTR is configured and mapping the irq to a
fastintr is possible.  Unfortunately, this has to be optional because
pci_map_int_right() doesn't handle the INTR_EXCL flag right --
INTR_EXCL is honoured even if the interrupt needs to be non-exclusive
for other devices to work.
1999-01-15 10:00:12 +00:00
bde
836496c3c7 Fixed corruption of the fd buffer queue. Once upon a time, the active
buffer had to be left on the head of the queue for [bufq]disksort()
to sort against.  This isn't right for devices that can support multiple
active i/o's, and only the fd driver did it.  "Fixing" this in rev.1.36
of ufs_disksubr.c broke the fd driver in much the same way as rev.1.52
of <sys/buf.h> broke it (see rev.1.119).

Bug reported and fix tested by:	dt
1999-01-15 09:15:27 +00:00
imp
69a1352a25 Use 69 pivot kludge from date(1) to make it consistant. Also honor
is_delta and only apply date kludge when it isn't a delta time.
1999-01-15 07:37:00 +00:00
markm
c0887878ad Add a file that I forgot to "cvs add", and remove a lot of stuff that is
no longer a part of texinfo-3.12.
Pointed out by: dg (partially)
1999-01-15 05:58:28 +00:00
imp
b758132372 Y2K nit:
Make two digit years specified on the command line represent
	the century that the computer currently resides.  So 99 means
	1999 this year, but 2099 next year.

Pointed out by: Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
1999-01-15 05:46:28 +00:00
danny
22fad7338c Yet another y2k bug. (printf("19%s %s", $3, $4);) 1999-01-15 05:15:41 +00:00
ache
8dee629e98 fix optimize= settings - configpm understand only =' or =" as variables
and treat any other stuff as comments
1999-01-15 04:14:52 +00:00
jmz
ee9b98691d Typo. 1999-01-15 02:38:33 +00:00
abial
cb4a248c7e Fall back to /boot/boot.conf, if /boot/loader.rc was not fount. This is
to cover the transition period.

Suggested by:	msmith
1999-01-15 00:31:45 +00:00
jb
beae8419dd Increase the size of private thread flags so that the test for a
thread trying to call pthread_exit() from a cleanup handler actually
works.

Submitted by: David Leonard <david.leonard@csee.uq.edu.au> OpenBSD
1999-01-15 00:21:03 +00:00
msmith
3f0c2c8990 Add sscanf/vsscanf/strtoq/strtouq to the kernel. Initially these will be used
for parsing kernel environment values, although they have utility elsewhere.
1999-01-15 00:03:39 +00:00
abial
010f76153c Change counter-intuitive pc@ and pc! to inb and outb.
Submitted by:	jkh
1999-01-14 23:48:03 +00:00
bde
205b5d1b7c Backed out previous commit. MALLOC_DEFINE() needs <sys/kernel.h>. 1999-01-14 23:43:22 +00:00
abial
98f6bbde84 Use the new kget syntax. 1999-01-14 23:23:19 +00:00