Commit Graph

33689 Commits

Author SHA1 Message Date
msaitoh
e7c433b9d5 fix copyinstr(9) bug (from Charles M. Hannum). 1999-12-08 17:12:21 +00:00
joda
9758d8ed66 check for NULL from malloc 1999-12-08 16:52:51 +00:00
joda
3ae2d6605b defopt APM_DISABLE_INTERRUPTS 1999-12-08 16:46:32 +00:00
itojun
313f5eb9cd do not drop from IP header to tcp option until sbappend(), to reduce
requirement to mbuf chain.
part of KAME sync, committed separately for its (possible) impact.
1999-12-08 16:22:20 +00:00
uch
bf823f92da fix typo. 1999-12-08 16:22:10 +00:00
uch
a46d11d667 don't define DEBUG in source code. 1999-12-08 15:57:12 +00:00
uch
395dc11439 sync with skbd. 1999-12-08 15:54:11 +00:00
uch
866a7053d6 MITUBISHI M38813 keyboard controller. 1999-12-08 15:51:07 +00:00
uch
7584977dc8 Remove old keyboard driver for Compaq C.
Add driver
 PHILIPS 74ALVC1624? buffer chip + simple keyboard driver.
1999-12-08 15:49:18 +00:00
simonb
e065c9fbda Store only the kernel name itself in the bootinfo BOOTPATH record, and
not the full boot device specification.

With this change, /etc/rc doesn't spew garbage when kvm_mkdb can't
find a kernel called "3/rz0/netbsd" or some such...
1999-12-08 14:23:34 +00:00
mjacob
4b6c35ccaf Respond to a crucial security alert. 1999-12-08 11:01:44 +00:00
nisimura
fa5e192541 One small mod. escaped from the last commit. 1999-12-08 09:41:24 +00:00
jun
d93cbc13dd add MobileGearII for DoCoMo 1999-12-08 07:34:58 +00:00
jun
2952df34ed Regen. 1999-12-08 07:30:28 +00:00
jun
7c4f8a7f07 add MobileGearII for DoCoMo 1999-12-08 07:29:24 +00:00
jun
2335cc052c add Compaq PRESARIO 213 1999-12-08 05:35:30 +00:00
jun
d7ec450645 regen 1999-12-08 05:27:07 +00:00
jun
b06bff8f39 add Compaq PRESARIO 213 1999-12-08 05:25:11 +00:00
jonb
34c41c47d3 Update to get closer to the current reality... 1999-12-08 04:46:40 +00:00
simonb
24a48d8b87 Oops, back out some test 5500 stuff from previous commit - only RAMDISK
was meant to be changed.
1999-12-08 04:16:16 +00:00
simonb
3b874faeb3 Add newline to last line of file. 1999-12-08 04:12:15 +00:00
simonb
369211f9ca We now need a 3MB miniroot. 1999-12-08 04:11:07 +00:00
simonb
09af3823bf In dc_ds_consinit(), choose the address of the dc device based on
systype.  Fixes lockup on 5000/200 - tested on 5000/200, 3100 and
5100.
1999-12-08 04:03:28 +00:00
simonb
f3867cd79f Don't need to prototype consinit() - it's in systm.h. 1999-12-08 02:56:17 +00:00
sato
1ff57633a7 - clear all intr status and show old status when attached. 1999-12-08 01:54:59 +00:00
sato
0df4960b03 - PMUINT_ALL, PMUINT2_ALL.
- some registers.
1999-12-08 01:51:56 +00:00
thorpej
781149bb12 Handle the case where PCI dense memory and PCI sparse memory don't
overlap; don't require allocation from the dense extent if the PCI
memory address isn't mapped into dense space.

