Commit Graph

8666 Commits

Author SHA1 Message Date
Bruce Evans da8ac9bcd1 Include kernel.h instead of declaring "extern int hz". 1997-09-07 04:21:25 +00:00
John Dyson 5b05023a50 Fix an intermittent problem during SMP code operation. Not all of the
idle page table directories for all of the processors was being updated
during kernel grow operations.  The problem appears to be gone now.
1997-09-07 01:15:13 +00:00
Wolfgang Helbig 59c98c07d3 Enable A law encoding.
Enable A law encoding.
1997-09-06 17:39:06 +00:00
Wolfgang Helbig 312ae708cd Enable A law encoding. 1997-09-06 17:38:29 +00:00
Brian Somers 59354a4e8d Upgrade to 2.4 (Fix -PKT_ALIAS_UNREGISTERED_ONLY)
Submitted by:	Charles Mott <cmott@srv.net>

Add __libalias_version so that ppp can derive the
correct library name for dlopen()
1997-09-06 11:11:43 +00:00
KATO Takenori 478da40f6c Synchronize with sys/i386/i386/trap.c revision 1.110. 1997-09-06 01:19:10 +00:00
Peter Wemm bb36094c06 Argh, what was I thinking?? Don't (yet) halt the CPU in the idle loop
while waiting for an interrupt (rather than spinning on the runqueue status
bits), since the other cpu can put stuff in there and the sleeping cpu may
not get an interrupt for a while.  When we have a reschedule IPI, this can
come back.

Pointed out by: fsmp
1997-09-05 17:54:07 +00:00
David Greenman ba8c6fd534 Changes to support NetBSD and the new ifmedia extensions.
Submitted by:	Jason Thorpe <thorpej@netbsd.org>
1997-09-05 10:23:58 +00:00
KATO Takenori 7aa7e2b075 Synchronize with sys/i386/conf/options.1386 revision 1.58. 1997-09-05 10:18:16 +00:00
KATO Takenori 5453c48016 Synchronize with sys/i386/isa/syscons.c and syscons.h revisions 1.231
and 1.33, respectively.
1997-09-05 10:17:30 +00:00
Joerg Wunsch d32eff99cc Make the Sony TSL-7000 a known tape changer device. 1997-09-05 10:16:03 +00:00
KATO Takenori 02dddc814c Synchronize with sys/i386/isa/wd.c revision 1.136. 1997-09-05 10:16:02 +00:00
KATO Takenori 8ccbc9119c Synchronize with sys/i386/i386/machdep.c revision up to 1.263. 1997-09-05 10:14:36 +00:00
Peter Wemm 279a69322c Cosmetic adjustment for the trap/double fault/panic cpu id listing.
It now prints the apic id in hex rather than decimal.
1997-09-05 08:54:55 +00:00
Peter Wemm c9c5eae40a Add redirection for new _clock_lock symbol 1997-09-05 08:47:24 +00:00
Kazutaka YOKOTA 297976f79f Add a new compile option SC_HISTORY_SIZE for syscons. 1997-09-04 23:03:11 +00:00
Kazutaka YOKOTA 9d6218d088 Add a new compile option SC_HISTORY_SIZE to specify the history buffer
size in terms of lines (instead of bytes).  When changing video mode
in ioctl SW_XXX commands, syscons checks scp->history_size and
allocate a history buffer at least as large as the new screen size.
(This was unnecessary before, because HISTORY_SIZE was as large as 100
lines and this is bigger than the maximum screen size: 60 lines).
Similar adjustment is done in ioctl CONS_HISTORY command too.

PR: kern/4169
Reviewed by: sos
1997-09-04 23:01:06 +00:00
Søren Schmidt 1f7727a963 Upgrade of EIDE DMA support, Johns comments:
* lots of fixes to error handling-- mostly works now
* improve DMA timing config for Triton chipsets-- PIIX4 and UDMA drive
  still untested
* generally improve DMA config in many ways-- mostly cleanup
* clean up boot-time messages
* rewrite PRD generation algorithm
* first wd timeout is now longer, to handle drive spinup

Submitted by: John Hood <cgull@smoke.marlboro.vt.us>
1997-09-04 18:49:53 +00:00
Søren Schmidt 272c7c74f7 No longer needed, superceded by ide-pci.c ide-pcireg.h 1997-09-04 18:36:02 +00:00
Tor Egge 882e68c8a9 sonewconn no longer passes curproc to the protocol attach method
since that might cause in_pcballoc to call MALLOC with M_WAITOK during
a software interrupt.
Reviewed by:	Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
1997-09-04 17:39:16 +00:00
David Greenman 86fe35b5c6 Cosmetic change to last commit: speculative_mtest -> speculative_mprobe. 1997-09-04 15:23:33 +00:00
David Greenman e91dd67ed8 Changed the memory sizing code so that if the following conditions
are met:

1) The BIOS indicates that there is exactly 64MB of RAM, and
2) The memory size isn't specified with the MAXMEM option or
   the npx0 msize hack,

   ...then do a speculative memory probe beyond the 64MB's until the
