mhitch
7460a0be93
Set sc_cfg3_fscsi for the AMD53C974 to match the change in ncr53c9x.c.
1999-09-22 03:32:00 +00:00
mhitch
636de81487
Define config register 3 values for NCR53C9x/FAS216.
...
Add sc_cfg3_fscsi to the softc and use it to set the chip into Fast SCSI
mode for the chips that use it.
1999-09-22 03:31:23 +00:00
matt
72a3b3a08a
Make NETATALK over FDDI.
1999-09-21 22:18:51 +00:00
matt
590b2a675e
Add a ifru_value (unsigned int) as a generic value.
1999-09-21 22:16:24 +00:00
tron
d889983e60
Small enhancement to the mcount() function to make profiling of assembler
...
functions easier. Patch supplied by Richard Earnshaw in PR port-arm32/8462.
1999-09-21 22:15:11 +00:00
scw
b85d5442ca
Add #ifdef _KERNEL around the spln() macros.
1999-09-21 18:49:19 +00:00
ragge
7c80a2ddec
Nuke unnused file.
1999-09-21 18:08:37 +00:00
ragge
3455a353f9
Fix minphys() on vax. While here, convert to bus.h.
1999-09-21 18:07:54 +00:00
tsubai
0afae6fc87
Move common parts of machdep.c to sh3_machdep.c.
1999-09-21 13:16:15 +00:00
tsubai
efb6bddd34
lcsplx() should return old cpl...
1999-09-21 12:36:32 +00:00
tsubai
47e2bdfea4
Add %INCLUDES.
...
Compile tcp_input.c with only -O1 to avoid gcc bug.
1999-09-21 11:52:21 +00:00
dbj
1ddcb8ee87
added a couple of functions missed when chuq removed PMAP_NEW
1999-09-21 11:03:53 +00:00
is
e203553a11
Finish support for auto-generated libkern divsi3.S.
1999-09-21 09:43:38 +00:00
enami
e7daddb730
fold long line and kill empty line at the end of file.
1999-09-21 03:39:37 +00:00
enami
31e6da77de
Calculate the correct device minor of the first partition.
1999-09-21 03:10:00 +00:00
enami
4776d0bcdc
Define macro to translate disk unit/partition pair into device minor.
1999-09-21 03:08:18 +00:00
nisimura
389197ef79
Fix minor typos.
1999-09-21 02:29:41 +00:00
danw
6775e175ca
Add a brief delay after resetting the card before checking to see if
...
it's done resetting. Trying to read registers off the card while it's
unresponsive can cause a machine check on some platforms/busses.
1999-09-21 01:04:44 +00:00
thorpej
30651e46b3
A couple more hacks for the Lite-On PNIC:
...
- Only use 16 longword bursts.
- Reset the interface for receive filter setups that don't come from
the reset path.
Hi, Jason is getting really tired of broken clone chips, and really wishes
real 21140 boards were still available, because the DEC chips seem to work
Just Dandy.
1999-09-21 00:14:54 +00:00
matt
4d95a06139
Need to pull in <sys/kernel.h> for definition of cold.
1999-09-21 00:10:39 +00:00
is
6f84613972
replace inline asm by macro calls, that expand to the original inline asm
...
or to C replacements depending on the USE_C_BFOPS option.
The C replacement only works for our 8 bit wide fonts.
1999-09-20 23:17:13 +00:00
thorpej
5ada26d247
Remove the has-mii-doesn't-have-mii OPMODE block from tlp_init(), and
...
let the pre-init hook and media switch routines handle it all.
1999-09-20 19:52:31 +00:00
thorpej
28b026bee1
Remove special-case 2114x-set-OPMODE_MBO; it's done in the pre-init hook
...
now.
1999-09-20 19:34:08 +00:00
thorpej
664d8da4f5
Add support for the DECchip 21041. This also adds some preliminary
...
support for the ISV SROM format used in the 2114{1,1A,2,3}. Note, like
the 21040, auto-sense is not yet supported for the 21041.
Add a "pre-init" hook, which will be used for the 2114x and PNIC (currently)
which allows chip-specific code to set up and write OPMODE before the
chip is reset. This is necessary in order for the chip's internal
pathways to get initialized properly for MII/SYM/PCS/SIA media attachments.
Thanks to Dave Sainty for the hint from the `de' driver that inspired the
pre-init hook.
1999-09-20 19:26:54 +00:00
thorpej
dfdb204ae2
Declare and clear `cold' in a centralized place.
1999-09-20 18:29:21 +00:00
thorpej
6961f081e5
Fix packet reception in promiscuous mode: compare the Ethernet destination
...
address against our station address if it's not a multicast packet. Either
the Rhine manual lies about the phys/broadcast/multicast rxstatus bits,
or the Rhine chip is just broken.
Fixes a redirect storm problem reported by Laine Stump on current-users.
1999-09-20 17:40:58 +00:00
drochner
2576aadde3
add missing break, spotted by Wolfgang Solfrank
1999-09-20 16:07:45 +00:00
ross
80fd51b82b
Fix error flow that was broken 10 days ago in the previous commit.
...
Fixes the broken i386 boot blocks and closes port-i386/8432.
1999-09-20 11:58:15 +00:00
is
897dbf6c67
Use an identical source file for the libc and the libkern version of
...
divsi3.S, conditionally compiling the divide by zero case. This way,
after a change to the one, we can just copy it over to update the other
without creating ... problems. By Chris G. Demetriou.
1999-09-20 09:22:47 +00:00
frueauf
8add3d9e07
avoid compiler warning and remove unused variable vpid.
1999-09-20 07:29:27 +00:00
nisimura
1f50d00cc1
Add one new dispaly type for DEC TC TX 8/24bpp framebuffer. Currently acts
...
as an 8bpp pseudo color device.
1999-09-20 06:29:06 +00:00
itojun
62c568fac4
tiny fix to ARCnet IPv6 support.
...
- in in6_ifattach_getifid(), we can grab interface id source iff the source
is universally (worldwide) unique. ARCnet hardware address is of 8bit and
does not satisfy the condition.
(in6_ifattach_getifid() is for getting interface id usable for pseudo
interfaces like gif*)
- xx_to_eui64() should return EUI64 format, not IPv6 interface id format.
this may seem awkward so I wish to clean these things up.
- in nd6.c, change if clause into case clause to allow future addition
of IFT_xxx easier.
1999-09-20 02:35:44 +00:00
nathanw
3598bf5251
Add NOLUNS quirk for another Texel CD-ROM revision.
1999-09-19 23:45:28 +00:00
ad
598dcad691
When moving the software cursor on an inactive screen, save character and
...
attribute from backing store, not display adapter.
1999-09-19 23:00:04 +00:00
matt
a6d751c35c
One more change for bigendian machines.
1999-09-19 22:58:31 +00:00
ad
97253f4537
Software cursor is not enabled at boot time. Hardware cursor is.
1999-09-19 22:57:24 +00:00
matt
9ac5036f93
Make the DEFPA run under the macppc port (tested on a B&W G3). Add it to
...
the GENERIC config file.
1999-09-19 22:02:37 +00:00
ad
117b17fafc
Document PCDISPLAY_SOFTCURSOR.
1999-09-19 21:50:05 +00:00
ad
f96e055d70
- mc6845's cursor is disabled by punching bit 6 of cursor start register.
...
- Add new option (PCDISPLAY_SOFTCURSOR) that provides a large, non-blinking
cursor in software.
1999-09-19 21:48:08 +00:00
is
072a96b17d
fix mergo
1999-09-19 21:42:23 +00:00
is
6a793d8a47
Zeroth version of IPv6 support for ARCnet. Correct MTU handling still needs
...
to be done.
1999-09-19 21:31:33 +00:00
thorpej
1b38b2e234
Remove ipfilter, add IPv6 and IPSec.
1999-09-19 21:20:43 +00:00
thorpej
64c5200dba
Correct a comment: aging `basalt' is no longer a file server, but now
...
just a mere workstation.
1999-09-19 21:13:44 +00:00
thorpej
d65238f17d
Add SYSV* IPC options.
1999-09-19 21:12:43 +00:00
thorpej
5485bcb973
Fix a buglet in tlp_reset(): don't touch the Tulip for at least 50
...
PCI cycles after starting the reset; it won't respond. This will
cause a machine check on some Alpha core logic chipsets (e.g. 21071 APECS).
1999-09-19 20:51:09 +00:00
chs
fb1cb1ede1
fix a prototype that was missed in the pmap_extract() API change.
1999-09-19 19:06:19 +00:00
chs
b42715c204
fix something that was missed in the PMAP_NEW cleanup.
1999-09-19 19:05:44 +00:00
is
6b3625a6ad
Oops. The overflow code should not have been copied from the userland
...
version.
1999-09-19 15:58:02 +00:00
drochner
fa13e8eb92
set odd parity for the serial line
...
(done by directly setting zilog chip control bits -- there should be
a zs_set_frame() or so in z8530sc.c)
fixes PR port-alpha/8423 by Konrad Schroder <perseant@hhhh.org>
1999-09-19 14:45:47 +00:00
scw
b8cb8025c3
intoa.c is now required in the standalone library.
1999-09-19 09:57:52 +00:00
ross
add81fb25a
New -s option. Arranges for the 64-bit alpha checksum to contain within it
...
an embedded 16-bit sparc checksum and 16-bit sparc magic number.
See also: rev 1.16
1999-09-19 04:54:57 +00:00
ross
9ff31ad0f5
New option: -s
...
.
Makes the 64-bit alpha checksum magically contain an embedded 16-bit
Sun (NetBSD/sparc) compatible magic number and checksum. This is the
last piece in the "boot one disk from alpha, sun, and i386" problem.
.
And for those who told me this had been done before, :-P. It turns out,
it was only done in the collective sense by multi-disk distributions.
1999-09-19 03:19:00 +00:00
shin
e088980de7
Bugfix: Initialize 'hz' to CLOCK_RATE.
1999-09-19 00:46:05 +00:00
augustss
fb7795c908
Make sure the HC deactivation is propagated.
1999-09-18 11:25:50 +00:00
scw
d1c5384e9a
Minor optimisation.
1999-09-18 09:45:05 +00:00
scw
500d9b9508
Make the sd, cd and md major numbers match reallity.
1999-09-18 09:42:46 +00:00
scw
7b5b8ca772
Fix a (mostly harmless) NULL de-reference when no boot args supplied.
1999-09-18 09:39:55 +00:00
scw
5e755998cc
Tidy up the ethernet buffer allocation code.
1999-09-18 09:37:35 +00:00
scw
af10a195af
Make sure the '167 phys_seg_list entry for offboard memory is empty.
1999-09-18 09:35:44 +00:00
scw
a96f5614ab
Make this compile again.
1999-09-18 09:26:00 +00:00
matt
9aab9d330a
Make this compile on alpha again.
1999-09-18 05:31:42 +00:00
ad
e6f3bfaa3a
N10's host interrupt register uses low nybble for interrupt cause, not the
...
entire word.
1999-09-18 01:50:24 +00:00
ad
91723eaf32
Regen.
1999-09-18 01:46:25 +00:00
ad
697eb331c5
Ammend some entries.
1999-09-18 01:46:01 +00:00
thorpej
9002796d07
If the interface is not marked as running, abort tlp_intr() early.
1999-09-17 21:57:36 +00:00
thorpej
79f938f5f8
Fix a few buglets in the multi-port 21040 code. ZNYX ZX314 confirmed
...
working now.
1999-09-17 21:55:01 +00:00
thorpej
0d7a86c356
- Centralize the declaration and clearing of `cold'.
...
- Call configure() after setting up proc0.
- Call initclocks() from configure(), after cpu_configure(). Once the
clocks are running, clear `cold'. Then run interrupt-driven
autoconfiguration.
1999-09-17 20:11:56 +00:00
thorpej
11cae42531
Centralize the declaration and clearing of `cold'.
1999-09-17 19:59:35 +00:00
tsubai
e9cc963b20
Small optimization.
1999-09-17 15:20:54 +00:00
itojun
b3d9b0130c
eliminate unnecessary splnet().
1999-09-17 12:26:04 +00:00
tsubai
7bf9aa0fdf
s/ _MMEYE_H_/ _MMEYE_MMEYE_H_/
1999-09-17 12:16:37 +00:00
is
6cf532dd3d
Synchronize with fixed libc version:
...
If unsigned dividend > INT_MAX, or signed dividend == INT_MIN, be careful
to not overflow the divisor when shifting it to the left.
1999-09-17 11:42:56 +00:00
msaitoh
adc175c443
check SCI(F)CONSOLE
1999-09-17 01:23:00 +00:00
msaitoh
4a175ef57d
options SCICONSOLE
...
options SCIFCONSOLE
1999-09-17 01:21:40 +00:00
ad
54943e8584
- Collapse forward and reverse cases in rasops_copyrows() into one
...
- Pull in opt_rasops.h so we know if clipping is enabled
- Some KNF
1999-09-17 00:22:07 +00:00
ad
da0cbab431
Clean up attribute allocation some more.
1999-09-17 00:09:34 +00:00
msaitoh
9af0f68f52
- set nkpde from IOM_RAM_SIZE
...
- remove MMEYE_LED
1999-09-16 22:52:11 +00:00
augustss
97a24aa488
Make defines follow the standard.
1999-09-16 21:53:58 +00:00
msaitoh
4014b40eb8
cleanup
1999-09-16 21:39:24 +00:00
msaitoh
3323319940
add "device fdc {drive = -1}" for pcmcia
1999-09-16 21:31:29 +00:00
msaitoh
5a99c25885
sync with mmeye
1999-09-16 21:23:40 +00:00
msaitoh
29a76c3593
fix mask_irq() and unmask_irq() for SH7750
1999-09-16 21:22:40 +00:00
msaitoh
fd0dba8d22
sync with bscreg.h
1999-09-16 21:20:20 +00:00
msaitoh
31f498776d
add "device fdc {drive = -1}" for pcmcia
1999-09-16 21:18:55 +00:00
msaitoh
f921a6e9c5
sync with tmureg.h
1999-09-16 21:17:46 +00:00
msaitoh
9211d6bed4
sync with sci*.h and tmureg.h
1999-09-16 21:17:26 +00:00
msaitoh
d9a70fd1dc
cleanup
1999-09-16 21:15:36 +00:00
drochner
61ab682f29
set baudrate before talking to the keyboard (in non-console case)
...
from Konrad Schroder per PR port-alpha/8422
1999-09-16 19:39:05 +00:00
augustss
a4457e18b3
More DIAGNOSTIC paranoia.
1999-09-16 19:20:34 +00:00
christos
75d8e5904a
Regen
1999-09-16 18:19:11 +00:00
christos
36140f8037
fix olseek botch
1999-09-16 18:18:28 +00:00
jdolecek
61cf56ebf2
introduce new variable wsdisplay_defaultscreens (initialized to
...
WSDISPLAY_DEFAULTSCREENS or 0 if it's not defined) and use it instead
of WSDISPLAY_DEFAULTSCREENS as approptiate, so that number of screens
added on bootup is patchable
move printing of info about added screen into separate routine and
print just one message for all screens added in wsdisplay_common_attach(),
such as:
wsdisplay0: screen 1-7 added (80x25, vt100 emulation)
while here, do minor const poisoning
Reviewed by: drochner
Tested by: jdolecek
1999-09-16 18:16:51 +00:00
matt
458fefc5ad
Compile the kernel for SHARKs optimized for strongarm.
1999-09-16 16:49:49 +00:00
msaitoh
99ca8c39f5
unused file (we have an asm version)
1999-09-16 15:04:13 +00:00
chs
b9604a3f30
make this compile again after PMAP_NEW cleanup.
1999-09-16 14:52:06 +00:00
msaitoh
7977bd843d
enclose tlbflush(), disable_intr() and enable_intr() with #ifder _KERNEL
1999-09-16 14:42:27 +00:00
minoura
15a7aff6f8
Sync (hp300).
1999-09-16 14:40:21 +00:00
takemura
6f19920b47
Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
...
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-16 14:37:47 +00:00
minoura
da2dab0c10
Finish PMAP_NEW.
...
- Wrong argument to pmap_kremove (vm_machdep.c:pagemove()).
- Uninitialized variable (pmap.c:pmap_kremove <- this should be fixed long ago...)
1999-09-16 14:35:42 +00:00
msaitoh
224d34b5e1
remove sh3/include/mmeye.h
1999-09-16 13:32:24 +00:00