Commit Graph

23123 Commits

Author SHA1 Message Date
thorpej
69a6fe113c Garbage-collect CHIP_PHYSADDR(). 2000-06-26 19:46:24 +00:00
pk
7d89e9904d We want prom_claim_phys() to return the address passed into it. 2000-06-26 19:45:54 +00:00
pk
9b1e1aeb66 prom_claim_phys: it appears one result argument too many was specified.
Now we can return the actual result of the call rather than merely
reflecting the input.
2000-06-26 19:41:20 +00:00
pk
ff54ba628e prom_claim_phys: set `align' parameter to 0 (meaning: get the chunk at the
specified address).
2000-06-26 19:36:07 +00:00
thorpej
cc9dfe871b Do the previously slightly differently, to avoid confusing the internal
space extent maps.  Pointed out by msaitoh@netbsd.org.  (Someone should
send me an EV6 machine!)
2000-06-26 18:19:26 +00:00
kleink
e695f72a2e Add <machine/int_types.h>, which provides namespace-pure definitions
of exact-width integer types.
2000-06-26 15:42:16 +00:00
eeh
7e7c0311e4 Advertise we have __GENERIC_SOFT_INTERRUPTS. 2000-06-26 15:13:26 +00:00
mrg
4c698e84f6 <vm/vm_param.h> -> <uvm/uvm_param.h> 2000-06-26 14:58:58 +00:00
mrg
89d0a3e519 remove redundant vm includes. 2000-06-26 14:38:50 +00:00
mrg
2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
pk
51a2c92940 The `sw' driver should not use vme bus routines. 2000-06-26 09:50:00 +00:00
simonb
889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
nisimura
472221aa39 Abandon {mips1,mips3}_TBRPL() which have little gain than TLBUpdate(). 2000-06-26 03:05:04 +00:00
nisimura
074a952030 Abandon {mips1,mips3}_TBRPL()s which have little gain. They were
expected to be better than MachTLBUpdate(). After all, TLBUpdate()
is rather harmful and should be replaced with TBIS().
2000-06-26 02:55:45 +00:00
thorpej
9a2d9ff68b Because of the Cool sign-extension hack we use to access PCI space,
the `get window' method ends up with the wrong physical address to
pass onto userspace (which wants to mmap the space).

Compensate by adding a CHIP_PHYSADDR() macro which un-hacks the address
suitably for mapping with other-than-KSEG.
2000-06-26 02:42:10 +00:00
enami
506c4945d8 Fix typo in previous to prevent compilation error when DEC_1000 isn't
configured.
2000-06-26 02:42:04 +00:00
wrstuden
491d7e6764 Fix logic bug which would keep PPS from working. Noticed by:
Charles Carvalho <carvalho@cisco.com>
2000-06-25 20:55:33 +00:00
thorpej
a2318e49a0 G/c unused include. 2000-06-25 19:33:01 +00:00
thorpej
167094d31a Implement mcpcia_bus_get_window(). 2000-06-25 19:32:19 +00:00
thorpej
865004842f Implement tsp_bus_get_window(). 2000-06-25 19:17:39 +00:00
ragge
7781fd263e Detect "rd" as root device. 2000-06-25 18:27:24 +00:00
thorpej
9f7689e3c9 For systems which have different systypes but share a common
support module, make consistent with other systems which options
you must enable for it to work.  Treat ``Lynx'' (2100A_A500) like
``Sable'' (2100_A500).
2000-06-25 17:21:55 +00:00
scw
ab30216ea2 Some tweaks to make things work properly with `dependall'. 2000-06-25 16:39:05 +00:00
ragge
bd66c9dafc Make the HDC9224 MFM device driver up-to-date; has been not-working
since NetBSD 1.2 (!) It also uses interrupts instead of polling now.
Also fix the DMA area locking between SCSI and MFM disks.
Still missing - floppy support.
2000-06-25 16:00:43 +00:00
mrg
53be5b215c <vm/vm_pageout.h> is already empty; kill it totally. 2000-06-25 13:49:33 +00:00
mrg
f5f84f80c5 <vm/vm_prot.h> becomes <uvm/uvm_prot.h> 2000-06-25 13:37:51 +00:00
mrg
c543a66253 remove some redundant <vm/vm_xxx.h> includes 2000-06-25 13:26:19 +00:00
pk
8b3ad4a667 Use vme_dmamap_create() instead of bus_dmamap_create().
Remove Sun hardware id test from si_match().
2000-06-25 13:09:52 +00:00
pk
560d1ea54c Implement vme_dmamap_create/vme_dmamap_destroy, which allows us to
select the appropriate DVMA subrange for VME devices.
2000-06-25 13:07:34 +00:00
eeh
2e1e35d58e Enable interrupts. 2000-06-24 23:27:23 +00:00
pk
0790f00e68 Maintain the DVMA map extent subregion boundaries in the bus_dma map
structure.
2000-06-24 22:47:45 +00:00
eeh
6c5d2dbbac With these changes the kernel seems almost stable again. 2000-06-24 20:48:36 +00:00
scw
227985dcc0 Make these compile when DIAGNOSTIC isn't defined. 2000-06-24 20:43:14 +00:00
eeh
8e1fd2e3c6 Remove a couple of references to vaddrs.h that slipped through. 2000-06-24 16:51:34 +00:00
mark
3880aa267c Implement bus_space_write_region_4() and bus_space_read_region4()
for footbridge.
2000-06-24 09:42:47 +00:00
eeh
49bf46caf7 Add PROM symbols to 32-bit kernels too. 2000-06-24 04:42:55 +00:00
eeh
85cab8fe27 More VM cleanup:
Move the cpu_info structure above the interrupt stack so it won't
	get corrupted if the stack overflows.

	Flush the D$ before and after all MMU bypass accesses since the
	D$ latches all of those.
