Commit Graph

21587 Commits

Author SHA1 Message Date
mhitch 7f9b4522d1 A common device_register() is used instead of a separate version for each
of the different DECstation models.
2000-03-06 03:11:43 +00:00
mhitch 0993165c93 Define __HAVE_DEVICE_REGISTER, since pmax now has device_register(). 2000-03-06 03:11:05 +00:00
mhitch e65044e30d Get rid of hook for dk_establish() - pmax will now use device_register(). 2000-03-06 03:08:32 +00:00
eeh 4a8841ada2 Try to page align all segments up to 4MB pages. 2000-03-06 01:29:04 +00:00
matt 4ab785a0e1 it is pretty close to working. the scsibus probes now. 2000-03-05 23:20:25 +00:00
matt c43bdd0b91 Fix a bug with < 1 pages mappings. 2000-03-05 21:51:47 +00:00
matt 1de30b727b fix bug in bus_space_subregion 2000-03-05 21:22:48 +00:00
thorpej 23c5667cfe Use ANSI-style function declarations for the various inline functions
here.  Addresses port-alpha/9056.
2000-03-05 18:46:14 +00:00
shin 84b24dcb3a cosmetic change. 2000-03-05 10:03:16 +00:00
takemura 775240e015 Delete #ifdef USE_RASTERCONS lines, which are not used. 2000-03-05 08:49:06 +00:00
mrg 6bf88d7e9a add a "struct device *booted_device" so that raidframe can link. 2000-03-05 08:21:57 +00:00
takemura 45db29b1b3 Delete #ifdef USE_RASTERCONS lines, which are not used. 2000-03-05 06:24:33 +00:00
takemura 303401ce32 Change bus_addr_t and bus_size_t from u_int32_t to u_long.
Add -Werror option to kernel Makefile.
2000-03-05 05:22:12 +00:00
takemura 2aad5afc67 Add ISA DMA support entries. (It's dummy. I don't know if it work or not.) 2000-03-05 04:34:06 +00:00
nathanw 2569290833 Now that pnpbios_io_unmap() exists, use it. 2000-03-04 23:08:54 +00:00
mycroft 8781f55d6a Invert the APM_NO_POWER_PRINT flag, and make sure it's off by default. 2000-03-04 21:37:23 +00:00
uch 062700843c Make it easier to cross-compile with this. moreover. 2000-03-04 19:52:26 +00:00
uch 937f50798e adjust retry count for TX3922 2000-03-04 19:36:34 +00:00
uch 06f8a39446 timeout when DMA interrupt lost. 2000-03-04 19:35:36 +00:00
tsubai 4c75cb9b65 INSTALL kernel config. 2000-03-04 19:30:17 +00:00
matt 2b3b8b5d50 it's closer to working now. 2000-03-04 18:20:53 +00:00
matt ad61c16f86 Oopps. forgot to commit this. 2000-03-04 16:59:18 +00:00
ragge 8e7bc4bd01 Change some install options. From Todd Whitesel. 2000-03-04 16:21:05 +00:00
ragge 3c7a7bf0e0 Install the boot programs in /usr/mdec also. From Todd Whitesel. 2000-03-04 16:17:46 +00:00
takemura ac09284927 Change 'irq' locater encoding. You can use port# 0. You should use 0xff
for unspecified port#. Also, You can specify interrupt level/edge, high/low
and through/hold.
2000-03-04 13:43:19 +00:00
aymeric 7cd55062c0 do as if bus_space_read_4() returned an int, although it just calls panic. 2000-03-04 11:49:18 +00:00
uch bac061b47f sync with my latest. 2000-03-04 11:41:48 +00:00
uch 461e3d82a4 adjust SIBSCLK to 9.216MHz (TX3922) 2000-03-04 11:39:29 +00:00
nisimura 03bf9a2dc3 Remove #ifdef'ed out PMAX_CACHEFLUSH_FORCES_WBFLUSH codes in cache
flush ops which has had no effect for long time.
2000-03-04 11:37:31 +00:00
tsubai 30370336dc Use ring buffer on tx side, too. 2000-03-04 11:17:00 +00:00
nisimura 1036d33c39 Fix mipsmate SCSI lossage made by my previous change. 2000-03-04 10:14:39 +00:00
nisimura f58f6334cb Cosmetic cleanups to hide local objects. 2000-03-04 08:25:24 +00:00
scottr 027952236a Two changes to facilitate (better) PowerBook 1xx support:
- Use a mask to account for address space "wrapping"
 - Check supervisor data space if we can't find a PTE in user data space
