Commit Graph

83 Commits

Author SHA1 Message Date
tsutsui
7ceeb68913 Account idepth in functions in locore.s that are registered in the
interrupt vector table so that we don't have to track all interrupt paths.
2008-12-10 14:19:02 +00:00
tsutsui
3de743094e No need to terminate DMA in si_dma_poll(). 2008-06-17 18:24:21 +00:00
tsutsui
36bc2e34d4 Implement si_dma_poll() properly so that crashdump works with DMA xfer. 2008-06-17 17:31:51 +00:00
tsutsui
b87210fa51 Normalize my licenses. 2008-05-14 13:29:27 +00:00
tsutsui
8e98bd4e5e Tweak a structure definition for DMA registers. 2008-05-07 13:02:00 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tsutsui
5147571380 Split devict_t/softc for ncr5380sbc SCSI, and misc cosmetic changes. 2008-04-04 16:00:57 +00:00
tsutsui
d9941582bf Split device_t/softc for le(4) and variants and misc cosmetic changes. 2008-04-04 12:25:06 +00:00
tsutsui
02cb47cab2 Split softc and device_t for zsc(4) and its children.
XXX we should restructure MI APIs and make it really machine independent.
2008-03-29 19:15:34 +00:00
tsutsui
d062717c3f Don't forget to set sc_dev. 2008-03-29 05:48:33 +00:00
tsutsui
4090172b20 Don't forget to initialize sc_dev. 2008-03-29 05:42:45 +00:00
tsutsui
03bb6cc822 Split device_t and softc for MI mk48txx(4) and intersil7170(4) clocks,
and other related misc cosmetics.
2008-03-28 20:26:12 +00:00
tsutsui
820a544d88 Use CFATTACH_DECL_NEW(), device_t, cfdata_t, and aprint_*(). 2008-03-28 18:19:56 +00:00
tsutsui
03242949ba - account idepth in all interrupt handlers
- use idepth for CLKF_INTR()
2008-01-28 17:07:19 +00:00
tsutsui
05517e38f5 - move todr_attach(9) calls from each MD attachment to MI mk48txx_attach()
- don't clear todr_setwen in mk48txx_attach() since it might be set by
  MD attachments
2008-01-10 15:31:26 +00:00
ad
4b293a84e1 Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
2007-12-03 15:33:00 +00:00
ad
f2c57d8566 Call zs_lock_init() to set up the chanstate's lock. 2007-11-09 00:05:04 +00:00
garbled
d974db0ada Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
tsutsui
124af7e7eb Call simple_lock_init(9) with proper zs_chanstate otherwise
LOCKDEBUG kernel fails during console zstty attachment.
2007-05-20 05:50:25 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
tsutsui
5dea0b7003 Make disconnect/reselect work on news68k si(4) with DMA and
enable it by default.
2007-02-17 01:27:07 +00:00
tsutsui
7d0e6302b9 Remove autovectored ISR priorities and use now properly defined
IPL_* values for isrlink_autovec().
2007-02-16 21:52:47 +00:00
tsutsui
123ed5aad5 Implement generic softintr(9) support for news68k.
Mostly taken from mvme68k.
2007-02-10 02:03:51 +00:00
plunky
57c0199dcf Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
2006-11-12 19:00:42 +00:00
thorpej
2be6494fc9 Use device_cfdata(). 2006-03-29 04:16:44 +00:00
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
drochner
44bf0a7ee2 s/locdesc_t/int/g 2005-08-26 13:19:34 +00:00
drochner
996c273eda adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes 2005-06-30 17:03:51 +00:00
tsutsui
effe013df7 - add const
- u_char -> uint8_t
- sccport0a is not used as pointer, so make it uint32_t address
- idrom is stored in ROM, so make it const rather than volatile
2005-06-02 15:26:35 +00:00
tsutsui
11d4655d5d Fix a shasow warning. 2005-06-02 15:24:04 +00:00
tsutsui
93dd53ae14 LANCE chip actually requires PA of shared mem rather than VA.
Fortunately, lower bytes of PA and VA for intio devices were identical
on -current pmap, but the problem appears on new yamt-km which has differnt
address layout. Ummmmm.
2005-02-27 09:27:31 +00:00
tsutsui
3725e9832e u_intXX_t -> uintXX_t 2004-12-11 03:32:27 +00:00
tsutsui
52b46dcf6f - Use ANSI function declarations and make some functions static.
- Some KNF
2004-09-04 13:43:11 +00:00
tsutsui
378871cd27 Include ioconf.h to declare struct cfdriver. 2004-09-04 11:28:32 +00:00
tsutsui
e6be65a968 Adapt to NCR5380_USE_BUS_SPACE. 2004-08-13 12:54:44 +00:00
tsutsui
164022f59e Adapt MI mk48txx(4) changes. Tested on NWS-1750. 2003-11-01 22:49:38 +00:00
tsutsui
5d2194fdc0 Rename todclock_config() to todr_attach(). 2003-07-19 02:25:21 +00:00
lukem
ed51729135 __KERNEL_RCSID() 2003-07-15 02:54:31 +00:00
tsutsui
09c17d2c36 Initialize struct consdev more properly. 2003-05-01 23:25:52 +00:00
tsutsui
3077e80f76 KNF 2003-05-01 23:02:35 +00:00
tsutsui
14e6518ceb Fix typo, and TAB/space cosmetics. 2003-04-19 16:43:59 +00:00
tsutsui
397febeb94 Backout previous. <sys/lock.h> is pulled from <sys/tty.h>. 2003-02-11 17:25:14 +00:00
tsutsui
ff77623786 MI z8530sc driver now requires <sys/lock.h>. 2003-02-10 11:38:30 +00:00
pk
be1188e00d Provide locking required by the interrupt handlers running at IPL_SERIAL. 2003-01-28 12:35:31 +00:00
tsutsui
7de4540345 TAB/space cleanup. 2003-01-18 12:28:59 +00:00
tsutsui
5db9bf0614 Fix -Wsign-compare warnings. 2003-01-11 16:00:48 +00:00
thorpej
dbb0f0ebed Use aprint_normal() for cfprint routines. 2003-01-01 01:47:30 +00:00
tsutsui
0687b33b99 Remove __P(). 2002-12-20 16:23:46 +00:00
chs
1c2419d28a merge the 12 copies of vm_machdep.c on the m68k platforms.
clean up some other stuff along the way, including:
 - use m68k/cacheops.*, remove duplicates from cpu.h.
 - centralize a few declarations in (all the copies of) cpu.h.
 - define M68K_VAC on platforms which have a VAC.
 - switch the sun platforms to the (now common) proc_trampoline().
 - do the phys_map thang on the sun platforms too, no reason not to.
2002-10-20 02:37:21 +00:00