soren
875bff0962
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
...
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
soren
6a76b36417
Use regular read/writes for stream variant calls.
2001-12-15 12:39:55 +00:00
wdk
505a7027b6
Revert back to invalidating cache during BUS_DMASYNC_POSTREAD instead of
...
during BUS_DMASYNC_PREREAD.
Fixes problem where SCSI bus probe didn't read meaningful identity data.
Technically there should be no difference between invalidating before or
after the DMA, but for reasons known only to the R3000 this fixes the
problem. Some thought needs to be given to whether there is a performace
difference between these two cases.
2001-12-15 11:33:13 +00:00
wdk
c49454c890
Declare KGDB hook functions.
2001-12-15 11:17:03 +00:00
wdk
b697919ea7
Add bus_dmamap_sync for pre-read and pre-write case. This was previously
...
left out as it was a no-op on the R3000 processor. However, recent changes
to the Mips cache ops highlighted we should DTRT in case the MI/MD layer
choses to invalidate the cache ahead of the DMA instead of after it.
2001-12-15 11:11:49 +00:00
chs
ae5b4093b5
when counting PTEs, look at all the segments in a region, not just the first.
2001-12-15 09:00:50 +00:00
thorpej
f77397d481
Use __sh__ instead of __sh3__.
2001-12-14 23:30:02 +00:00
briggs
ea6ecf9933
Match MPC107, too.
2001-12-14 22:42:01 +00:00
briggs
b7409e5213
Re-enable wscons stuff. Add rtk* as it's now confirmed to work on sandpoint.
2001-12-14 22:41:33 +00:00
christos
878eb1362a
PR/14946: Rafal Boni: Make this work again.
...
Notes:
- I added bsd.obj.mk and made it work with objdirs.
- I added an entry point to the linker to fix a warning.
- I made the backup of biostramp.inc silent.
- I added missing clean targets.
This needs to be tested further.
2001-12-14 20:32:23 +00:00
christos
d259e61055
Fix warnings about register prefixes caused by the new toolchain.
2001-12-14 20:30:10 +00:00
augustss
aa71c52956
Uncomment uirda since it woks now.
2001-12-14 16:24:52 +00:00
gmcgarry
25be1c42e2
Arrange in correct order.
2001-12-14 08:39:11 +00:00
gmcgarry
9370d5d4ef
Update hardware drivers with console attachments to the new console
...
attachment interface.
2001-12-14 08:34:27 +00:00
gmcgarry
8038726863
Update the console attach interface now that bus_space is available.
...
Basically means that hardware drivers with console attachments are
now largely machine independent.
2001-12-14 08:29:24 +00:00
gmcgarry
8883bd8ba3
Make the ite interface look a little more like wscons. This is done
...
by allowing the hardware drivers to register keyboard and display
support with the ite framework. Removes the dependence on the hil
keyboard and should make support for dnkbd easier.
An interim fix until wscons arrives.
2001-12-14 08:25:40 +00:00
gmcgarry
eed7e1f9a3
include Makefile.buildboot before testing for RELEASEDIR
2001-12-14 07:36:32 +00:00
gmcgarry
5b666cb353
Bump version: Default to BOOTP network boot
2001-12-14 06:08:35 +00:00
chs
5e3151bdf5
make this compile with DEBUG.
2001-12-14 06:06:26 +00:00
gmcgarry
64e7130584
Use bootp, to match the recent change to the bootblocks.
2001-12-14 05:56:59 +00:00
gmcgarry
bdd225baa1
Add a blurb to the top of all GENERIC files. This serves three purposes:
...
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
tv
816077b47e
Fix problem introduced with the MKMAN->NOMAN conversion.
2001-12-13 22:33:20 +00:00
chs
2dfd15933e
change the reference-counting of PT pages to start from zero instead of
...
one, so that we don't mess up the global count of wired pages by having
the page's wire_count be non-zero when we free the page.
pointed out by Michael Hitch.
2001-12-13 04:39:50 +00:00
petrov
aaee6a1839
initialize all fpu registers and don't panic on user 'privileged action'
2001-12-12 19:14:47 +00:00
augustss
a7d99a83b1
Add (commented out) uirda.
2001-12-12 15:32:13 +00:00
lukem
b0b0a32ad7
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
...
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
kleink
e1f611fa76
The MPC105 does not implement the IBM reference implementation's
...
Equipment Present Register (I/O port 0x080c), so perform L2 cache
detection here.
2001-12-12 10:18:48 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
aymeric
48de85e04b
add support for OBP 3.x as seen on some JavaStation 1's
2001-12-11 21:09:52 +00:00
kleink
b52ac962b3
Add pci device.
2001-12-11 21:02:42 +00:00
kleink
a5abbc5b66
Add wsfont pseudo-device.
2001-12-11 20:49:18 +00:00
ragge
c7bae7c419
Add forgotten "hdc" and "rd" disks.
2001-12-11 15:14:25 +00:00
briggs
41f0fe2808
Make it possible to build a kernel that actually compiles and runs on a shark.
2001-12-11 06:00:16 +00:00
uwe
9a2a6c77e8
tabify
2001-12-11 05:54:56 +00:00
shin
13c66a24fe
compilation fix.
2001-12-11 05:43:11 +00:00
briggs
caf1c0abc7
include <arm/...> cousin
2001-12-11 04:50:51 +00:00
shin
7806543ebf
SPEC_PLATFORM is 'defparam' (requires value).
2001-12-11 04:46:39 +00:00
uwe
e51c17a95f
enable pci bus device. (hi matt!)
...
fix a whitespace nit while I'm here.
2001-12-11 04:29:26 +00:00
uwe
a2b05223ee
Add microSPARC-IIep support.
2001-12-11 04:25:58 +00:00
uwe
6767457cab
Add microSPARC-IIep support. Move sun4m bootstrap into separate
...
functions (for normal 4m and for IIep).
2001-12-11 04:21:39 +00:00
uwe
0a2b7fe7d7
Add microSPARC-IIep support. Protect mostek clock code with NMK48TXX
...
so that this file doesn't require obio, iommu and sbus to link the kernel.
Make todr_handle and establish_hostid() non-static.
2001-12-11 04:17:48 +00:00
uwe
d5a5296209
Implement microSPARC-IIep versions of sparc_interrupt4m, raise and microtime.
2001-12-11 03:46:59 +00:00
uwe
2d4ea9ba63
Add constants for microSPARC-IIep registers.
2001-12-11 03:43:22 +00:00
uwe
4924c0ae30
On ms-IIep kernel runs with PCI endian swapping turned on but we need
...
to turn it off before we pass control to PROM's repl as it expects
PCIC to be in little endian mode and would hang otherwise.
2001-12-11 03:35:02 +00:00
uwe
ee71ea68bc
microSPARC-IIep is a sun4m but with an integrated PCI controller.
...
In a lot of places (like pmap &c) we want it to be treated as SUN4M.
But since various low-level things are done very differently from
normal sparcs (and since for now it requires a relocated kernel
anyway), the MSIIEP kernels are not supposed to support any other
system. So when MSIIEP is defined - insist on SUN4M defined and SUN4
and SUN4C not defined.
2001-12-11 03:28:38 +00:00
uwe
814a815542
Export msiiep_swap_endian(onoff) from msiiep.c to turn on/off
...
automagic endian swapping performed by PCI controller. Need it in
several places where we want to enter PROM repl.
2001-12-11 03:24:46 +00:00
chris
80e667c6ab
Add clockctl device.
...
Note that someone needs to tidy this up, we've got 92 block devices, which just ain't true. Also appears we're actually missing some, eg the ld block device.
2001-12-11 00:34:50 +00:00
uwe
78eadd17b7
Attachment for MI com(4) driver at ebus.
2001-12-11 00:31:08 +00:00
uwe
81f0e10ca5
rtc (ds1287a) time of day clock at ebus.
2001-12-11 00:29:21 +00:00
uwe
255d046f95
EBus support for ms-IIep.
2001-12-11 00:25:31 +00:00