chs
3bfa86cbc0
fix breakage from PMAP_NEW cleanup.
1999-09-14 17:11:45 +00:00
tsubai
67f4885c8c
Sync with -current.
1999-09-14 11:21:26 +00:00
tsubai
17dc484c1c
Sync with -current.
...
XXX root on nfs don't work, though root on wd0 works well.
1999-09-14 11:20:52 +00:00
tsubai
40905bd3ec
Catch up with -current.
1999-09-14 10:22:34 +00:00
tron
5f94d21164
Fix typo in "#ifdef" in ie_read_frame() which prevented Berkeley Packet
...
Filters from working correctly. Fixes PR port-arm32/8343 by
Richard Earnshaw.
1999-09-13 20:17:35 +00:00
msaitoh
427928b3a1
add some comments.
1999-09-13 19:13:09 +00:00
msaitoh
7a7f9c0763
sh3/sh3/ -> sh3/dev change
1999-09-13 17:14:42 +00:00
msaitoh
ac3fe6d372
remove mainbus pseudo floppy drive
1999-09-13 16:26:17 +00:00
itojun
14971ca02a
add local def for CXX.
1999-09-13 15:50:01 +00:00
itojun
8a72d1850e
add compilation directory.
1999-09-13 10:45:30 +00:00
itojun
65363da25e
Merge in NetBSD/sh3 from cvs.kame.net repository.
...
Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)
Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
1999-09-13 10:30:21 +00:00
mark
eddd4afb9c
Fix compile errors when ARM700BUGTRACK is defined.
1999-09-13 06:17:27 +00:00
mark
a212e2ddf3
Add ess plug and plug audio device.
...
Add wsmux device.
Add placeholders for more PCI cards.
1999-09-13 05:19:45 +00:00
chs
f3a668ed84
eliminate the PMAP_NEW option by making it required for all ports.
...
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00
bad
1a3995bac1
In apciparam() in the ospeed == 0 case, actually set the cfcr to the new
...
value.
1999-09-10 22:49:33 +00:00
drochner
2c0e7cf113
allow to set boot timeout and password, following PR port-i386/8196
...
by Stephan Thesing
1999-09-10 16:45:27 +00:00
drochner
3e60c834ed
install /boot -r-------- for security reasons
1999-09-10 16:41:10 +00:00
drochner
4486b15211
-make ustarfs optional (enabled per default) for cases where space is
...
scarce
-make the boot timeout patchable
-optionally, call checkpasswd() before the boot menu can be accessed
(The latter 2 follow PR port-i386/8196 by Stephan Thesing.)
1999-09-10 16:38:46 +00:00
drochner
5c48b9a115
improve awaitkey()'s printout for >9 seconds
1999-09-10 16:23:55 +00:00
is
3e7102ecac
Don't flush more than necessary. By Richard Earnshaw in PR 8132.
1999-09-10 10:12:09 +00:00
drochner
2914ef7fd2
sync with changes to if_fxp header,
...
thanks to <ks@ub.uni-mainz.de> for testing
1999-09-10 09:12:44 +00:00
pk
132d930986
Fix printf format (see PR#8358).
1999-09-10 08:42:58 +00:00
ross
f468c5f199
This is required by libsa/loadfile.c.
1999-09-10 07:33:57 +00:00
ross
e66e48676c
Nuke the alpha ecoff/elf bootloader and use the libsa/ one instead.
1999-09-10 07:31:16 +00:00
augustss
14b98cd440
Add uaudio driver.
1999-09-09 12:33:43 +00:00
nisimura
f563627c41
Remove now defunct local implementation of ioasic_lance_dma_setup().
1999-09-09 06:41:08 +00:00
nisimura
633408472b
Use bus_dmamap_load() to obtain 128KB chunk for LANCE merging codes from
...
NetBSD/alpha. Tested ok with DEC3000 and DECstation.
1999-09-09 06:33:38 +00:00
itohy
cd74d2c98b
Introduce new option APM_NO_POWER_PRINT which disables printing
...
power status on the console (if apmd is absent).
Some systems generate APM_POWER_CHANGE events too frequently (more then
once per minute), and printing the status makes single user operations
rather difficult.
1999-09-09 03:52:21 +00:00
tsubai
f7b9562c8c
Inline some functions.
1999-09-08 17:28:02 +00:00
kleink
562c87f80e
Exclude some code moved here in rev. 1.206 if no npx is configured to make
...
such kernels link again; addresses PR port-i386/8262 from Ben Harris.
1999-09-08 09:16:47 +00:00
sommerfeld
8602e6124d
add svr4_lwp.h to let this build again.
1999-09-08 04:02:48 +00:00
is
5c9f73a53d
Oops. I forgot to add cachops here earlier.
1999-09-07 20:24:56 +00:00
is
1db2b4be2e
Uhm... multi-cpu kernels containign M68020 support won't assemble without
...
this. Sorry for the inconvenience.
1999-09-07 19:40:56 +00:00
ross
9efd996351
spelling
1999-09-07 18:27:58 +00:00
christos
0b8242ef73
Oops forgot to include new files.
1999-09-07 18:20:40 +00:00
simonb
a68944cfca
Overhaul the tz SCSI tape driver:
...
+ Add a quirk table.
+ Assume all else is a modern drive that can do variable block
lengths (this is the main reason for this work - the old driver
only ever seemed to write 512 byte blocks!).
+ Keep track of values for mtget's mt_fileno, mt_blkno.
+ Handle a few extra MTIOCTOP commands.
Ideas gleaned from our MI scsi tape driver and the FreeBSD CAM tape
driver. Tested on a TKZ09 (DEC badged Exabyte 8500), a TLZ06 (DEC
DAT) and TK50.
Many thanks to Pierre Bergdolt for helping with testing.
1999-09-07 13:53:36 +00:00
sommerfeld
745de28592
Patch time_precision so we report a realistic NTP "precision" value to userland.
1999-09-06 21:54:17 +00:00
is
33014f7bb0
Switch to cacheops. This closes PR 1960.
1999-09-06 21:50:47 +00:00
ragge
fe8a330be5
Styr upp deklarationen av clockchippsparametrarna.
1999-09-06 19:52:52 +00:00
simonb
a17eb29d7c
Remove a few unnecessary header files.
1999-09-05 11:34:29 +00:00
simonb
eca6f8a067
Fix tyop.
1999-09-05 06:31:52 +00:00
tsubai
0724f6dd3b
Recognize PCMCIA eject button. (Tested on only PowerBook 2400.)
1999-09-05 05:30:30 +00:00
jtk
41360ce4ff
regen with ELF. Still works OK.
1999-09-04 22:26:21 +00:00
jtk
4dc03cfa09
fix for building on ELF
1999-09-04 22:25:51 +00:00
nisimura
d0259231aa
A small fix to save such a configuration of MAXINE with TC framebuffer
...
option card installed.
1999-09-03 10:19:40 +00:00
nisimura
c1122ccf3d
- Nuke '#ifdef alpha' which brings little useful, plus a small cleanup.
1999-09-03 07:12:45 +00:00
nisimura
37b9802f3a
- Nuke "asc.h" inclusion.
1999-09-03 06:12:28 +00:00
ross
dc7ca6a110
Don't get confused when pci function != 0.
1999-09-02 22:04:41 +00:00
sommerfeld
0ec90c839f
resync supported mii phy's with GENERIC
1999-09-01 03:10:04 +00:00
thorpej
b99d7572d6
Add some missing usb glue.
1999-09-01 00:05:01 +00:00
simonb
0676f7a9b7
Handle the MTOFFL request to actually offline a tape rather than just
...
rewinding it. Tested with an Exabyte 8500 on a 5900/260 (the asc scsi
driver).
1999-08-31 01:12:51 +00:00
ragge
56f0f92bef
Add some external variables.
1999-08-30 21:18:17 +00:00
mycroft
c3e1f6741d
A foolish consistency.
1999-08-30 18:58:01 +00:00
tsubai
30e635f6f3
Make sure that we use only inside of available memory region
...
in pmap_bootstrap.
1999-08-30 07:59:19 +00:00
mrg
f75cf1688b
install ieee.h
1999-08-30 00:51:57 +00:00
mycroft
4ef547e76d
Add ieee.h.
1999-08-29 18:21:20 +00:00
mycroft
9071f9ee14
Add ieee.h.
1999-08-29 18:10:33 +00:00
thorpej
c068ef8152
Add `umass'.
1999-08-29 16:55:48 +00:00
dbj
45ec8742b1
minor rework of dma driver
...
now uses the DMACSR_READ bit and no longer keeps _nd_dmadir in softc
unified transfer cleanup code, now in routine next_dma_finish_xfer()
fixed bounds checking on registers after transfer.
removed checking for bus errors since the bit is always set on some nexts
(specifically, on mourning, a 25mhz 68040 mono slab)
fixed a couple of dma bugs involving chaining dma buffers.
1999-08-29 05:56:26 +00:00
dbj
ec9b8358dc
made debugging printfs switchable at run time via the "xe_debug" variable.
1999-08-29 05:51:45 +00:00
tsubai
5d7288c24d
Increase md size to 2MB.
1999-08-28 16:49:49 +00:00
dbj
a47891200f
fixed DMACSR_BITS definition to reflect DMACSR_READ bit renaming
1999-08-28 09:42:44 +00:00
dbj
3c215084bc
discovered the purpose of another bit in the dma control register.
...
DMACSR_READ is now a CSR status bit which can be used to know if current transfer is
from cpu to device.
the old DMACSR_READ bit is renamed DMACSR_SETREAD. This is a control bit that tells
the dma transfer to be from cpu to device.
1999-08-28 09:19:04 +00:00
ragge
a724cc71f4
Changes for 4000/90.
1999-08-27 20:05:08 +00:00
ragge
02470fb53a
Support for 4000/90.
1999-08-27 20:04:32 +00:00
ragge
3c8bd07cd4
CPU support for 4000/90 (KA49).
1999-08-27 20:02:05 +00:00
ragge
c1eb799c3a
Use interrupt stack for unexpected interrupts.
1999-08-27 20:00:24 +00:00
ragge
1e07ecc873
Aupport these on 4000/90.
1999-08-27 17:50:42 +00:00
ragge
4fa4cc8160
Don't try to search for these devices on 4000/90. badaddr() should
...
be fixed for this arch also.
1999-08-27 17:49:41 +00:00
ragge
73dc3cea57
Rearrange the interrupt detection code to work on the (slightly
...
different) VAXstation 4000/90.
1999-08-27 17:45:57 +00:00
hannken
5c57af78d2
Remove now unused variable `i'.
1999-08-27 10:49:20 +00:00
tsubai
b65b00c391
Change the start address of INSTALL kernel to 0x800000 to use larger
...
contiguous space for memory disk.
1999-08-27 07:59:49 +00:00
thorpej
84670a44ef
Initialize the default colormap to 0 == black, all others == full white.
1999-08-26 22:53:41 +00:00
thorpej
58858e0968
Suns use black-on-white as the default rcons colors.
1999-08-26 20:50:08 +00:00
thorpej
8c92a5344c
PMAX uses white-on-black for the default rcons colors.
1999-08-26 20:49:40 +00:00
simonb
d65a712698
Fix some small tyops.
1999-08-25 02:12:05 +00:00
simonb
c8276b07d3
Remove ifdef'd alpha call to set_clockintr() - the pmax and alpha clock.c
...
have diverged, and set_clockintr() doesn't exist on the alpha anymore!
1999-08-25 00:44:36 +00:00
ad
c9adbf13c2
Update to match new rasops_init semantics.
1999-08-24 11:16:03 +00:00
ad
2c13aef146
- Update to match new rasops_init semantics
...
- Set RI_FULLCLEAR so that we clear the *entire* display
- Set RI_CURSOR and cursor position so that old cursor glyph gets wiped
Fixes PR: port-sparc/8121
1999-08-24 11:12:08 +00:00
ross
52a638cbe3
Fix minor type () bug. Fall thru correctly when the minor type is not known.
1999-08-23 22:29:41 +00:00
thorpej
2cf3330a1b
Garbage-collect reference to <sys/dmap.h>.
1999-08-23 22:29:37 +00:00
ragge
86a3dd1701
Don't reference a unexisting address on 4000/90.
1999-08-23 19:10:43 +00:00
ragge
895fe9eaf6
Add support for 4000/90. Also handle interrupts more intelligent.
...
XXX - countdown doesn't work on 4000/90.
1999-08-23 19:09:27 +00:00
kleink
5663256d0a
Unlike in an i386 a.out assembler, where in an .align n directive n is meant
...
to be the logarithm to base 2 of the alignment, in an ELF environment n is
the actual alignment boundary; thus, adjust the directives accordingly.
Albeit the wonderful i386 architecture doesn't mind the smaller alignment in
an obvious way, it is likely to have resulted in some performance penalty
during the a.out->ELF transition.
1999-08-23 08:24:36 +00:00
matt
82d58cbe82
export elf_machdep.h
1999-08-21 23:35:44 +00:00
matt
741f18b695
Initial VAX ELF32 support (mostly untested). It's checked primarily for
...
testing and archival for now. I don't expect anyone to work with it
since the binutils and gas changes are still pending. But you got to
crawl before you walk.
1999-08-21 19:26:18 +00:00
sommerfeld
2e95b13365
Use ${SIZE}, ${OBJCOPY} rather than size and objcopy.
1999-08-21 14:18:36 +00:00
simonb
3c185af5fd
Include <sys/endian.h> after defining whether where are little- or
...
big-endian. i386, pc532 and vax still include <machine/byte_swap.h>
and define macros for the {n,h}to{h,n}*() functions. mips also
defines some endian-independent assembly-code aliases for unaligned
memory accesses.
1999-08-21 05:53:50 +00:00
simonb
06a92524c2
Include <sys/bswap.h> for function prototypes. i386, pc532 and vax
...
still include <machine/byte_swap.h> and define macros for some of
the bswap*() functions.
1999-08-21 05:39:51 +00:00
chs
cb6a6fecce
copy some definitions from the sparc port. fixes PR 7880.
1999-08-20 03:53:50 +00:00
chs
dd6caaf3f9
fix typo in previous commit. fixes PR 7879.
1999-08-20 03:52:38 +00:00
mjacob
9ed023d94e
remove LIMITMEM code because it does not work anyway anymore
1999-08-19 21:31:43 +00:00
ragge
8a0eac0ab5
Detect NVAX also.
1999-08-19 20:50:18 +00:00
drochner
6bd627f17f
back out last rev - it looks like a local hack which shouldn't go here,
...
and it breaks the "opms at pckbc" case
1999-08-19 15:33:16 +00:00
sommerfeld
3931d8c7c9
Add umodem; fixes kernel build error..
1999-08-18 23:34:27 +00:00
cgd
b18820272a
add bootxx_lfs
1999-08-18 21:34:24 +00:00
cgd
a97b5505e4
add lfs support
1999-08-18 21:34:11 +00:00
cgd
82729b7302
add a makefile for an LFS primary
1999-08-18 20:02:39 +00:00
cgd
30d5d8a1e3
mention that putstr.c and putulong.c might want to be included when debugging
1999-08-18 20:01:06 +00:00
cgd
b28ae57077
add a gross putulong() function which can be useful for debugging.
...
It's not normally included.
1999-08-18 20:00:27 +00:00
nisimura
3708c0dfd6
- Replace three splx() calls with _splset(). splx() should not be
...
considered the equivalent of 'set processor register'.
1999-08-18 04:43:31 +00:00
chs
bb0c381fb9
two changes to prevent the kernel's pmap from being locked recursively
...
via interrupts:
(1) pmap_map_ptes() and pmap_unmap_ptes() don't need to do anything to
map the kernel's pmap, since all pmaps contain the kernel's PTPs.
this fixes interrupt-context calls to pmap_extract().
(2) pmap_kenter_*() and pmap_kremove() no longer adjust the kernel pmap's
resident and wired counters.
1999-08-18 03:59:36 +00:00
drochner
57882d3779
oops - there got something into the last commit which shouldn't
1999-08-17 21:31:57 +00:00
drochner
fcf48304c2
add some v1.2 bits, comment out the APM_IOC_DEV_CTL ioctl which I didn't
...
find a use for
1999-08-17 19:05:53 +00:00
drochner
e0444db55a
-let the driver identify itself as v1.2 for the BIOS, recognize the
...
added APM event type and print out some more info if APMDEBUG
-separate segment lenghts of 16-bit and 32-bit code cleanly
-minor fixes in segment lenght calculation
1999-08-17 19:04:24 +00:00
drochner
601f4102cc
add a flag to control use of APMv1.2
1999-08-17 18:58:49 +00:00
thorpej
0f7db9c21c
Now that we have read/write spin locks, use them for the pmap_main_lock.
1999-08-17 18:48:22 +00:00
drochner
58cde1da1e
add rl* at pci? (Realtek Ethernet)
1999-08-17 17:48:38 +00:00
dbj
383544139f
remove some debugging hacks that were no longer being used.
1999-08-17 05:09:13 +00:00
dbj
ab21be8e3c
implement _bus_dmamap_load_raw_direct
1999-08-17 05:07:59 +00:00
mark
35b63730ff
Fix typo.
1999-08-17 01:39:09 +00:00
augustss
db574ba708
Add umodem device.
1999-08-16 22:27:08 +00:00
is
f0e0b02d7c
Add a quick and dirty FBIOGVIDEO implementation. This is hardware independent,
...
by saving the last written FIOSVIDEO/GRFIOCBLANK value into a shadow variable
in the grf_softc and returning this value on FBIOGVIDEO.
The presence of this ioctl is needed by screenblank(8) nowadays.
Original problem reported by Lars Hecking on the port-amiga mailing list.
1999-08-16 19:55:27 +00:00
simonb
17f87d3816
Print out the module number that causes the ECC error.
1999-08-16 13:13:00 +00:00
simonb
1eda4ea610
Remove bogus CSR #defines and replace with known ones.
1999-08-16 13:12:41 +00:00
simonb
7e9978db4e
Neaten up #defines for the CSR.
...
XXX: Still not sure if some of these are right.
1999-08-16 13:12:17 +00:00
simonb
259ba92fef
Pass (csr & KN0x_CSR_BNK32M) to dec_mtasic_err() so that it knows what
...
size individual memory modules are.
1999-08-16 13:11:45 +00:00
simonb
120f2d5c70
Remove board-specific CSR definitions.
1999-08-16 13:10:52 +00:00
nisimura
44861c8d16
- Fix a severe bug I introduced May 7th. MIPS kernel ran for long time
...
in kernel mode after master interrupt (MIPS_SR_INT_IE) disabled. Tons
of appreciation for Noriyuki Soda and Masanari Tsubai for almost full
time help to spot of the issue.
1999-08-16 07:53:18 +00:00
tsubai
775199a39f
Make configurable without ams.
1999-08-16 06:28:09 +00:00
thorpej
95755c54bb
Pull in <machine/alpha_cpu.h>.
1999-08-16 06:24:07 +00:00
simonb
299578ebd5
Spell "privilege" correctly (correct spelling from Jonathan Stone).
1999-08-16 02:59:22 +00:00
thorpej
f06d918d30
Protect userland from the vast majority of this file.
1999-08-15 18:32:51 +00:00
tsubai
be72fab2f7
My last change was wrong. Revert.
1999-08-15 12:47:15 +00:00
augustss
c97c41e5c8
Add opl* at wss?
1999-08-14 21:20:45 +00:00
leo
d7601eb1b1
Correct the argument order for memcpy(). This tremendously improves the
...
behaviour of wscons.... (Why did history create both bcopy & memcpy?)
1999-08-14 20:48:33 +00:00
ragge
7638e3fbe3
Add boot support for the VAX 3300/3400 LANCE chip.
1999-08-14 19:41:14 +00:00
ragge
b906b753ad
Support for ibus-attached LANCE.
1999-08-14 18:44:00 +00:00
ragge
33baeca394
Search for LANCE.
1999-08-14 18:42:46 +00:00
ragge
9752aa250e
Support interrupt vector auto-detection on level-trigged devices also.
1999-08-14 18:42:17 +00:00
ragge
962bc94a90
Support for on-board LANCE on MicroVAX 3300/3400. Also use MI LANCE
...
code for VAXstations again; though not functioning correctly on all
types of machines. (Will fix that later).
1999-08-14 18:40:23 +00:00
ragge
6535fd2313
Erroneous checking of return value from bounds_check_with_label().
...
Massbus disks should work now.
1999-08-14 11:33:09 +00:00
ragge
eab2e881a5
Fix UBA IO space scan addresses; was searching at the wrong place.
1999-08-14 11:31:48 +00:00
ragge
650524ed75
Fix CMI probe bug on VAX 11/750. Prettify CPU printout.
1999-08-14 11:30:48 +00:00
ross
4ed22602e7
In pmap_page_protect(), don't (try to) use the pv_entry_t we just
...
freed in order to find the pmap to unlock.
1999-08-14 06:19:49 +00:00
bad
9e8bff3633
Another sacrifice to appease egcs: wrap "if .. if .. else" in braces.
1999-08-13 11:40:46 +00:00
ad
8974edc06c
The 8bpp PROM console uses index 0 as black, 255 as white. Update ri_devcmap
...
to cater. Partially addresses PR port-sparc/8121.
1999-08-13 09:59:47 +00:00
simonb
4be158521b
Put original contents of the TURBOchannel bus-cycle counter clkread()
...
from an old version of machdep.c into kn03_clkread(). Fixes problems
with wild CPU time usage noted on port-pmax.
1999-08-13 06:21:39 +00:00
ragge
33bc1af047
PGOFSET should be VAX_PGOFSET.
...
Remove two unused prototypes.
1999-08-12 20:23:49 +00:00
bouyer
3c4909c449
Add wi* at pcmcia, wawelan adapters can be used for installs.
1999-08-12 15:32:24 +00:00
thorpej
ba76e54050
Use C-style comments.
1999-08-12 10:46:33 +00:00
matt
74ed5b7f0f
Add <machine/apmvar.h> for sparc so that apmd can be built. Eventually
...
this allow it work on Tadpole SPARCbook 3 laptops (and/or other sparc
with power management).
1999-08-11 02:00:09 +00:00
matt
4efe97d08f
remove some more devices that are not the tadpole.
...
add the tctrl device (which controls the tadpole microcontroller).
1999-08-11 01:46:25 +00:00
matt
ec55b51b3a
do a little colormap manipulation. use the tft power hooks in tctrl
1999-08-11 01:41:06 +00:00
matt
385ed7074b
This now works properly and uses interrupts. If you close the lid, the
...
screen will turn off and when you open the lid screen turns on. If you
do too rapidly, the driver won't be notified but you can press the micro
switch and it will come back. Also "halt -p" now works so you don't
have to do Pause-P to powerdown.
1999-08-11 00:46:06 +00:00
thorpej
6be04b7f5c
Move cpu_info and related info into <machine/cpu.h>, and implement the
...
other MP API components discussed on tech-smp.
1999-08-10 23:35:43 +00:00
thorpej
28fb7c1eb8
Define cpu_number() as discussed on tech-smp.
1999-08-10 21:08:05 +00:00
thorpej
b701be7c86
Use atomic operations to manipulate the SSIR, and fix a problem introduced
...
with the spllowersoftclock() changes where more interrupts than necessary
were blocked while software interrupts were being processed.
1999-08-10 18:53:03 +00:00
christos
4f5d78ae59
s/(sbus | obio)/sbus for the sbus attachments. These were vestiges from
...
the old code.
1999-08-10 12:50:35 +00:00
fvdl
d04fb757d6
Correct comment about family 6 not being available from AMD, since that's
...
no longer true.
1999-08-10 12:16:13 +00:00
fvdl
fbcdd32245
Recognize K7^WAthlon
1999-08-10 12:00:50 +00:00
christos
be4c7c3513
split bwtwo driver in obio and sbus parts
1999-08-10 05:04:08 +00:00
christos
072b17778f
split bwtwo driver in sbus and obio parts.
1999-08-10 04:56:30 +00:00
matt
ede200e1ab
Add a driver for the Tadpole SPARCbook microcontroller. It doesn't
...
do much yet (except for power down support). As sson as I figure
out to get its interrupts enabled, it will be much more functional.
(e.g., print console messages on low power warnings, be able to turn
off the TFT, etc.).
1999-08-09 18:39:58 +00:00
matt
84e306ed83
Tadpoles don't use the standard sun4m power down hardware. So add
...
support for doing it the Tadpole way.
1999-08-09 18:35:58 +00:00
matt
1b0bd3757f
add entries for the tadpole microcontroller (tctrl) and the
...
tadpole pcmcia controller (tpcic). Drivers for the former will
show up today, and the latter later this week or next weekend.
1999-08-09 18:34:43 +00:00
bouyer
385f47fe73
Add wi at pcmcia.
1999-08-09 18:13:26 +00:00
christos
26297cb6e9
PR/8178:Julian Coleman: sparc kernel will not build with cgtwo/cgsix but
...
without sbus. Remove call to cgsix-sbus-attach (impossible code). Make
routines static (they were declared static, but not defined static and
some compilers can complain).
1999-08-09 12:16:10 +00:00
ragge
1008019f62
Detect "ze" as root device.
1999-08-08 16:33:13 +00:00
ragge
80c17df099
Give numeric machine checks, instead of incorrect strings.
1999-08-08 11:47:54 +00:00
ragge
2785184329
Tell if we get stray interrupts, if cold == 0.
1999-08-08 11:46:30 +00:00
ragge
f2e960f907
Add support for the SGEC.
1999-08-08 11:45:01 +00:00
ross
70fad30289
In the kludges-on-top-of-kludges dept, print SWITCHING TO SERIAL CONSOLE
...
(but iff we started on the framebuffer) so the would-be installer doesn't
think everything just locked up.
1999-08-08 01:44:57 +00:00
ross
c85f77e109
ifndef NEW_SCC_DRIVER, tell sccattach() if we are on a fb or serial cons
1999-08-08 01:40:20 +00:00
ragge
3766555455
Reset the interface when loading is finished, to avoid spurious writing
...
to memory.
1999-08-07 18:30:36 +00:00
drochner
f6f48ed7e7
clean up error handling in TC graphics console attachment: all functions
...
return 0 on success and an errno on failure
1999-08-07 12:58:27 +00:00
ragge
ae5dbfbe84
BI bus files has moved.
1999-08-07 11:19:04 +00:00
ragge
bc163ccc30
Clean up all bus handling stuff, it has become a mess the latest years.
...
Add a new bus; "ibus" that is the internal MicroVAX bus.
1999-08-07 10:36:43 +00:00
thorpej
333c98b6e2
Add the AdvanSys SCSI boards.
1999-08-07 07:40:40 +00:00
ragge
a7361f3acf
Moved to dz_ibus.c,v
1999-08-06 18:58:28 +00:00
ragge
c7d47daa04
Moved from dz_vsbus.c,v
1999-08-06 18:58:27 +00:00
leo
54f2532106
Change the way that bit's are cleared in the InterruptPending register of
...
the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the
previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that
caused a race condition to happen when an interrupt arrived between the
Read and Modify-Write.
Anyway, this solved my hanging keyboard problem.
1999-08-06 08:27:30 +00:00
thorpej
1c0e017cff
Change spl calls to always raise priority, except for the ones which are
...
specifically supposed to lower it.
1999-08-05 21:16:55 +00:00
thorpej
d936f02b0b
Implement priority raising, and use it as appropriate.
1999-08-05 18:48:55 +00:00
thorpej
37554502cf
Correct a comment.
1999-08-05 18:31:06 +00:00
thorpej
2ff657adb8
Fix the raise/lower semantics of splsoftclock()/spllowersoftclock().
1999-08-05 18:28:01 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
minoura
e89db1c459
Make use of _C_LABEL and other macros in m68k/asm.h.
1999-08-05 15:58:17 +00:00
jdolecek
d61380b6b4
mark file system NTFS as experimental
1999-08-05 15:52:11 +00:00
jdolecek
836c862c38
add file-system NTFS, commented out and marked as experimental
1999-08-05 15:51:36 +00:00
minoura
74431c5ae2
IPv6 options from GENERIC.v6.
1999-08-05 15:05:56 +00:00
minoura
e0a8602baf
Install kernel should not require COMPAT_14.
1999-08-05 15:05:11 +00:00
minoura
e684a9ad5b
Sync.
1999-08-05 15:04:38 +00:00
minoura
4901b4afde
Use of pointer to register variables.
1999-08-05 14:57:38 +00:00
briggs
3988bc1c06
Deal with the fact that ipls (specifically mac68k_clockipl) are now in an array.
1999-08-05 12:35:55 +00:00
briggs
4292c9d32b
Define MAC68K_CLOCK_IPL.
1999-08-05 12:34:49 +00:00
dbj
18221f52fc
changed dma segment field "ds_read_len" to "ds_xfer_len" since it is valid for
...
either read or write transfers.
1999-08-05 01:50:59 +00:00
tsubai
d633663ab8
Add mediabay.
1999-08-05 00:31:01 +00:00
ragge
128cc8e9b2
For now; don't include the devices that are not yet converted.
1999-08-04 19:15:56 +00:00
ragge
2661ddc378
smg/lkc must have "qfont".
1999-08-04 19:15:11 +00:00
ragge
bebf926694
Adopt to new BI bus design.
1999-08-04 19:11:01 +00:00
ragge
fe04287ec0
Moved to dev/bi.
1999-08-04 19:09:46 +00:00
thorpej
654051453f
Use an array for PSL values, rather than individual shortwords, like
...
the hp300 port.
1999-08-04 16:01:47 +00:00
thorpej
51fe928d5e
Slight cleanup; do all of the spl*()s with imask[].
1999-08-04 15:54:28 +00:00
dbj
dddabc6fbd
sync with mvme68k/mvme68k/trap.c:1.32
1999-08-04 07:18:21 +00:00
nisimura
cb6ed03a59
- Replace device node names of zskbd/zsms into lkkbd/vsms, respectively.
...
No functionality was changed at this moment.
- Apply recent changes in GENERIC to TCWSCONS.
1999-08-04 07:17:50 +00:00
dbj
677f2cf93d
fixed prototype of allocate_sir()
1999-08-04 07:14:13 +00:00
dbj
dd097da50a
remove setting of WSDISPLAY_DEFAULTSCREENS
1999-08-04 06:49:50 +00:00
is
6dee6d1d3f
In classic Amigae, physical address zero is perfectly reasonable (it is the
...
base of the Chipmem). With the new pmap_extract, we distinguish this from
an invalid kernel mapping. Don't confuse the reader with the old panic
message.
1999-08-03 21:54:50 +00:00
is
a1d4b83a5e
Fix typo in the last change, which resulted in invalid global pmap structures,
...
leading to a spectacular panic when the first address is entered into a
pmap the normal way. The problem was reported by Adam Ciarcinski.
1999-08-03 21:50:18 +00:00
ragge
0b6c232028
BI bus has become MI now.
1999-08-03 19:56:21 +00:00
ragge
43bbc0f5c7
Protect against multiple includes.
1999-08-03 19:53:23 +00:00
drochner
29a8d333b6
put biosdiskclose() inside LIBSA_NO_FS_CLOSE
1999-08-03 19:46:22 +00:00
ragge
901fb270ef
Add a "generic" struct for dma without anything fancy.
1999-08-03 19:45:47 +00:00
dbj
97278e1db2
fix prototypes and quiet compiler warnings on next68k
1999-08-03 10:52:06 +00:00
dbj
29ed3cd11b
added define for %b bitfield labels
1999-08-03 10:03:22 +00:00
dbj
705311bcee
resync bus_dma functions with current alpha versions.
...
added a field to a dma segment to return the actual length of that segment that
was successfully transferred.
1999-08-03 09:16:00 +00:00
dbj
34fbdba354
defopt SERCONSOLE
1999-08-03 09:02:10 +00:00
tsubai
4eb4de3592
Make ``boot kernelname'' work on OF-3.x too.
1999-08-03 07:08:36 +00:00
dbj
9eb133fc08
removed unused variable.
1999-08-03 06:55:21 +00:00
nisimura
50eca69f4e
- A minimal patch work to make TCWSCONS useful with sfb/zskbd.
1999-08-03 05:30:56 +00:00
thorpej
35730a15fe
Add the "sip" driver (SiS 900 Ethernet).
1999-08-03 03:23:28 +00:00
matt
42c15639e0
Remove the false positive on the probe of the built-in modem
...
on tadpoles by calling comprobe1 to see if the modem is really
there.
1999-08-03 00:32:33 +00:00
matt
864afe0bc7
Add video blanking support. It does not power-down the TFT
...
since that requires talking to the H8 microcontroller and
that support is not yet done.
1999-08-02 20:36:57 +00:00
matt
016599a30b
Colormaps now work. Besides a small fencepost error, the real problem
...
is that the Tadpole 3GX tech-ref-man was WRONG. The RAMDAC registers
at at 4 byte offsets, not 8. Once that was discovered, all the code
just worked.
1999-08-02 18:00:21 +00:00
augustss
dd3788e008
Alphabetize.
1999-08-02 17:44:59 +00:00
augustss
42fb510148
Move the mpu device declaration to conf/files.
...
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
ad
233d3887c1
In pm_screen(), return 0 if fballoc() fails, not 1.
1999-08-02 12:52:27 +00:00
mrg
39a5b02150
if there are no FB devices, tc_consprobeslot() fails always.
1999-08-02 12:01:46 +00:00
darrenr
01f3c66113
merge patch from PR#6279 as suggested some time ago.
1999-08-02 08:34:50 +00:00
thorpej
868dfcb228
Store computed PSL values in an array indexed by abstract interrupt
...
level, rather than individual shortwords.
1999-08-01 21:50:17 +00:00
thorpej
6489500f0a
Make sure the branch target of the delay loop is aligned to a cache
...
half-line (8-byte) boundary. Inspired by a discussion w/ Scott Reynolds.
1999-08-01 21:43:04 +00:00
thorpej
d721481d50
Make sure the branch target of the delay loop is aligned to a cache
...
half-line (8-byte) boundary. Inspired by a discussion w/ Scott Reynolds.
1999-08-01 21:32:17 +00:00
thorpej
22d6c3f13b
Fix APCI console initialization; we were forgetting to update cn_tab.
...
From Christoph Badura.
1999-08-01 21:30:21 +00:00
thorpej
9c48987e94
Ooops, add a missing break.
1999-08-01 18:17:26 +00:00
augustss
694384f946
Add the MPU 401 ISA attachment.
1999-08-01 18:16:35 +00:00
ragge
8f9615d62c
A bunch of changes:
...
- Free pte pages not in use anymore.
- Inline pmap_extract().
- Fix annoying page reference/modify bug. Fixes PR#7858 & PR#7859.
1999-08-01 13:48:06 +00:00
ragge
870769b516
Cpu_swapin() only need to set red zone now.
1999-08-01 12:07:31 +00:00
thorpej
a843b027bd
Sync w/ the i386 port. Fixes some bugs in the conventional interrupt
...
heirarchy. Reviewed by sakamoto@netbsd.org .
1999-08-01 07:52:22 +00:00
matt
d8f4dbb171
fix a few mmap bugs. pretend to be a cg3 and implement a hack
...
to fack the Xsun server to believe that the p9100's framebuffer
is really a cg3's. So if only colormaps worked, X would be able
to run.
1999-08-01 06:27:00 +00:00
matt
4b814be9cf
Initial stab at a P9100 console FB driver for the Tadpole 3GX.
...
It supports RASTERCONSOLE only and the colormap support is
broken (the hardware doesn't seem to be doing what the tech.
docs. say it should be doing). But it is usable as a console
(but with blue on white as the only color choice). I figured
I'd check it in since it is somewhat usable and someone else
might figure what I screwed up in the color map support.
1999-08-01 00:23:48 +00:00
sommerfeld
d6fd753892
Let arm32 kernels build after addition of wsmux.
1999-07-31 23:12:20 +00:00
thorpej
749eee308d
If building without ITECONSOLE, don't install our own NMI handler. Just
...
leave the ROM's NMI handler in place.
1999-07-31 21:49:03 +00:00
thorpej
f4da661b4a
Nuke the DCA check. ACPI can only be console on a 425e.
1999-07-31 21:17:08 +00:00
thorpej
c870d5243c
Skip "serial 1" on non-425e models. It's mapped to DCA at 9 on every
...
other 4xx model, and the "not configured" could be pretty annoying.
1999-07-31 21:15:20 +00:00
thorpej
e1f99936c8
Nuke apcicheckdca(). Since "serial 1" only exists as an APCI serial
...
port on the 425e, key off that instead.
1999-07-31 21:14:36 +00:00
thorpej
232492c350
Oops, forgot to add MMUID_385.
1999-07-31 20:50:48 +00:00
thorpej
5ab8857d4e
Add HP385.
1999-07-31 20:19:31 +00:00
thorpej
f7b10e4c9f
defopt HP385.
1999-07-31 19:56:48 +00:00
thorpej
72fa12a41c
Oops, forgot the HP_385 case in identifycpu().
1999-07-31 19:52:35 +00:00
thorpej
ca091a5e33
Fix oversight in last.
1999-07-31 17:20:22 +00:00
thorpej
7d1889a8bd
Identify the 385 and 425e. Partially from OpenBSD.
1999-07-31 01:26:04 +00:00
thorpej
7c21482563
Add 385 and 425e SPU detection. From OpenBSD.
1999-07-31 00:45:28 +00:00
thorpej
834772047c
Add MMUIDs for the 385 and 425e, and a machine ID for the 385. From OpenBSD.
1999-07-31 00:28:20 +00:00
matt
d4b9056054
Add preliminary support for the built-in modem on Tadpole 3GX/S
...
laptops. There is currently something wrong with the interrupt
code but it does attach and sense a 16550a. (anyways the built
in modem is only a 14.4Kb and you'd really want to use a PCMCIA
modem to get faster dialup rates).
1999-07-30 23:58:25 +00:00
matt
8c0f3c5a5f
Add config file specificially for Tadpole 3GX/3GS laptops.
...
It save ~800KB over the standard GENERIC config file.
1999-07-30 23:55:43 +00:00
ross
02140cb46f
Fix the 16-bytes-of-death bug by generating specific-EOI cycles during
...
sio_intr_setup().
1999-07-30 20:33:43 +00:00
thorpej
d7bf3732b0
The new rasops stuff is a LOT faster; turn on rasterconsole on the cgsix.
1999-07-30 18:11:38 +00:00
mycroft
1880910b3a
Sync with GENERIC.
1999-07-30 02:35:18 +00:00
augustss
f641c4b3b6
Make two wsmux pseudo devices and add mux locators.
1999-07-29 19:36:58 +00:00