2000-06-24 04:38:20 +00:00
eeh
25bb978ba8 Printing out %pc values should now be safe. 2000-06-24 04:26:45 +00:00
eeh
0db2dfd53f Make these interrupt levels reflect reality a bit better. 2000-06-24 04:25:08 +00:00
eeh
cc02c0d142 masterpaddr is gone. 2000-06-24 04:24:10 +00:00
eeh
be308420d4 Get rid of vaddrs.h. 2000-06-24 04:20:58 +00:00
thorpej
7a0a177352 Put sysmon' in the lm' slot, and free the `viaenv' slot. 2000-06-24 00:38:21 +00:00
thorpej
f82e306928 Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI).  Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.
2000-06-24 00:37:19 +00:00
scw
c42886a2b8 Fix the `evcnt' prototypes. 2000-06-23 20:07:49 +00:00
eeh
3bc65c6d9e Use probeget to read kernel data to prevent the machine from falling over if the PC goes bad. 2000-06-23 19:52:57 +00:00
eeh
e9b3925f8b Make probeget() and probeset() really work for a change. 2000-06-23 19:50:54 +00:00
kleink
133ea38323 Add a WEAK_ALIAS() macro. 2000-06-23 12:18:45 +00:00
fvdl
1ee7d22c0b Remove prefix construction for softdeps. Add SOFTDEP option to GENERIC. 2000-06-22 20:27:49 +00:00
eeh
d24721788a Correct calculation of length for dma segments in iommu_dmamap_load(). 2000-06-22 18:18:19 +00:00
minoura
1786183f07 Reduce ramdisk size. 2000-06-22 14:27:07 +00:00
soren
e7d8e5164a Remove extraneous mips1_TBRPL() prototype. 2000-06-22 05:00:48 +00:00
is
30cef4176a - auto-USE_C_BFOPS when !defined(__m68k__)
- for bold characters, only blit the leftmost ftwidth pixels per character
  cell row. The rightmost row which used to be printed would have been
  overwritten formerly by the next character on sequential output, so no
  visible change will result most of the time.
  This fixes two problems:
  * USE_C_BFOPS (which only works for 8 pixel wide fonts) blits the same
    for bold characters now... it used to print the rightmost 8 pixel columns
    of the bold-smeared characters
  * we no longer need a reserved 1 pixel column at the right end of the screen.
    That is, a 640x400 screen will hold 80x50 charactes with the 8x8 font.
2000-06-21 21:28:39 +00:00
matt
1b7636d353 uint32_t -> u_int32_t 2000-06-21 20:41:13 +00:00
soren
78c90ae276 Fix pasto. 2000-06-21 19:39:32 +00:00
nonaka
8f7d8527db - rewrite enable io/mem space code.
(rewriten by Tim Rightnour <garbled@netbsd.org>, thanks!)
 - more fixup pci base address.
