Commit Graph

21587 Commits

Author SHA1 Message Date
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
nisimura eb30f016ae Group and reorder old SCSI driver descriptions into a single
location.   Nuke files.scsipi inclusion which has never been useful.
2000-02-18 08:41:21 +00:00
mycroft fec6c976f3 Make the z50 tab key work. 2000-02-18 06:54:47 +00:00
mycroft c9f3b6ba01 Adjust previous change for R3000 load delay slot. 2000-02-18 03:46:43 +00:00
mycroft 71979ea6fb Make the MIPS1 and MIPS3 code more similar.
XXX Needs testing on MIPS1.
2000-02-18 00:15:15 +00:00
mycroft 9e77fba716 Take a whack at allowing sN, sp and gp to be set from DDB, too. 2000-02-18 00:02:43 +00:00
mycroft 3ade108e4b Allow vN, aN, tN, ra, sr, mul[lo,hi] and pc to be set from DDB. sN requires
more work.
2000-02-17 23:52:23 +00:00
mycroft c41cbbb8b7 Fix obvious typo. 2000-02-17 22:16:31 +00:00
mycroft 760d110b96 Regen. 2000-02-17 21:31:39 +00:00
mycroft b95959c4c8 Give platid_name_table_size a type. 2000-02-17 21:31:13 +00:00
ender f30d8c9d30 Include mac68k/dev/akbdmap.h, not macppc/dev/akbdmap.h. Fixes PR 9435
filed by Dave Huang <khym@bga.com>.
2000-02-17 02:07:07 +00:00
tsutsui 1da0c062ce Make sure access of ssir atomic. (from luna68k) 2000-02-16 15:32:03 +00:00
tsubai a6343f76db Unused. (PR 9424) 2000-02-16 14:02:13 +00:00
nathanw 971144c47f Add ess at pnpbios 2000-02-15 17:14:50 +00:00
nathanw 558d216998 Add pnpbios front end for ESS AudioDrive. 2000-02-15 17:12:54 +00:00
pk 52014b23c5 Allow second-stage boot program to be specified on the command line. 2000-02-15 16:15:07 +00:00
pk 59742052ea Determine base address at run time. 2000-02-15 14:09:59 +00:00
pk 9bb753bb2e Nuke unused code. 2000-02-15 12:18:05 +00:00
leo 141900755f Nuke the local outc() since the prototype for the second argument of tputs()
now matches putchar().
2000-02-15 10:14:55 +00:00
leo 8d6a7f1861 Grabage collect a 'struct buf *' left over from recent disksort changes. 2000-02-15 09:00:07 +00:00
thorpej fd8c03cf44 Allow arch-specific code to specify in4_cksum() like it can specify
in_cksum().
2000-02-14 21:42:50 +00:00
is a90153e264 enlarge the initial kernel page table - needed for some 128 MB machine 2000-02-14 20:23:20 +00:00
pk 72252544f5 remove `flags' from sun4 zs declarations; the driver doesn't use it. 2000-02-14 18:08:38 +00:00
pk 5b285d9509 Just skip matching the `slave' property against `cf_unit'. 2000-02-14 18:07:37 +00:00
tsubai 0b8b55beaf Add uninorth. Now iMac DV and Power Macintosh G4 should run NetBSD. 2000-02-14 14:57:52 +00:00
tsubai 2750c23cdd Add minimal support of openpic. 2000-02-14 12:45:52 +00:00
scottr 042be92f6f Update for wscons. 2000-02-14 08:58:41 +00:00
scottr 2071e61796 Update for wscons. 2000-02-14 08:48:08 +00:00
jun 14af97fa26 add Sharp HC-1200 2000-02-14 07:22:19 +00:00
jun 2d09174cce regen. 2000-02-14 07:19:25 +00:00
scottr 8a00740789 Merge wscons work onto the main development branch. 2000-02-14 07:01:44 +00:00
jun f009580118 add Sharp HC-1200 2000-02-14 06:55:36 +00:00
tsubai 2aafd71ec7 Reduce NKMEMPAGES_MAX_DEFAULT. 2000-02-13 17:01:47 +00:00
tsubai 90fe757934 Fix typo in comment. 2000-02-13 10:25:07 +00:00
tsutsui 2a3b53a229 Remove __BROKEN_CONFIG_UNIT_USAGE.
This has been fixed on news1200 merge.
2000-02-13 05:40:36 +00:00
mark 068fcab81e Enable rl ethernet device.
General tidy up.
2000-02-13 05:26:04 +00:00
mark f43601877b Remove __BROKEN_CONFIG_UNIT_USAGE. 2000-02-13 05:20:45 +00:00
mark d97d3dc6a5 Enable rl ethernet device and do some general cleaning up. 2000-02-13 05:19:40 +00:00
mark 7ef62e2b59 Remove unncessary cf_unit usage.
Make sure we only attach 1 of these devices.
2000-02-13 05:00:57 +00:00
mark 9316cea99d Remove unnecessary cf_unit usage. 2000-02-13 04:59:57 +00:00
kristerw 952281e8fb Fixed a bug in the ATR parsing; If TA(i) was absent, then TA(i+1) was
used as TA(i) (and similary for TB(i) and TC(i))
2000-02-13 01:31:22 +00:00
kristerw 8ff64870d4 The T0 byte must not be included in the TCK calculation (ISO/IEC 7816-3
chapter 6.4.5)
2000-02-12 22:40:12 +00:00
thorpej 09943f0ffa G/c references to VM_KMEM_SIZE. 2000-02-12 20:57:12 +00:00
ragge 8e114c7994 Nuke unused variable. 2000-02-12 16:09:33 +00:00
ragge 918676c04f Remove __BROKEN_CONFIG_UNIT_USAGE. 2000-02-12 16:00:13 +00:00
ragge 539689da9d Remove another unneccessary reference to cf_unit. 2000-02-12 15:58:45 +00:00
ragge c6471e4d9a Remove an unneccessary reference to cf_unit. 2000-02-12 15:48:34 +00:00
shin e9c7fb4c36 change ramdisk size. 2000-02-12 13:48:46 +00:00
pk 19533212a5 Correct comments on KGDB_* entries. 2000-02-12 12:59:36 +00:00
pk b518dc6dfc Eliminate much of the goo in setting up zs device addressing. 2000-02-12 12:51:03 +00:00
tsutsui 980ac3a9eb Fix typo. 2000-02-12 08:52:11 +00:00
thorpej 5903e181fa Nuke NKMEMCLUSTERS. 2000-02-12 03:29:18 +00:00
shin 49ac0acd83 delete NKMEMCLUSTERS from configuration files. 2000-02-12 03:21:06 +00:00
kleink 3a09830119 printf format mismatch in DEBUG code (related to already fixed PR hp300/9388). 2000-02-11 23:00:47 +00:00
leo d10190a70c Move the ite_default_* variables to ite.c. They are generic ite. 2000-02-11 21:42:52 +00:00
leo 39a8093c78 Remove redundant test. 2000-02-11 21:36:38 +00:00
leo 107405406d Oops! Both grfcc and grfet need the generic grfabs layer. 2000-02-11 21:35:42 +00:00
thorpej dded044fc2 Update for the NKMEMPAGES changes. 2000-02-11 19:25:12 +00:00
is 9bf09631c6 Only output message on really special DEBUG kernels. 2000-02-11 19:09:56 +00:00
tsubai d696094217 Change ICU_LEN to 64. 2000-02-11 13:15:43 +00:00
thorpej dc80cc068b Move KERNBASE to 0xc0000000, giving the kernel a more-or-less full 1G
of virtual address space, leaving userland with 3G, and update comments
to match the new reality.