2000-03-04 08:16:16 +00:00
scottr a5d6bd9c7a Add get_pte_s() to search the supervisor space. 2000-03-04 08:10:51 +00:00
matt e0df4ffcae expunge vm_offset_t and vm_size_t.
add bus_dma support for the vs4000 dma translation map (sgmap).
enhance the vsbus for the lance to work with it.
remove the sgmap init code from ka46/48/49.c
2000-03-04 07:27:47 +00:00
nisimura c9fc3f7c80 Mention a bit about possible HZ interporation improvement in microtime(). 2000-03-04 07:09:09 +00:00
nisimura 8098245d56 Mention a bit about various issues NetBSD/arc must solve. 2000-03-04 06:54:17 +00:00
nisimura 4e461d33ef Have a local variable to match/attach mainbus insteading using ->cf_unit. 2000-03-04 06:35:02 +00:00
nisimura ccacacf17c Nuke unnecessary prototype declaration of readdisklabel(). 2000-03-04 06:21:15 +00:00
nisimura 076916eb49 Use cdev_decl() for cdev prototype declaration, fixing errors in the 4th
argument of mmopen() and mmclose().
2000-03-04 06:14:47 +00:00
nisimura 13441f2429 It's not necessary to have #if NSII > 0. 2000-03-04 06:05:36 +00:00
mhitch 8bf4d36694 Fix boot device detection. Device probes are not done when adapters are
configured, but after all adapters have been configured.  When multiple
adapters are present, only the last configured adapter could be matched
to the boot device slot.  The adapter attach routines now check if that
adapter slot matches the boot device slot and saves the softc pointer
for that controller.  Then when the disks are configured, dk_establish()
matches the appropriate controller.  Also change the rz boot device test
to include a check for the adapter so that it works when booting from a
disk on adapters other than the first one.
2000-03-04 05:42:55 +00:00
nisimura 400fee7b5a Remove never used memory error address register manipulation
inherited from DECstation 3100 and other debris floating around.
This file will go away naturally when interrupt establish procedure
and dispatcher are well coordinated in sane way of encapulating
target implementation differences.
2000-03-04 05:21:20 +00:00
matt 7258e6c6b7 First pass at NCR53c9x attachment for VS4000. It doesn't work yet.
But I want to save the work.
2000-03-04 00:24:06 +00:00
matt 1bce76807d it's a bit cleaner now. it also gets rid of the iomap init in
ka4[689].c
2000-03-04 00:22:37 +00:00
matt 2150f75fb0 First pass. need to add hw sgmap allocation via bus_dmamem 2000-03-03 22:57:49 +00:00
uch 630279a800 add device file interface for UCB1200 2000-03-03 19:54:34 +00:00
mhitch 40b13c16c0 Do the Ultrix label check in readdisklabel() instead of in rz.c. Ultrix
disks are now usable with the MI SCSI sd devices.
The install mini-root adjustment and the default partitioning still needs
to be moved into readdisklabel().
2000-03-03 17:51:26 +00:00
mhitch 9eaf0ad1d4 Allow a kernel (i.e. GENERIC) to be configured with rz disks with the SII
driver and sd disks with MI ASC driver.
2000-03-03 17:46:49 +00:00
uch 8e89a8db7e cosmetic change 2000-03-03 17:09:57 +00:00
soda 09a5eed1e8 NEC RISCstation 2250 (NEC-RD94) support.
contributed by Shuichiro URATA <ur@a-r.org>.
2000-03-03 13:08:42 +00:00
soda a031341f9b NEC RISCstation 2250 (NEC-RD94) support.
contributed by Shuichiro URATA <ur@a-r.org>.
2000-03-03 12:50:19 +00:00
soda c616c9e0fe use callback function to set up secondary cache related things on arc.
XXX - perhaps it is better to separate cache related initialization
from mips_vector_init().
2000-03-03 12:43:52 +00:00
soda d4b9359964 do not install bus.h, kbdreg.h and pio.h..
since currently these are not useful/needed from userland.
2000-03-03 12:38:25 +00:00
soda 65102815b0 cosmetic change. 2000-03-03 12:35:40 +00:00
soda 0ded8728bc typo in comment 2000-03-03 12:32:43 +00:00
soda a39a58d0fb update 2000-03-03 12:32:15 +00:00
soda 0fd8c949e4 prepare for wscons 2000-03-03 12:31:33 +00:00
soda e47c4a5f51 add some MI devices, including raidframe, tun, ... 2000-03-03 12:29:57 +00:00
nisimura 3c5d39d73b Make clearer a bit how proc0's USPACE is intialized. 2000-03-03 08:36:20 +00:00
castor 67e96268ad Fix a /dev/kmem crash when vaddr + count wrapped and snuck through
the error check, courtesy of Jeff Smith <jeffs@geocast.com>.
2000-03-03 02:33:21 +00:00
groo 97be07a6c4 Remove probe/attach for PNP0C02. There are reserved motherboard regions.
Thanks to Adam Glass for catching this.
2000-03-01 20:24:53 +00:00
groo 866ee72838 Add pnpbios_io_unmap 2000-03-01 20:23:55 +00:00
thorpej 7d57276982 Do partial lazy I-stream sync -- in the pmap_enter()/pmap_remove() cases
for now.  More to come.
2000-03-01 18:29:04 +00:00
thorpej 908f6bc4cd Infrastructure for lazy istream sync in the pmap module:
- Add a bitmask for the CPUs which need an isync before this pmap returns
  to userspace on that CPU.