2000-06-21 14:09:33 +00:00
pk
6a56e89b7a Enable SUN4_MMU3L (sun4/400 3-level MMU support) 2000-06-21 13:46:43 +00:00
pk
5c1633af0d Fix pastos in bus_space_read_region_*() functions. 2000-06-21 13:41:23 +00:00
matt
15511d1dcc Move COFF_LDPGSZ to ibcs2_machdep.h. Fix nmagic loader to deal with
subpage mappings.
2000-06-21 05:45:15 +00:00
eeh
75eaa6ba70 lda is unsigned, ldswa is signed. Fixes a 32-bit sign extension bug. 2000-06-20 18:06:12 +00:00
pk
2bb919e39a Update entries for VME devices ie[1-4]. 2000-06-20 14:24:24 +00:00
pk
a849fa0158 region_free: use correct index to invalidate a MMU region cookie in a pmap.
Remove work-around in pmap_enter(); the sun4/3-level MMU now works.
2000-06-20 12:04:22 +00:00
soda
7b3141e1fb for DeskStation RPC44 2000-06-20 08:26:52 +00:00
soda
5b55580c01 sys/arch/alpha/isa/isadma_bounce.c, for reference. 2000-06-20 08:25:41 +00:00
tsubai
1d8c57a8e5 Need include <vm/vm.h>. 2000-06-20 08:04:35 +00:00
soda
76baab0725 3rd argument of TBRPL() is not paddr_t but PTE.
XXX - mips3_TBRPL seems to be never called.
2000-06-20 05:54:03 +00:00
matt
5c13e34063 CDROMs can exist on ide buses 2000-06-20 03:48:53 +00:00
soren
d78ff1cd5b Add mips3_write_config(). 2000-06-20 02:57:17 +00:00
soren
6cf4b35f71 s/installboot/installkernel/, so it won't be confused with a real installboot. 2000-06-20 00:24:03 +00:00
eeh
245619bad4 Have separate data and text segments, make text read-only. 2000-06-19 23:30:32 +00:00
eeh
4ffba8be2a Fix uninitialized pointer bug. 2000-06-19 22:29:15 +00:00
pk
c1aec32fc0 Use `pv_pool' in non-wait mode; for now, panic if memory is exhausted. 2000-06-19 21:06:32 +00:00
ragge
e79e5730cc Variable "from" must be in first block read from disk, otherwise it will be
overwritten on non-VMB machines.
2000-06-19 20:05:17 +00:00
is
9172c5b451 P5 board clock decoding. 2000-06-19 19:49:51 +00:00
tsubai
1155f3af58 Allow mmap of frame buffer registers. 2000-06-19 19:35:20 +00:00
simonb
8e0ec9a961 s/ouwl/outl/ in macro definition. 2000-06-19 12:19:38 +00:00
msaitoh
03cf0ea64a clear ORER, FER and PER bit of the SCSSR reg.
(This bits aren't cleared automatically)
2000-06-19 09:32:00 +00:00
msaitoh
4d2677e3a0 clear the ER bit of the SCSSR2 reg.
(This bit isn't cleared automatically)
2000-06-19 09:30:35 +00:00
matt
1293f1b88b Rename ncr[5380] device to si to more consistent with other ports.
Add VAX660 to cputype.h.  Remove needs-flag from si & asc entries.
2000-06-19 04:22:14 +00:00
itohy
39c5d5c7a4 Store return value to a0 before calling CERROR function if __SVR4_ABI__. 2000-06-19 03:43:12 +00:00
itohy
db3aed16df Fix weird macro definitions.
They are internal use only and the typos are no harm, you know. :)
2000-06-19 03:42:31 +00:00
cyber
099ead3895 increase size to allow for dhclient 2000-06-18 23:53:32 +00:00
fvdl
51e81216d1 Rearrange previous slightly to avoid getting values that are too low;
the only goal here is to leave some space for the stack.
2000-06-18 23:03:45 +00:00
scottr
fbafc16812 Revert debug-related bogon that snuck in (no change in functionality). 2000-06-18 22:58:45 +00:00
matt
955a631ce4 We use opt_cputype.h now. 2000-06-18 22:47:19 +00:00
pk
d982283952 vme4_dmamap_[un]load: ensure enough DVMA space is allocated to cover the
buffer and store that amount in the DMA map to avoid re-computation.
Also add a cache flush as the bus_dmamap_sync() don't do that yet.
2000-06-18 19:30:21 +00:00
pk
a29dc4045f Conversion to bus_space*(). 2000-06-18 19:19:53 +00:00
castor
512723f616 Fix integer overflow in calculation of VM_MAX_KERNEL_BUF. 2000-06-18 18:29:04 +00:00
minoura
fa85bf07cd Enable INET6. 2000-06-18 10:30:35 +00:00
mrg
cafc122317 catch up with fpu changes. 2000-06-18 08:13:45 +00:00
mrg
f44ba0a4dc back out part of previous. 2000-06-18 08:13:26 +00:00
mrg
fab0adad15 iommu_flush becomes iommu_strbuf_flush cuz that's what it does. 2000-06-18 07:17:40 +00:00
mrg
70a9c29b9b give BSDB_MAP a value. add a shushing cast. 2000-06-18 07:13:41 +00:00
mrg
b6026e7c35 kill dead code. 2000-06-18 07:12:39 +00:00
mrg
fde87ed5d6 add a (u_long) cast for quietness 2000-06-18 07:10:23 +00:00
mrg
0bd5307bf8 remove an unused variable. 2000-06-18 07:05:09 +00:00
mrg
9105157268 duplicate "file" should only include "compile-with" 2000-06-18 07:03:35 +00:00
mrg
4f9416205c update to reality 2000-06-18 07:02:04 +00:00
mrg
e36a32c98f obsolete these; use the merge sparc version. 2000-06-18 06:58:30 +00:00
mrg
41d83cead7 use arch/sparc/fpu 2000-06-18 06:57:15 +00:00
mrg
feddb7ad96 merge in ultrasparc changes 2000-06-18 06:54:17 +00:00
fvdl
8dde6d4336 Account for the stack when computing the base va. This makes the
bootblocks work again on the 4/110.
2000-06-18 02:25:17 +00:00
tsubai
ce3ea53415 Remove "options NFS_BOOT_BOOTPARAM" to fit 1.4M floppy.
(still have NFS_BOOT_DHCP)
2000-06-17 21:44:46 +00:00
deberg
e7009646cf my development machine 2000-06-17 20:57:12 +00:00
scottr
cee7249423 Since interrupts are now enabled during ADB autoconfig, it's possible to get
a keyboard event before wskbd is attached. Make sure we've done that before
passing an event to kbd_intr(), which in turn hands off to wskbd_input().
This is another part of the fix for PR 10086.
2000-06-17 18:00:47 +00:00
scottr
6f644439a9 Only the first device that we're sure is a keyboard should be attached
as the wskbd console device.  (Part of the fix for PR 10086.)
2000-06-17 17:46:40 +00:00
shin
0e04419b62 for size reduction.
out:
	SCSIVERBOSE
	QUOTA
	ccd

we support CD-ROM drives, so CD9660 is necessary.
in:
	CD9660
2000-06-17 10:53:05 +00:00
soda
d09614e559 reflect reality 2000-06-17 09:18:39 +00:00
soda
5294792417 - vga/pckbc attachment for jazz internal bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
 - TGA console initialization for NEC RISCstation 2250,
   contributed by Shuichiro URATA <ur@a-r.org>
2000-06-17 07:29:06 +00:00
soda
2c9c6b6b06 vga/pckbc attachment for jazz internal bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:28:07 +00:00
soda
49e5e09389 TGA console initialization for NEC RISCstation 2250,
contributed by Shuichiro URATA <ur@a-r.org>
2000-06-17 07:25:57 +00:00
soda
5175a6121b vga/pckbc attachment for jazz internal bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:23:05 +00:00
soda
6f16c304e1 vga/pckbc attachment for Jazz-Internal Bus of Magnum derived machines
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:17:36 +00:00
soda
7c109ba712 fix serious inconsistency against -current isa. 2000-06-17 06:58:35 +00:00
soda
0b46102cb6 mention recent (but before _MIPS_PADDR_T_64BIT and MIPS3_TLB_WIRED_UPAGES
changes) instability on PICA and NEC Image RISCstation.
2000-06-17 06:56:20 +00:00
cgd
942546fe30 cod: any of various bottom-dwelling fishes (family Gadidae, the cod
family) that usually occur in cold marine waters and often have barbels
  and three dorsal fins.
code: a set of instructions for a computer.

The latter is more appropriate in the comment corrected here.
2000-06-17 06:38:25 +00:00
matt
2a744b7dce Remove a blank line at the end. 2000-06-17 06:19:03 +00:00
cgd
79d0534b05 put cache op #defines up at the top of the file, so all cache ops can
use them.  Rename them to match the names in See Mips Run; they're not
as orthogonal as values or'd together might make you think...  Finally,
actually use them for every bloody cache op.
2000-06-17 01:35:28 +00:00
matt
4e6d07206d make printf happy. 2000-06-17 01:05:11 +00:00
matt
ff76991706 Add an installboot. 2000-06-17 01:01:06 +00:00
matt
94956e7869 Adjust this a bit so that the primary entry point is 0x200, not 0x0a. 2000-06-17 01:00:17 +00:00
matt
4343326b78 Add an installboot(8) for vax. This is needed so the VAX can do multiboot
CDroms.
2000-06-17 00:59:24 +00:00
matt
8b48fb7c45 This file now lives is sys/dev/dec. 2000-06-16 23:28:52 +00:00
matt
6868f0a894 Use <dev/dec/dec_boot.h> instead of <machine/dec_boot.h> 2000-06-16 23:27:23 +00:00
matt
1976bfc798 Use <dev/dec/dec_boot.h>. Use *le32* to set boot block info. XXX Needs to
use *le32* to read ELF bootstrap file.
2000-06-16 23:24:30 +00:00
is
84f54d4e80 Define schedstate_percpu. 2000-06-16 21:36:09 +00:00
minoura
238f799ff3 Print newline while attach. 2000-06-16 17:15:54 +00:00
tsubai
96964a6455 Use ether_crc32_le(). 2000-06-16 14:18:55 +00:00
hubertf
80365fb67d Change comment: APM_POWER_PRINT _does_ print stats on the console. 2000-06-16 10:31:03 +00:00
matt
bd160eabec these are obsolete now that vax uses sysinst. 2000-06-16 06:36:45 +00:00
matt
1e3f670589 This file now lives one level down in common. 2000-06-16 06:35:12 +00:00
matt
2aaf9eb5c7 now lives one level down in boot. 2000-06-16 06:33:22 +00:00
soren
05be24734c Correct. 2000-06-16 04:15:39 +00:00
soren
19a36d4e26 Add table of IP number / model name. 2000-06-16 04:06:53 +00:00
thorpej
9424f6fe54 Update with reality. 2000-06-16 03:49:12 +00:00
thorpej
ff36cd64b7 Rearrange the npx driver a little to allow for multiple attachments
and add a pnpbios atttachment for it.
2000-06-16 03:47:24 +00:00
cgd
433fe9077e when printing the cpu_id (because it's unknown or not supported),
print the whole PRID value.  Also, print the PRID value in addition to
the name, when the CPU is known (for data collection purposes).
2000-06-15 23:39:14 +00:00
ragge
53cc7ebe6b Standalone device driver for DEBNx (ni) ethernet controllers. 2000-06-15 19:53:23 +00:00
ragge
8767feaaff Recognize "ni" as boot device. 2000-06-15 19:49:37 +00:00
tsubai
2931ec17b7 Forgot to commit this. 2000-06-15 19:09:15 +00:00
tsubai
736d4273e2 Implement multicast address filter. (Stolen from hme.c) 2000-06-15 18:36:52 +00:00
mrg
f007a974bb turn off softdep for now; we have enough other things to worry about. 2000-06-15 18:23:52 +00:00
abs
573c583527 If any config file here ever deserved NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM, it
would probably be DISKLESS. Make It So. Also retire UNDERWORLD as I'm no
longer at Dreamworks with those delightful old ex-NeXTStep P133s.
2000-06-15 18:16:10 +00:00
mrg
eccc09d9de fix a couple of errors in the previous. from eeh. 2000-06-15 15:51:07 +00:00
pk
98726268ee Remove pointless debugging check. 2000-06-15 14:42:32 +00:00
pk
cc9163a28a Enable DMA interrupts. 2000-06-15 14:27:07 +00:00
mrg
e26f7acd77 my Ultra-1 2000-06-15 13:50:20 +00:00
is
d139625de5 Fix for two bugs discovered by Gunther Nikl:
- missing printf parameter
- error in DraCo detection
2000-06-15 13:43:35 +00:00
mycroft
ba354a1800 Disable pmap_copy() for now. 2000-06-15 13:35:27 +00:00
shin
5ded3d8a81 backout previous change.
cache operation in cpu_fork() is necessary for CPU's which
detect virtual alias by hardware (ex. R4000 with secondary cache).
2000-06-15 13:04:05 +00:00
pk
752b4566c4 bus_dmapmap_create: boundary must be 0, not NBPG. 2000-06-15 12:12:05 +00:00
soren
a9bf75bb59 Use more constants and clean up a bit. 2000-06-14 22:32:20 +00:00
thorpej
839042fb97 Don't have an xi in this machine. 2000-06-14 22:29:03 +00:00
thorpej
01ae72fdf9 Enable uhid. 2000-06-14 22:28:13 +00:00
soren
a8b7b64af8 Remove unnecessary HitFlushCache from cpu_fork(). From Toru Nishimura. 2000-06-14 22:17:59 +00:00
veego
223d7455c7 Remove the obsolete config fragments for kernel crypto, because the IPsec
crypto code is now in the kernel source tree.
2000-06-14 22:02:13 +00:00
soren
1c539dbc3a Remember T-shirt. 2000-06-14 17:57:59 +00:00
soren
f12e2b4dd2 Simple GIO glue. 2000-06-14 16:50:58 +00:00
soren
8da77e0dfb Reenable hard interrupts before processing soft interrupts. 2000-06-14 16:40:58 +00:00
soren
8c4f5e53b2 Include registers. 2000-06-14 16:32:22 +00:00
soren
4a45886c8d A start at O2 support.. 2000-06-14 16:13:53 +00:00
veego
4fc3cd3c3d We don't need my name in this file. 2000-06-14 16:11:24 +00:00
soren
6c3d30d224 Initial commit. 2000-06-14 16:06:57 +00:00
soren
891194e10f Initial commit. Needs work. 2000-06-14 16:02:38 +00:00
soren
aa6a4db574 No real need for explicit stride on Mace ISA extension. 2000-06-14 15:56:21 +00:00
soren
b6609726af Dummy. 2000-06-14 15:51:28 +00:00
soren
9212bf659c XIO device ids. Nothing here yet. 2000-06-14 15:49:07 +00:00
soren
abe9dea12f Initial commit. 2000-06-14 15:39:55 +00:00
soren
ab26c447f4 Initial commit. 2000-06-14 15:32:11 +00:00
jhawk
e4c99458f4 If comprobe1() fails, print a message. Otherwise one gets the xname
prepended to the next configure device, i.e.

com1lpt0: at pnpbios0 index 18 (PNP0401)
2000-06-14 15:15:43 +00:00
thorpej
fe8841f18a Some platforms, like the Sable, hook EISA and ISA interrupts
up Very Differently.  Handle this.
2000-06-13 16:40:37 +00:00
leo
3e4dbe0e25 Throw in a bunch of _C_LABEL macro's. (Hi Klaus ;-) 2000-06-13 14:48:44 +00:00
ad
3553879fc2 Use my proper name. 2000-06-13 13:36:42 +00:00
minoura
d4d1b4cce4 Argument modreg of fpu_decode_ea() is actually an opecode.
That bug prevented awk(1) to work.
2000-06-13 12:28:13 +00:00
tron
447112b869 Add entry for "bba(4)". 2000-06-13 06:15:51 +00:00
matt
0aa592b979 Add a table of calibrations. The MCR_500 one (640x240) makes the MCR_700A
(800x600) almost unusable.  Now the 700A has it's own.
2000-06-13 05:59:55 +00:00
eeh
3517559eb5 Missing paren. 2000-06-13 05:04:05 +00:00
castor
751cd4ffb0 Profiling fixes from Ethan Solomita <ethan@geocast.com>.
Merge Kernel MCOUNT and user MCOUNT.

The earlier code which was inserted to call _mcount in profiling
assembler routines is busted badly.  This gets it working with PIC
code and should work with any arbitrary assembler routine.
2000-06-12 23:42:10 +00:00
matt
58ca6aac15 Add netbsd.alpha & netbsd.alpha.gz for installation cds. 2000-06-12 23:38:03 +00:00
sommerfeld
4a9abf779e Fix this so it compiles again with DEBUG 2000-06-12 23:35:11 +00:00
eeh
fb0404cc75 Start reorganizing the kernel for MULTIPROCESSOR support. 2000-06-12 23:32:46 +00:00
eeh
65bca8bde2 Fix OF_val2sym and OF_sym2val. 2000-06-12 23:26:38 +00:00
eeh
3dfb9ee7ac More debugging support. 2000-06-12 23:20:54 +00:00
eeh
0146a569d2 Comment describing the IOMMU DVMA address space layout. 2000-06-12 23:19:05 +00:00
eeh
cc29e9b22c ebus_ca needs to specify enough memory to hold an ebus_softc, not a struct device. 2000-06-12 22:36:59 +00:00
soda
564faec22a shut up gcc warning: suggest explicit braces to avoid ambiguous `else'
from Izumi TSUTSUI <tsutsui@netbsd.org> and Shuichiro URATA <ur@a-r.org>.
2000-06-12 17:04:52 +00:00
soda
4412ca8455 <machine/cpuregs.h> was removed on March 30,
from Shuichiro URATA <ur@a-r.org>.
2000-06-12 17:01:05 +00:00
ragge
2df63a9cc1 Evil bug: sizeof(struct cpu_info) -> sizeof(struct ka820_softc). 2000-06-12 11:26:26 +00:00
ragge
8ea974e809 Put all cputype definitions in one file instead of separate files.
This was becoming unmaintainable.
2000-06-12 11:13:14 +00:00
mrg
69d1f5db9d clean up cruft. 2000-06-12 05:31:30 +00:00
mrg
fdfb59b4b9 ih_map & ih_clr are volatile. 2000-06-12 05:29:43 +00:00
mrg
9918c00a61 formatting nit. 2000-06-12 05:27:27 +00:00
soren
824923164c Attach to CS4610 with CS4236 codec in, well, CS4236 compatibility mode. 2000-06-12 03:43:54 +00:00
matt
e4a7ab9905 Add latent entry for ochi usb devices on NEC MobilePro 800. 2000-06-11 23:34:31 +00:00
matt
7f40194cbc Make spl0 & spllowersoftclock return void. 2000-06-11 23:33:37 +00:00
matt
0dc4d9cf90 export bus.h 2000-06-11 23:32:55 +00:00
matt
e910b71c73 Comment out asc0 for vs4000/90. remove slip/ppp. 2000-06-11 23:32:10 +00:00
matt
3dfb96fa8f Add local symlink so that machine & vax refer ../../include instead of the
system ones.
2000-06-11 23:30:35 +00:00
matt
232461e6be Add TLP_MATCH_*. Remove gm*. 2000-06-11 23:29:29 +00:00
matt
1881f3c3d2 Make this compilable on other than pmax. 2000-06-11 23:28:38 +00:00
thorpej
75975dd6c5 G/c some unneeded prototypes (functions don't exist). 2000-06-11 22:47:00 +00:00
thorpej
0531d2ddcb jensenio gets isadma_bounce attribute. 2000-06-11 22:45:44 +00:00
thorpej
91ed0189e8 Add Jensen files glue. 2000-06-11 21:25:23 +00:00
thorpej
99079f93c0 Add init glue for the DEC 2000/300 (Jensen). 2000-06-11 21:19:23 +00:00
fredb
1c3835d907 Enable "rnd" pseudo-device. It's no longer experimental, and works just
fine on mac68k.
2000-06-11 18:09:34 +00:00
scottr
50cde82828 Since interrupts are now enabled during ADB autoconfig, it's possible
to get a mouse event before wsmouse is attached. Make sure we've done
that before passing an event to wsmouse_input().
2000-06-11 17:26:47 +00:00
tsubai
1bfa0fc6b6 Add cpu_counter(). 2000-06-11 16:32:42 +00:00
minoura
04dbfaae5b G/C of unused interrupt stubs, and other cleanups. 2000-06-11 14:20:45 +00:00
tsubai
94db0b8a37 Enable DMA transfer on obio IDE. 2000-06-11 10:56:16 +00:00
ragge
11b7c895aa Remove some unneeded code. 2000-06-11 10:40:06 +00:00
ragge
fdc27c43a1 Fix booting from BI-based disks. 2000-06-11 10:39:26 +00:00
tsubai
abc5d88356 Make this compile again. 2000-06-11 10:02:15 +00:00
ragge
e7aefcd7ae Allow printf's from slave CPUs by stealing the v_putc function.
Easier than expected because the printout lock is hold in the higher levels.
2000-06-11 07:50:11 +00:00
mycroft
9884ae5ff6 Remove pcvt tentacles. 2000-06-11 02:41:10 +00:00
mycroft
6e7ce465e9 After almost 5 years, it is now time to decommission pcvt. Bon voyage. 2000-06-11 02:34:23 +00:00
sommerfeld
82b38059d6 Let this build again after the pckbc_cnattach change 2000-06-11 01:59:26 +00:00
augustss
ead295db1b Alphabetize. 2000-06-11 00:21:01 +00:00
eeh
d26027dd5b Only use 32-bit addresses for all accesses that don't bypass the MMU.
Makes SBus work again.
2000-06-10 20:51:43 +00:00
frueauf
3be3d75487 recently findroot() was changed to get no arguments, so remove the
arguments in the findroot() call withing cpu_rootconf().
2000-06-10 19:34:46 +00:00
ragge
b826825917 Code to spin up other CPUs on a VAX 8200 system.
Haven't solved the printf() problem yet, though.
2000-06-10 14:59:38 +00:00
soda
ef22daefd0 move address to resolve conflict with firmware working memory
of NEC RISCstation 2250, from Shuichiro URATA <ur@a-r.org>.
2000-06-10 12:56:45 +00:00
matt
50dff37fd9 fix botch by me. 2000-06-10 05:24:46 +00:00
tsutsui
4c191e1d58 We cannot specify root on md0a because md is pseudo-device.
"options MEMORY_DISK_IS_ROOT" is enough for this.
2000-06-10 04:29:41 +00:00
tsutsui
fca0f6760b Fix printf message on attachment. 2000-06-10 04:15:59 +00:00
soren
9f0da0dd16 Post a SIGFPE rather than SIGILL on floating point exceptions. 2000-06-10 02:43:49 +00:00
scottr
162689f352 We don't need ADB debugging enabled any longer. 2000-06-10 02:33:59 +00:00
tsubai
521233859b Add cy* at pci. 2000-06-09 17:14:06 +00:00
tsubai
dd703bc6f8 Add cy. 2000-06-09 17:11:30 +00:00
wrstuden
3d410a6c74 Add commented-out entry for Cyclades-Z pci serial ports. 2000-06-09 16:57:37 +00:00
wrstuden
a7bea09941 Add support for Cyclades-Z PCI tty's. 2000-06-09 16:56:51 +00:00
thorpej
71cd989b8f Only include <machine/intr.h> if _KERNEL. Noted by enami tsugutomo. 2000-06-09 16:03:04 +00:00
eeh
c69e701de8 Separate COPTS from CFLAGS to fix problems w/unoptimized files, and add
lfs_loop.c to the list that breaks optimization.
2000-06-09 15:28:21 +00:00
scottr
a91ead9a5d From Hauke Fath: clean up disklabel support, particularly for
native NetBSD labels.
2000-06-09 15:27:35 +00:00
kleink
2a258cd5c8 Pull in missing DDB headers. 2000-06-09 14:09:45 +00:00
kleink
4d8e50f1ce Need <sys/syscallargs.h> for declaration of sys_sysarch(). 2000-06-09 14:08:45 +00:00
kleink
bcd7f512f5 Pull in missing headers for declarations, and add missing local function
declarations.
2000-06-09 14:07:13 +00:00
kleink
080f786189 Need <sys/systm.h> for declaration, and make argument declarations match. 2000-06-09 14:05:47 +00:00
kleink
4d6a384b1b Need <sys/ptrace.h> for declarations. 2000-06-09 14:05:04 +00:00
tsutsui
bb4112fd6f - Sync MINIROOTSIZE with etc/disktab.
- Remove ppp. (ramdisk does not have pppd, anyway)
2000-06-09 13:30:42 +00:00
tsutsui
e793d98661 Add (commented out) stf. (sync with GENERIC) 2000-06-09 13:18:14 +00:00
tsutsui
5514958c9c Enable vnd. 2000-06-09 13:16:00 +00:00
tsubai
a29bb9db7b Add all RAM regions to battable.
This should support > 512MB memory.  (untested, though)
2000-06-09 10:54:48 +00:00
pk
f9cf3305c3 No need to cast return value of spl0(). 2000-06-09 10:47:25 +00:00
pk
9bf0d228f0 spl0() and spllowersoftclock() return void. 2000-06-09 10:43:52 +00:00
haya
fb24119c70 Do not use memory space close to system memory (PR #10318). 2000-06-09 10:31:07 +00:00
soda
1c2aa78d6b rename
vad_to_pfn() -> mips_paddr_to_tlbpfn()
	pfn_to_vad() -> mips_tlbpfn_to_paddr()
as suggested by thorpej on port-mips Mar 27.
2000-06-09 06:30:35 +00:00
soda
2047c95e49 Decrease MIPS3_TLB_WIRED_ENTRIES from 8 to 2,
and rename it to MIPS3_TLB_WIRED_UPAGES.
The value of wired register becomes variable on arc port,
and arc is the only mips3 port which uses the wired TLB entries 2..7.
2000-06-09 06:06:57 +00:00
soda
26c2cf79c0 rename
vad_to_pfn() -> mips_paddr_to_tlbpfn()
	pfn_to_vad() -> mips_tlbpfn_to_paddr()
as suggested by thorpej on port-mips Mar 27.
2000-06-09 05:51:42 +00:00
soda
e5b560a385 - NEC RISCstation 2250 (RD-94) PCI bus support,
contributed by Shuichiro URATA <ur@a-r.org>.
 - Experimental coding for NEC RISCserver 2200 and RISCstation 2200.
   (doesn't really work)
2000-06-09 05:41:56 +00:00
soda
f626d8a91c repair algor support a bit. 2000-06-09 05:38:13 +00:00
soda
1258a24612 NEC RISCstation 2250 (RD-94) PCI bus support,
contributed by Shuichiro URATA <ur@a-r.org>
2000-06-09 05:33:02 +00:00