We knew we were going to have to bite this bullet eventually, and there
are a couple of outstanding PRs related to this issue (9389 and 9313).
Complete solution to those PRs is going to involve some sort of run-time
decision on how large kmem_map should be, as well as changing some data
structure allocation strategies in UVM.  However, this change will at
least allow the PR submitter to simply throw resources at the problem.
2000-02-11 07:00:11 +00:00
takemura 160bf15b09 Add com0's power control ID. 2000-02-11 03:20:17 +00:00
thorpej 5f9e257c5a Fix a couple of printf format botches. port-hp300/9388, Steve Peurifoy. 2000-02-10 23:02:16 +00:00
aymeric dc0ce1249b fix interrupt handling
I still get lost interrupts on the A1200, but the problem is certainly
elsewhere (not in wdc_amiga).
2000-02-10 15:51:59 +00:00
tsubai 1dc2d9d399 Don't display "NetBSD disklabel". This message appears too many times
if more than two or three disks exist.
2000-02-10 12:33:45 +00:00
sato 18452e3667 - add GPIO related comments.
- add IBM WorkPad z50 buttons.
2000-02-10 08:45:44 +00:00
sato 709f6f50a2 show edge/level infomation in attach message. 2000-02-10 08:37:07 +00:00
sato e19b30ff0a delete \n in cpu_model. 2000-02-10 08:34:08 +00:00
mjacob 9621e6be50 Reset maxstray count if we get a good interrupt for a level. 2000-02-10 07:45:43 +00:00
mjacob 13e13336b2 Allow (re)setting of maxstrays after establishment of a shared interrupt.
This allows sporadic stray interrupt counts to be reset by an acknowledgement
of the same interrupt.
2000-02-10 07:45:02 +00:00
mjacob 4821b5ae2f Guard against trying to disable an interrupt where we'd dereference a
bad pointer.
2000-02-10 04:31:36 +00:00
sato 1dd1e143a9 add machine model name to cpu_model. 2000-02-10 02:15:01 +00:00
sato 549e292ae4 update MINYEAR. 2000-02-10 02:06:16 +00:00
sommerfeld d129ec5214 Fix typo in error message 2000-02-09 23:25:15 +00:00
aymeric a10113c83a fix a couple of things to (hopefully) make this work on the A1200 2000-02-09 22:27:20 +00:00
takemura 968822bd48 The pwctl writes ZERO as on if active=0. 2000-02-09 14:39:06 +00:00
tsubai 502ad73200 Add wsfont options. 2000-02-09 13:10:15 +00:00
tsubai dcb9f03bd3 Use dev/rasops instead of dev/rcons. 2000-02-09 13:08:35 +00:00
takemura 0694de05ed Fix Work Pad z50's entry. 2000-02-09 13:03:31 +00:00
tsubai 0867c09dad Change va_arg definition when __lint__ is defined. 2000-02-09 12:54:47 +00:00
sato ad591b78f4 CLOCK_RATE: 256-> 128.
reduce timer interrupts because hpcmips machines are lower cpu power.
2000-02-09 10:41:18 +00:00
nisimura 9fb475bc29 Missing commit to reflect ioasicreg.h merge. 2000-02-09 08:37:43 +00:00
nisimura 43917001c7 - Add missing "opt_ddb.h" to dc.c and dtop.c (oh, boy)
- Nuke irrelevant "dcvar.h" and "tc.h" inclusion from dc.c
- Put '#if NRASTERCONSOLE > 0' around scc_lk201_cnattach().
2000-02-09 08:29:40 +00:00
shin 7f5a7c00ac fix include file.
<netinet6/ip6.h>	->	<netinet/ip6.h>
2000-02-09 05:48:26 +00:00
thorpej f9e531f1e4 Don't force BWX on Pyxis by default; it's just not reliable enough. 2000-02-09 01:39:20 +00:00
thorpej ec02ebc8a0 Adjust for IOASIC register changes. 2000-02-09 00:33:03 +00:00
tsubai a62753d0b7 Make OF-2.x can also find root device. 2000-02-08 20:02:13 +00:00
tsutsui 6968a454bd Add news1200 support.
Based on a patch from Koichi NISHIWAKI <k-nis@ba2.so-net.ne.jp>
2000-02-08 16:17:28 +00:00
tsubai b933f19ea2 Flush cache before rebooting to preserve msgbuf. 2000-02-08 12:57:11 +00:00
tsubai d97ae29629 Enter power saving mode in idle loop on 603, 750, and 7400.
603 uses doze mode, 750 and 7400 use nap mode.
2000-02-08 12:49:06 +00:00
tsubai 9cba8a13d1 Use -Os -mmultiple to reduce size.
Add cbb and pcmcia/cardbus devices.
Nuke BUFPAGES=800 kludge.
2000-02-08 12:13:50 +00:00
tsubai c7d216c2da Add missing locators.
Add tlp at cardbus.
2000-02-08 12:10:56 +00:00
tsubai 45fe0e4077 Fix typo. 2000-02-08 08:08:43 +00:00
mycroft bc1ca7aa3f Add a bunch of debugging code, #ifdef FPU_DEBUG, which attempts to
trap FPU usage in the kernel.
2000-02-08 03:16:00 +00:00
mycroft a3b8d596d5 Sync with GENERIC. 2000-02-08 03:10:21 +00:00
thorpej 52a2804a5c Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel.  Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
pk 1d46ce41ea Enable the hme ethernet driver. 2000-02-07 21:24:48 +00:00
tsubai b9ff560bcc Don't print "... not configured" message for non real devices
like escc-legacy.
2000-02-07 20:30:05 +00:00
thorpej fe551f0e64 Fix a bug in disksort_*() which caused non-optimal ordering when multiple
active partitions were on a single spindle.  Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
thorpej cb18849e48 Make APM use a kernel thread rather than a callout, and provide a
mutex between the thread and a user process attempting to do APM
operations.
2000-02-07 17:36:59 +00:00
tsubai cf532aa7eb Move CFLAGS and CPPFLAGS to {bootxx,ofwboot}/Makefile to compile installboot
without -D_STANDALONE.
2000-02-07 16:26:59 +00:00