- Define PMAP_USERRET(), a utility macro for userret() to use to process
  the deferred isync, and call it as appropriate in userret().
2000-03-01 02:22:03 +00:00
thorpej a192dc9c5b PMAP_ISACTIVE() now takes the cpu_id. This serves two purposes:
- Everywhere it was used, the cpu_id was already computed, so this
  saves computing it again.
- This will be needed for lazy istream sync.
2000-03-01 01:32:45 +00:00
ad 14050f197e Make this compile in DEBUG/DIAGNOSTIC case. 2000-03-01 00:44:53 +00:00
thorpej 64911f1d2e Use cpu_number() here instead of alpha_pal_whami(). 2000-03-01 00:43:34 +00:00
matt a1a05c5cf9 include <sys/cdefs.h> since <net/netisr_dispatch.h> needs __CONCAT 2000-03-01 00:17:17 +00:00
thorpej fac7fc369f Put machine check info in cpu_info in the multiprocessor case, and
just have one statically allocate machine check info structure in the
single processor config case.
2000-02-29 22:19:53 +00:00
thorpej 04d9239b1e Reset mc_received after we've done a badaddr probe. 2000-02-29 21:42:54 +00:00
augustss 8cc92d88cf Add USB tty device. 2000-02-29 19:08:54 +00:00
matt 352a87f7bd fix a too agressive s/CIA/UBA/ (e.g change SPEUBAL back to SPECIAL) in the
header.
2000-02-29 17:42:32 +00:00
matt 8aaab5c387 add missing cpu dependencies 2000-02-29 17:13:27 +00:00
nonaka 37eb9eebc2 Initial import prep port. 2000-02-29 15:21:20 +00:00
nisimura 6f5dadba1c Cleanup warning comment which is now irrelevant. Reorder codes. 2000-02-29 09:03:30 +00:00
nisimura d93aaefb84 - Have SYS_DEV_xxx device cookie symbols to select and install proper
interrupt handlers into intrtab[] array, rather than the idea of devices
  in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 07:20:21 +00:00