Also, make sure to return an error if a liner mapping is requested
and dense space is not available (not just not requested).
1999-12-08 01:48:39 +00:00
sato
2c24f58ba1 Vr41xx LED control register definitions. 1999-12-08 01:43:58 +00:00
simonb
c2f5cc273c Don't use our own defines for SCCDEV or RCONSDEV - pull in
<pmax/pmax/cons.h> for these values.
1999-12-08 01:29:11 +00:00
simonb
9208af106d Protect against multiple inclusion. 1999-12-08 01:20:12 +00:00
thorpej
9beb275ae8 Oops, committed the wrong version of this file previously. 1999-12-08 00:35:43 +00:00
simonb
dcf49845cb Remove one of two (different!) prototypes for dc_consinit(). dc_ds.c
now includes <pmax/dev/dc_cons.h> to get the correct prototype.
1999-12-08 00:13:33 +00:00
simonb
3742b697d5 Fix gaff in previous - need <kn230.h> and use _SYS_DZ0 not _SYS_DZ for
5100 console device.
1999-12-08 00:04:11 +00:00
thorpej
33c520ace6 Regen. 1999-12-07 23:58:27 +00:00
thorpej
0bd5e93b0e Remove duplicate vop_balloc definition accidentally added in rev 1.21. 1999-12-07 23:57:49 +00:00
simonb
12ed1b07a3 Use KN230_SYS_* names for 5100 device addresses. 1999-12-07 23:23:19 +00:00
thorpej
a4f30c3f19 Add entry for AlphaServer 2100 (Sable, Sable-Gamma). 1999-12-07 21:51:53 +00:00
thorpej
fcf35a8417 Add options, files, etc. for the AlphaServer 2100 (Sable, Sable-Gamma).
Actual source files not yet committed.  Very Soon.
1999-12-07 21:47:12 +00:00
thorpej
25a665e643 Avoid a spurious warning when establishing a pulsed interrupt handler
on an IRQ which was marked "initially-pulsed".
1999-12-07 21:36:16 +00:00
thorpej
4056ebc587 When doing a badaddr check, insert an extra `mb', which is highly magic
on some systems (due to quirky bus adapters).
1999-12-07 21:35:06 +00:00
wrstuden
17afd02c47 Regen. 1999-12-07 21:07:38 +00:00
wrstuden
7cbac78932 Add comments to describe the lookup parameters needed in the various
component name fragments passed into VOP calls.
1999-12-07 21:06:48 +00:00
thorpej
388112cd09 Add nsphyter. 1999-12-07 19:38:54 +00:00
thorpej
1488729b56 Update for reality. 1999-12-07 19:38:36 +00:00
thorpej
28de1b15a4 Add tlp at cardbus, and nsphyter. 1999-12-07 19:37:40 +00:00
thorpej
b67d4809ed Add a driver for the National Semiconductor DP83843 `PHYTER' 10/100
Ethernet PHY.
1999-12-07 19:36:37 +00:00
thorpej
ff4a32590d When checking the SROM checksum, if the standard location fails, try
the new standard location (according to the SROM format update document
for the 21143).  From Masanori Kanaoka.
1999-12-07 18:24:01 +00:00
uch
dd4be4cdba Fix iocorrect defines. 1999-12-07 17:53:04 +00:00
uch
7dd8599060 supply power. 1999-12-07 17:37:21 +00:00
uch
90c7b962a6 frame buffer device support. 1999-12-07 17:25:00 +00:00
uch
1bf65c154a Supply power before attaching socket. 1999-12-07 17:23:54 +00:00
uch
e96dc9806b changing power up sequence.
disable all power before probing plum2 devices.
1999-12-07 17:21:45 +00:00
uch
af18379afb TX3922, tx39_poll_intr uses stop timer interrupt as sampling interrupt. 1999-12-07 17:11:05 +00:00
uch
704572cafe clean up boot message. 1999-12-07 17:08:10 +00:00
danw
a9d982e4f4 synchronize various changes to comments between these files to make it
even more obvious that they're 90% identical and really ought to be
using common code in arch/powerpc for a most of this...
1999-12-07 16:11:48 +00:00
danw
83f1c31647 Fix "FPCSR" to "FPSCR". ("Floating Point Status and Control Register") 1999-12-07 15:14:56 +00:00
itohy
f735cb83c3 - softdep functions are used outside of FFS. Why?
- ffs_bswap.c is currently unused by LFS.
1999-12-07 08:28:47 +00:00
thorpej
546480874c After reading the 21143 manual again, make sure SNOOZE is cleared in
the CFDA register, too.
1999-12-07 07:36:19 +00:00
thorpej
6e36651a27 Add the 21143 PMCSR offset, from Masanori Kanaoka. 1999-12-07 07:33:25 +00:00
thorpej
747d454ffe Add the PMCSR offset for the 21143, and make sure to bring the 21142
and 21143 out of sleep mode.  From Masanori Kanaoka.
1999-12-07 07:32:58 +00:00
thorpej
f773270d0d If, on the 21143, we find that we don't have an ISV SROM, try reading
it again, with 8 address bits.  21143 Pass 4.1 has a larger SROM,
for storing the CIS when used in a CardBus application.
1999-12-07 07:20:17 +00:00
thorpej
3d60aecdd7 Make sure to bring the chip out of sleep mode. From Masanori Kanaoka. 1999-12-07 07:11:49 +00:00
thorpej
ac20942bc5 Some systems don't have dense space; don't require it. 1999-12-07 07:04:39 +00:00
dbj
2e7a822ef2 applied patch from pr port-next68k/8962 from Christian Limpach <chris@nice.ch>
"boot fails on machines which do not have 32M of memory"
1999-12-07 06:27:33 +00:00
thorpej
51f4c69ad4 Clarify what appear to the untrained eye to be two magic constants (the
address shift and access size shift), and allow them to be overridden
by chip-specific code, if necessary.
1999-12-07 05:44:57 +00:00
sato
c6dcc983e5 - fix typo.
- MINYEAR is 1999.
1999-12-07 05:02:01 +00:00
sato
64ea52288d cleanup a little.. 1999-12-07 04:54:54 +00:00
oster
bd19af5aad Nuke what's left of the DFSTRACE stuff. 1999-12-07 02:54:08 +00:00
oster
e65f9b7c87 More cleanup. DKUSAGE (what little was left of it) goes bye-bye. 1999-12-07 02:40:27 +00:00
oster
a38b721e5f Nuke the last few bits of RF_DEBUG_ATOMIC that should have
disappeared a while back.
1999-12-07 02:13:28 +00:00
augustss
8111aaeef9 Cosmetics and a couple of diagnostic messages. 1999-12-06 21:06:59 +00:00
drochner
0893832078 update for changed struct wsdisplay_accessops:show_screen signature.
no functional changes
1999-12-06 19:25:56 +00:00
drochner
162086b1cd do the screen switch asynchronously (via timeout(0)) if possible,
this hopefully helps for the (very rare) display corruption reported
in PR kern/8628
1999-12-06 18:54:50 +00:00
drochner
8996199a85 -allow the "show_screen" call to the display driver to complete
asynchronously, in the same style like the process attach/detach functions
-intercept the "cnpollc" call which originally went directly to the
 keyboard driver and keep track whether the console is in "polling" state
 (DDB!)