first bad page is encountered. This is an admitted hack, but should
nonetheless deal with detecting the correct amount of memory in nearly
all of the modern systems with >64MB of RAM.
Also made a change that will cause the list of detected memory chunks
to be printed if bootverbose is set.
1997-09-04 15:14:48 +00:00
KATO Takenori d312b24474 Synchronize with sys/i386/i386/userconfig.c revision 1.91. 1997-09-04 13:21:23 +00:00
KATO Takenori ef24e6ccb5 Synchronize with sys/i386/isa/pcaudio.c revision 1.35. 1997-09-04 13:20:33 +00:00
KATO Takenori cca7e880b9 Always defines macros for PC-98 display. 1997-09-04 09:05:17 +00:00
Jordan K. Hubbard 168568257a Correct ancient spelling bogon. 1997-09-04 09:01:07 +00:00
Poul-Henning Kamp 4d1122bdd6 Revert to the previous hashing, double the hashtable size instead. 1997-09-04 08:24:44 +00:00
KATO Takenori 6ca02614a5 Support read-only mount. 1997-09-04 03:14:49 +00:00
Søren Schmidt 44b9771a14 1) Changed the volume to be a little louder.
2) Added a non_blocking flag to the write routine.
 3) Added a 3rd buffer (actually a ring buffer would be better)

Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
1997-09-03 19:08:05 +00:00
Poul-Henning Kamp fd9d9ff13e Hmm, this is hopefully better. 1997-09-03 13:29:41 +00:00
KATO Takenori 6fd38fbdc0 Synchronize with sys/i386/i386/machdep.c and microtime.s revisions
1.261 and 1.32, respectively.
1997-09-03 12:41:16 +00:00
KATO Takenori 47e05c0b61 Synchronize with sys/i386/conf/files.i386 revision 1.174. 1997-09-03 12:40:10 +00:00
Poul-Henning Kamp 119b6f4cf2 Use 2^N hash sizes rather than primesize, this replaces a division
with an and. (Submitted by davidg)

Preemptively record ".." values.

Reviewed by:	phk
1997-09-03 09:20:17 +00:00
Poul-Henning Kamp 7cb22688e9 Revert the v_usecount handling in relation to VOP_INACTIVE. 1997-09-03 09:18:48 +00:00
Justin T. Gibbs c66dbc92d4 Make the aic7xxx sequencer assembler compile in the kernel's object
directory.  Rename (via repository copy) some files so that the potential
for future conflicts is minimized.

PR: conf/4363
1997-09-03 03:44:58 +00:00
Bruce Evans ef4ce80f95 Cleaned up revs 1.36-1.40 (mainly disordered declarations, non-bogus
indentation (it is supposed to be bogus to match sio.c), and long lines).
1997-09-03 01:50:24 +00:00
Bruce Evans e4ba6a82b0 Removed unused #includes. 1997-09-02 20:06:59 +00:00
Steve Passe 010e669615 Removed the "globl" nature of the vec array. This was left over from the
time when icu.s was common between UP and SMP.  It is not necessary for UP
and thus can be removed from icu_ipl.s.
1997-09-02 19:40:13 +00:00
John Hay 5c9b4d7987 Struct arpcom should be in the beginning of a softc struct for arp and
ether_ioctl() to work correctly.
Tested by:	Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>
1997-09-02 16:44:46 +00:00
KATO Takenori decab47e75 Synchronize with sys/i386/isa/if_ed.c and lpt.c revisions 1.118 and
1.62, respectively.
1997-09-02 10:11:04 +00:00
Bruce Evans 68366fa6e8 Removed another vestige of devconf. 1997-09-02 04:37:59 +00:00
Bruce Evans 4d1d4912ae Added used #include - don't depend on <sys/mbuf.h> including
<sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).
1997-09-02 01:19:47 +00:00
Bruce Evans 51f480df7a Oops, the previous change applied a reversed patch. 1997-09-01 18:39:37 +00:00
KATO Takenori 52f3a7293c Synchronize with sys/i386/isa/sio.c revision 1.180. 1997-09-01 10:45:02 +00:00
KATO Takenori dd4ca852b4 Synchronize with sys/i386/isa/clock.c revision 1.102. 1997-09-01 10:44:06 +00:00
KATO Takenori d6fc4c1416 Synchronize with sys/i386/i386/microtime.s revision 1.31. 1997-09-01 10:42:43 +00:00
KATO Takenori 8532a0ba59 Synchronize with sys/i386/i386/machdep.c revision 1.260. 1997-09-01 10:42:03 +00:00
KATO Takenori 17f8b8963b Synchronize with sys/i386/conf/options.i386 revision 1.57. 1997-09-01 10:41:04 +00:00
KATO Takenori dcda1104be Synchronize with sys/i386/boot/biosboot/asm.S, boot.c and boot.h
revisions 1.12, 1.69 and 1.21, respectively.
1997-09-01 10:38:32 +00:00
Steve Passe 1de995bb1f General cleanup of the sub-system locking macros.
Eliminated the RECURSIVE_MPINTRLOCK.
clock.c and microtime use clock_lock.
sio.c and cy.c use com_lock.

Suggestions by:	Bruce Evans <bde@zeta.org.au>
1997-09-01 07:45:37 +00:00