simonb 4eb55e447c Do the "<space><tab>" thing with the RAID_AUTOCONFIG option. 2000-02-29 06:32:20 +00:00
nisimura a6e403e50b Remove unnecessary cast for kernend variable when grabbing proc0 USPACE. 2000-02-29 04:55:54 +00:00
nisimura 7eeaa2a1fa NLE_PMAX symbol in le_pmax.h has gone. 2000-02-29 04:44:29 +00:00
nisimura 582e9de235 - Have SYS_DEV_xxx device cookie symbols to select and install proper
interrupt handlers into intrtab[] array, rather than the idea of devices
  in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 04:41:47 +00:00
mhitch 19c22771f3 Check and clear the appropriate IOASIC SCSI interrupt bits when in polled
I/O mode.  Kernel dumps will now work with the IOASIC SCSI devices.
2000-02-28 18:51:25 +00:00
takemura 32817a3257 WSMOUSE_SCALIBCOORDS had not worked because ioctrl code was wrong. 2000-02-28 12:34:31 +00:00
augustss e0573deb3b Another ID for ESS. From Dave Huang <khym@bga.com> 2000-02-28 00:22:33 +00:00
tsubai 0468fe97e4 Don't use hardcoded speed value when this is a console. Instead, read
from zs.  (because OF-3.x uses 57600 bps)
2000-02-27 20:31:57 +00:00
mycroft d128de6bc6 Change miniroot size to 3072. 2000-02-27 20:26:07 +00:00
tsubai f101e8315f Add gmac. (commented out) 2000-02-27 18:06:43 +00:00
tsubai 6f4bb03178 Initial version of gmac ethernet driver.
XXX doesn't work well yet.
2000-02-27 18:00:55 +00:00
tsubai 0086d842d5 Rewrite stdarg/varargs. 2000-02-27 17:50:20 +00:00
augustss 6c10d82f8d Add (commented out) PCIBIOS options so people can find them easily. 2000-02-27 16:51:39 +00:00
uch dc8f1b2cb9 UCB1200 GPIO support. 2000-02-27 16:37:50 +00:00
uch c26429fac5 UCB1200 GPIO routines. 2000-02-27 16:34:13 +00:00
uch fc0a27a970 cosmetic changes 2000-02-27 16:28:13 +00:00
takemura b22af17c02 Add 'Sharp HC-1200' and divide MC-CS1x into MC-CS11, 12 and 13. 2000-02-27 05:47:34 +00:00
mycroft cf3085176e Nuke all the code associated with the INITIALLY_LEVEL_TRIGGERED() lossage, and
instead register a shutdownhook to restore the PIC state.
2000-02-27 02:50:31 +00:00
mycroft 544ffa4528 Force polling on pcic, so I get another IRQ for cards. 2000-02-27 00:15:30 +00:00
mycroft 76a60b98d3 Install pio.h. 2000-02-26 22:15:40 +00:00
thorpej 198dbed79d Pull in <sys/types.h> for the benefit of those things which include
<machine/sysarch.h> but don't pull in <sys/types.h>.
2000-02-26 20:12:56 +00:00
thorpej 0958e8149a x86-style PIO ops for USERLAND ONLY! Requires -lalpha. 2000-02-26 19:00:51 +00:00
thorpej df88882d80 - Add a bus space method for getting the translation for a window.
- Add sysarch methods for "get bus window count", "get bus window",
  and "pci conf read/write".