-pass a NULL callback to the screen switcher and the process attach/detach
 functions if the console is "polling", to tell them that asynchronous
 completion is forbidden
1999-12-06 18:52:23 +00:00
leo
c9457413cb Implement an allocator for VA-space using fixed extent maps. It is now
possible to allocate VA-space before uvm is initialized.
1999-12-06 16:06:24 +00:00
leo
b6e2a143e4 Allocate the physical RAM from the extent map. 1999-12-06 15:34:42 +00:00
msaitoh
31b6740b63 Add SCI interrupt mask/unmask code. 1999-12-06 14:10:49 +00:00
simonb
f3e001c3ac Fix typo in 3max+ scc1 device declaration - console output on a serial
console 3max+ works again.
1999-12-06 11:52:36 +00:00
ad
801b079e37 If the vga driver isn't present in the kernel and PCDISPLAY_SOFTCURSOR
is set, then pcdisplay_cursor() should disable the hardware cursor first
time it is called.
1999-12-06 10:04:50 +00:00
mark
cd20e6eb44 Add fields found in new format ebsaboot structures. 1999-12-06 09:55:57 +00:00
tsubai
8395acb6c9 Insert '\n'. 1999-12-06 06:58:30 +00:00
tsubai
d87d33754e Enable BUSERR interrupt before autoconfiguration. 1999-12-06 06:47:14 +00:00
simonb
b48a6bbd79 Allow the "install diskimag" label to be any size < 16MB, not just 4MB. 1999-12-06 02:53:50 +00:00
tron
d5ed9dc998 Regen. 1999-12-05 21:26:36 +00:00
tron
c65011886d Fix incorrect system call number. 1999-12-05 21:25:36 +00:00
tron
ea2517e20d Add proper stub code to make emulation of Linux's pread(2) and pwrite(2)
work. Fixes PR kern/8945 by Dave Sainty.
1999-12-05 21:24:28 +00:00
danw
fa517eaed3 regenerate 1999-12-05 20:09:17 +00:00
danw
5a3161ddbc add Epson EEN10B ethernet 1999-12-05 20:08:39 +00:00
thorpej
9eea13a674 Mark exactly 3 uses of the SCR_BO() macro as being bogus; these 3 uses
already involve byte swapping on big-endian systems due to bus_space_*().

However, the use is self-consistent, and the value is not interpreted
by the chip, so it probably does not matter.  Leave them in for now; we
can always look at their removal later.
1999-12-05 19:40:18 +00:00
thorpej
8c1cbdbed5 Slight change to previous, to make it more obvious as to what's going on. 1999-12-05 19:33:13 +00:00
thorpej
d06db4b7da I have the feeling that OpenBSD has never tried the 53c825a, 53c875, 53c875j,
53c885, 53c895, or 53c896 on big-endian systems.
1999-12-05 18:40:46 +00:00
thorpej
389c599f35 Changes from the OpenBSD `ncr' driver to byte-swap the script on big-endian
systems.  Should make this go on e.g. the Apple Network Server.
1999-12-05 18:25:18 +00:00
mjacob
60416909de Oops. The compiler didn't catch this 'used before set'. Kudos
to Sean Doran for finding it and being nice in telling me.
1999-12-05 18:20:53 +00:00
tron
0f8b4e4579 Revert order of formula to calculate the number of buffer pages if the
BUFCACHE option is defined. With the new formular a few pages less will
be used (22 on a system with 256MB) but we avoid a possible integer
overflow.
1999-12-05 17:12:43 +00:00
tron
8b7af21483 Correct calculation of buffer pages if BUFCACHE is defined. Patch supplied
by kern/8954 by URA Hiroshi.
1999-12-05 15:53:37 +00:00
tsubai
6cec6a5c90 Use dev/clock_subr.c. 1999-12-05 15:50:46 +00:00
minoura
63604fe51b Add pseudo-device pty. sysinst does use ptys. 1999-12-05 15:40:17 +00:00
ragge
26e1b45757 clrnd()/clbase() discarding. 1999-12-05 11:56:30 +00:00
shin
b6113c1d8c delete clrnd() to compile again. 1999-12-05 03:31:11 +00:00
fvdl
44ab379124 The length check for readdirplus entries wasn't right, causing troubles
with 32k readdir sizes. From FreeBSD.
1999-12-05 01:43:06 +00:00