These are a hack, but they're what's necessary in order to make
XFree86 work in its current state.
2000-02-26 18:53:10 +00:00
oster d9c47013b2 Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
itojun 13fc260296 s/options\t/options \t/ for CONS_OVERRIDE line, so that addition/removal of
"#" does not affect indentation.
2000-02-26 17:12:37 +00:00
scw f2c822fa6e Include <machine/cpu.h> to make these compile again. 2000-02-26 16:50:55 +00:00
uch e0f169f58e change power up sequence. 2000-02-26 15:16:19 +00:00
uch d4c8fabc4a fix lost interrupt bug. 2000-02-26 15:14:19 +00:00
scw b4d8a2fd8f Need <machine/cpu.h> for IIOV definition. 2000-02-26 14:31:35 +00:00
pk 546bda740f Revert to using <bsd.prog.mk> again, so we support all targets that may
be presented when building the system (noticed by Juergen Hannken-Illjes).
2000-02-26 11:48:15 +00:00
thorpej 0b97eb1052 alpha_pa_access(): if securelevel <= 0, grant read/write access to
non-memory address locations.
2000-02-26 00:17:25 +00:00
mycroft f8e1e12acc Add Aviator/RayLink. 2000-02-25 20:55:34 +00:00
mycroft d1546a70bb Add more PCMCIA stuff, nuke PNP. 2000-02-25 20:52:11 +00:00
jdc ecf1c1eb21 Add auxiotwo (Tadpole 3GX aux 2 register) entry. 2000-02-25 18:24:40 +00:00
jdc 7840960350 Driver for Tadpole 3GX "Power Down Control (Aux 2) Register".
Based on existing auxreg.[ch] (Sparc Aux Register driver).
2000-02-25 18:17:24 +00:00
pk 9bbc61deaa We need <bsd.obj.mk>. 2000-02-25 16:53:22 +00:00
pk c64db6cec7 Remove out-dated comment. 2000-02-25 16:02:49 +00:00
soda 59ebd61fdf Do not hardcode ethernet address.
This haven't tested with original Acer Pica 61, but it appeared that
NEC Image RISCstation is almost fully compatible with Pica 61, and
doesn't have problem with using product id as ethernet address.
(Although it is better to use SONIC device configuration data from ARC BIOS,
 rather than product id. Autoconfiguration stuff for jazz derived systems
 really should be revisited.)
2000-02-25 13:28:42 +00:00
soda 0e123969af some clean up, especially,
- use "objcopy -O ecoff-littlemips" instead of elf2ecoff to make cross
   compilation easy. this also workarounds a problem that -current
   elf2ecoff doesn't work with ARC BIOS.
 - use -mips2 for ld, since mixing -mips3 and -mips2 doesn't work with
   -current ld.
mostly from Izumi Tsutsui <tsutsui@netbsd.org>
2000-02-25 13:20:43 +00:00
shin 2d3ab1ef0c stop memory probing at first memory image.
this is necessary for MC-CS12.
2000-02-25 11:20:20 +00:00
drochner 0ff2be2565 -make lm78 entry depend on NLM
-add "vmegeneric" entry (the driver is not yet there, but I'm sick of
 the cvs conflicts)
2000-02-25 10:04:38 +00:00
mycroft 54ffe9e871 Only pay attention to controller 1 on the pcic. It appears that on this
machine it mirrors (but is not usable as) controller 0.
XXX Need to find a way to detect this automatically.
2000-02-25 05:28:42 +00:00
mycroft 01ef320ff1 Add `\My Documents\' to the menu of kernel locations. 2000-02-25 03:38:59 +00:00
groo f5f2ad429c Initial import of National Semiconductor LM7[89] Hardware Monitor with isa and
pnpbios attach.

examples:

	lm0 at pnpbios0 index?
	lm0 at isa? port 0x290


TODO: spinlocks, i2c interface.
2000-02-25 02:17:43 +00:00
thorpej 3dacaa322d Protect a few things from userland with _KERNEL. 2000-02-25 01:16:41 +00:00
thorpej de974ff82d Add an internal bus space method alpha_bus_space_translate(), which
provides a method to translate an address on an I/O bus into a sysBus
address, along with acccess method information.
2000-02-25 00:45:04 +00:00
mycroft 108b65903a Fix an obscure bug:
If we enter DDB from the keyboard, kc_scandata[] wasn't updated before the
debugger was entered, and the first call to cngetc() would see the ESC and
stack another DDB entry on top.  This was... poor.
2000-02-25 00:42:47 +00:00
msaitoh a84d573e15 KZ-SH4-01 (Kyoto Micro Computer Co.,LTD) 2000-02-24 23:33:59 +00:00
msaitoh 6e7f2e9779 SH4! 2000-02-24 23:32:26 +00:00
mycroft 71b18d9041 Make it easier to cross-compile with this. 2000-02-24 21:59:13 +00:00
msaitoh da0ae51fcf variable start address of the main memory (now we can use
the area 2 as main memory with "options IOM_RAM_BEGIN=0x88000000")
2000-02-24 19:42:35 +00:00
msaitoh 7ae4a95c4d multiple interrputs!!! 2000-02-24 19:01:24 +00:00
ad 815f93520f - Attach dpt0 to the isa bus. Commented out since (a) at any valid address it
conflicts with too much other stuff (b) if I UTSLed correctly, EISA boards
  may be picked up at an "ISA address and an EISA address" - I don't have
  enough info on this yet to fix it (c) a DPT HBA at an address usually
  assigned to wdc0/1 may get detected as a WD100x controller. Some of them can
  emulate a WD100x controller, but the one I tested with doesn't.
- Sync with GENERIC just a little.
2000-02-24 18:49:40 +00:00
msaitoh 3559e78ed2 include <machine/endian.h> 2000-02-24 17:19:57 +00:00
msaitoh dddc24af60 G.C. 2000-02-24 17:18:30 +00:00
msaitoh f51b1c6783 add RCSID and copyright 2000-02-24 17:10:16 +00:00
msaitoh e2cc2d00d7 watchdog timer 2000-02-24 17:07:34 +00:00
msaitoh 0e12305a13 global variable declaration 2000-02-24 16:42:54 +00:00
scottr d67bf4504d Turn off some noise during autoconfig on the IIfx/Q9x0, making it
conditional on the TRACE_CONFIG debugging flag.
2000-02-24 05:02:33 +00:00
msaitoh e0c3daee1d remove PMAP_NEW 2000-02-23 21:14:12 +00:00
mhitch 98fa781c83 The check for 'rz(?,?,?)' was incorrect and would not find the boot device
on the 3100.
2000-02-23 18:50:51 +00:00
mhitch e48c624741 Loading the exception return PC in k0 before restoring the status register
(which disables the interrupts) is *not* a good idea.  k0 (and k1) is used
by the kernel code such as the TLB miss handler, and the interrupt entry.
If an interrupt occurs after loading k0 and before the SR gets interrupts
disabled, k0 will be clobbered and when used to load the PC on exit from
the exception handler, results in various hangs and crashes.
2000-02-23 17:04:06 +00:00
tls 08ef0cfe07 revert previous change 2000-02-22 21:09:50 +00:00
mjacob 64fa8aa0d6 remove SES driver 2000-02-22 17:43:57 +00:00
chopps db8aeddb5f deal with bios that just say end tag with no end dep
add a lot of skeletal work to pnpbios.
	option to handle events from pnpbios in a thread (e.g., hot-doc)
	add calls for the other pnpbios functions (e.g., send message etc..)
	add most defintions from the pnp doc to new reg file
2000-02-22 15:49:17 +00:00
thorpej b0b40b6c34 Make this compile after the netisr_dispatch change. 2000-02-22 15:43:54 +00:00
soda d7e9d324f9 reflect recent <mips/types.h>: mips is now vm_offset_t/vm_size_t clean 2000-02-22 12:29:56 +00:00
soda 6ff57360cc mips is now vm_offset_t/vm_size_t clean 2000-02-22 12:28:25 +00:00
soda 9051f8102e clean up vm_{offset,size}_t, use {v,p}{addr,size}_t instead 2000-02-22 12:22:19 +00:00
soda ea30c06e0e remove commented out ``ident "GENERIC-..."'', since this file is not GENERIC. 2000-02-22 12:17:52 +00:00
soda 4ad26273c2 rd -> md 2000-02-22 11:40:20 +00:00
soda e9423d1a30 this file belongs to arc/include on NetBSD. 2000-02-22 11:32:23 +00:00
soda 71f6ef9ee6 merge changes between OpenBSD-2.1 and OpenBSD-2.6 2000-02-22 11:25:55 +00:00
soda 87009692f7 OpenBSD-2.6/arc 2000-02-22 11:05:02 +00:00
dbj ef5d25c147 use bios' idea of the basemem size and create the kernel stack
at the top of it instead of hard coding 0x90000
2000-02-22 07:45:04 +00:00
sato 7a91879a6d delete warning. 2000-02-22 04:11:24 +00:00
msaitoh 58369df4e9 Fix the bug which cause invalid slot exception under SH4.
This exception doesn't occurs under SH3
2000-02-22 02:17:05 +00:00
msaitoh c02e68b1f5 calculate checksum correctly 2000-02-22 02:14:16 +00:00
msaitoh c956cdcabe bugfixes:
o SCI accesses SCI registers (not SCIF) correctly
 o If there is serial inputs in boot time, it could hangup in interrupt routine
 o some cleanups(KNF)
2000-02-22 01:37:11 +00:00
erh 8f03b9a04a Define the DONETISR macro and use netisr_dispatch.h. This is to cut down on code duplication and to standardize the available NETISRs across all ports. 2000-02-21 20:38:46 +00:00
dbj f4f446cf2c include dev/isa/isareg.h instead of redefining IOM_BEGIN, IOM_END
and IOM_SIZE for ISA memory mapping kludge
2000-02-21 20:06:08 +00:00
aymeric 77292e79c6 fix a couple of things to handle interrupts more cleanly on the A1200 2000-02-21 18:27:49 +00:00
pk dd6a9d86b0 SUN_BOOTPARAM compile-time option is no longer used. 2000-02-21 15:13:11 +00:00
pk f89828d99f bootxx links at 0x340000
2nd-stage boot programs choices: 0x200000,0x300000,0x400000,0x700000 (default: 0x300000)
2000-02-21 15:07:32 +00:00
pk ea0dbfe79c RELOC -> RELOC_DEFAULT 2000-02-21 14:44:18 +00:00
pk 8305907589 Build several versions of the second-stage boot program, each linked
to run at a different base address. Boot image build procedures can
pick one which is least likely to fail..

The default boot program is again build to run at 0x340000.
2000-02-21 14:41:22 +00:00
shin 26f41e8f13 support non-contiguous memory.
patch from Mycroft <root@ihack.net> and uch@netbsd.org.
tested hardware:
	VR4121	IBM WorkPad z50 (48MB, 16MB)
	VR4121	NEC Mobile Gear II MC/R730
	TX3912	Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
	TX3922	Sharp Telios HC-AJ2 (32MB)
2000-02-21 13:46:02 +00:00
nisimura 3c0d53280b Fix scsi.pmax inclusion mistakenly commented out. 2000-02-21 06:44:24 +00:00
scottr 5bc9da0d51 Correct some temporary confusion between the IOPs and the OSS: move
IOP init back to mac68k_init().  We'll deal with the OSS later.
2000-02-21 05:50:14 +00:00
scottr 45ac4c3122 Use constants defined in viareg.h to set value of VIA2. 2000-02-21 05:36:11 +00:00
scottr 17a313075f Correct some temporary confusion between the IOPs and the OSS: move
IOP init back to mac68k_init().  We'll deal with the OSS later.
2000-02-21 04:08:21 +00:00
scottr 5c7674d4dd Explicitly include headers needed by iopreg.h 2000-02-21 02:04:48 +00:00
chs 6ba0786ed1 several fixes:
1.  in pmap_steal_ptp(), don't trylock the pmap that wants a ptp,
      the caller already has it locked.
  2.  do not panic in pmap_enter() due to memory allocation failures when
      the PMAP_CANFAIL flag is given.  to this end, move all such panics
      from the lower-level routines to pmap_enter() and pmap_growkernel()
      where we can check for this flag.
  3.  add #ifdef DIAGNOSTIC around all panics which are only reachable
      if there's a bug or a hardware error.
2000-02-21 02:01:24 +00:00
scottr eb17197dee Initialize VIA/IOP/PSC from intr_init(). While here, re-order headers
to match KNF.
2000-02-21 01:51:37 +00:00
scottr 806c8c15e0 Initialize VIA/IOP/PSC from intr_init(). 2000-02-21 01:48:49 +00:00
scottr ab647533a1 Bracket disabled IIfx IOP code with #ifdef __notyet__, rather than
commenting it out or using #if 0.
2000-02-21 01:20:55 +00:00
groo 024d345241 Add ability to customize I/O region and DAC offset based on pnpbios idstr.
Add CSC0000 id from Dell Latitude CPi.
2000-02-20 22:03:49 +00:00
soren 7fffbf8679 Add a few links to documentation. 2000-02-20 21:42:26 +00:00
minoura 077b93be1a According to Takeshi Nakayama <tn@catvmics.ne.jp>,
POW_ALARMSW seems always 1 on some models (at least XVI).
2000-02-20 16:18:51 +00:00
chs 0e4b23600f handle a NULL "done" pointer.
for the userspace versions, return EFAULT instead of EACCES
when the user address is bogus.
2000-02-19 23:29:16 +00:00
aymeric 728c720d75 acknowledge the interrupt to gayle before entering wdc_intr.
This fixes the lost interrupts problem.
fix some glitches on the A1200 too.
2000-02-19 17:16:20 +00:00
jun fa120e391e On [port-hpcmips-ja@jp.netbsd.org:1764]
suz@hpc.bs1.fc.nec.co.jp (Koji Suzuki) writes
Sample configration for cassipeia E-55 & E-500
// wdc1 line deleted from original.
2000-02-19 15:01:33 +00:00
nisimura e6635ea8bd Introduce MI SCSI codes; for DECstation 5000s only this moment. 2000-02-19 09:48:46 +00:00
nisimura 051314999f Introduce MI SCSI codes; for DECstation 5000s only this moment.
Disabled by default and needs arrangements in conf file to use it.
See DS5000 as a sample.
2000-02-19 09:46:48 +00:00
nisimura 58d5093220 Introduce MI SCSI codes; for DECstation 5000s only this moment and
disabled by default.
2000-02-19 09:43:40 +00:00
mycroft 7f0554e0c9 Add some CONSTCONDs to make lint happier. 2000-02-19 09:23:44 +00:00
mycroft 09cc3151e6 Don't pull in cpu.h in non-kernel code. 2000-02-19 09:22:51 +00:00
mycroft fb5d3e9da4 Enable DDB history. 2000-02-19 06:58:28 +00:00
nisimura da782dba95 The way to determine booted root device was simplified largely. 2000-02-19 04:16:18 +00:00
mycroft 6fe5b35136 Don't print an extra cpu0: prefix. 2000-02-19 04:00:59 +00:00
mycroft 14ef93565d Use the prefix printed before cpuattach() is called. 2000-02-19 03:59:04 +00:00
nisimura 02d328f925 List all 6 different types of MI SCSI device. 2000-02-19 03:58:23 +00:00
tsutsui fb7bc58609 Add new SUBDIRs. 2000-02-19 02:03:29 +00:00
mycroft b4f04eeaad Disable the sN,sp,gp register restore code for now, as it seems to collide with
something else.
2000-02-19 01:56:21 +00:00
tsutsui 6df4ed6f4d Fix resettod() from Richard Earnshaw <rearnsha@arm.com> 2000-02-19 00:27:16 +00:00
tsutsui 6cf82b4102 Sync with CATS. 2000-02-19 00:17:59 +00:00
tsutsui 7f54ebdd6b - enable adv, pcscp, ex, vr and sequencer (which I am/was using)
- add (commented out) ne[01] at isa? (working)
- add (commented out) file-system CODA
- add (commented out) mpu* at sb? and midi* at mpu? (untested)
- comment out faith (sync with GENERIC)
- some more cosmetics
2000-02-19 00:14:58 +00:00
mycroft e7cfaf8f5b Actually, it looks like the mouse is there. 2000-02-18 23:11:20 +00:00
mycroft 640bdcd6cf Document some things that are missing. 2000-02-18 23:10:01 +00:00
mycroft f1d350ea27 Somewhat scaled-down config for a WorkPad.
Uses WSEMUL_SUN so I can get multi-line scrolling.
2000-02-18 20:52:15 +00:00
thorpej bb7c9c63f3 On exception return, use k1 to restore the saved registers, so that we
don't stomp on the return address in k0.  Also, don't need to account
for any load delays, as the last register restored (gp) isn't used in
the subsequent instruction.
2000-02-18 18:36:41 +00:00
nisimura 7481db1957 Revert the removal 'include "dev/scsipi/files.scsipi"' directive; it's
neccessary to make pmax/conf.c compiled correctly.
2000-02-18 10:18:12 +00:00
tsubai e7edda84b7 Remove vmparam.h. 2000-02-18 08:50:25 +00:00