uwe
67b202aca8
Use aprint_*, device_xname.
2008-02-17 06:03:13 +00:00
uwe
cf7d73cb17
hd64461_set_bus_width - use named constants instead of bit shift magic.
2008-02-17 05:38:30 +00:00
uwe
45b20506a7
hd64461_info: Print correct full name for STBCR (s/system/standby/).
2008-02-17 04:10:45 +00:00
uwe
33c3cdcb5b
Minor cosmetic - add blank like so that "if" is not visually jammed
...
into preceding "else if". Correct #endif comment.
2008-02-12 21:47:46 +00:00
joerg
e69482d49d
Introduce device_find_by_xname and device_find_by_driver_unit to replace
...
alldevs iterations all over src.
Patch discussed with and improved on suggestioned from cube@.
2008-02-12 17:30:57 +00:00
uwe
de7abf3b9f
Include std.sh3el.
...
Drop EXEC_ELF32 from configs now that it is standard.
2008-02-02 06:09:11 +00:00
uwe
f38b1e35de
Now that sh3 has didicated interrupt stack we can check for cpu_intr_p
...
with simple sp comparison, so we can drop ci_idepth.
2008-01-07 05:00:12 +00:00
ad
2ecdf58c2c
Remove systrace. Ok core@.
2007-12-31 15:31:24 +00:00
perry
9b2b412c19
__FUNCTION__ -> __func__
2007-12-15 00:39:14 +00:00
tsutsui
99221a563b
Use TAILQ_FIRST(3) and TAILQ_NEXT(3) macro.
2007-12-05 12:31:25 +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
kiyohara
a1297d6f3f
Add bcsp(4).
2007-12-02 05:19:11 +00:00
xtraeme
4ba09b41c3
Remove System V semaphores and share memory options to set the limits:
...
SEMMNI, SEMMNS, SEMUME and SHMMAXPGS.
They can be tweaked via sysctl now. Ports that were setting values on
them weren't touched, I only removed the ones that were commented out.
2007-11-04 14:34:19 +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
kiyohara
16a545f47e
Add psh3pwr(4).
2007-09-25 17:40:29 +00:00
kiyohara
e78479483b
Support apm(8).
2007-09-24 18:08:53 +00:00
kiyohara
685380a8a8
Add psh3pwr.
2007-09-24 16:16:42 +00:00
he
dc396e3ae7
Adapt to the new signature of kthread_create(), and the removal
...
of kthread_create1().
2007-07-17 11:16:14 +00:00
uwe
1158881562
Grr, revert unrelated changes that are traces of an unfinished experiment.
2007-07-11 22:17:55 +00:00
uwe
2af9604e01
Catch up with callout_init signature change.
2007-07-11 22:15:41 +00:00
uwe
aa22c77a5b
Fix previous: sc_event_thread should be a pointer to lwp_t.
2007-07-11 22:13:30 +00:00
ad
88ab7da936
Merge some of the less invasive changes from the vmlocking branch:
...
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
uwe
b419ee7e97
Don't treat KLOADER_KERNEL_PATH as an option to enable kloader(4).
...
Define proper option KLOADER instead and make KLOADER_KERNEL_PATH
default to "/netbsd". Make it possible to compile w/out kloader.
2007-06-03 19:46:23 +00:00
uwe
4a747421e0
Rename j6x0tp_set_enable to j6x0tp_enable_child which better reflects
...
what this function does and is way less confusing too.
2007-06-01 18:23:46 +00:00
uwe
aa1315c604
Cosmetic. Use device_xname. Don't compile debugging support. Drop
...
out-of-date comment for j6x0tp_attach (we haven't been using submatch
for quite a while).
2007-06-01 17:44:46 +00:00
uwe
6542efa4c8
Add COMPAT_40.
2007-06-01 14:30:32 +00:00
uwe
d3c68aea21
Cosmetic. Propagage "static" to definitions. Don't use // comments.
...
Add comments to mark machdep hpcapm functions and pertinent vars.
2007-03-13 03:00:49 +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
thorpej
16ed6645b5
TRUE -> true, FALSE -> false
2007-02-22 05:31:52 +00:00
thorpej
712239e366
Replace the Mach-derived boolean_t type with the C99 bool type. A
...
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 22:59:35 +00:00
mrg
4410329b87
add a pair of new bus_dma(9) functions:
...
int _bus_dmatag_subregion(bus_dma_tag_t tag,
bus_addr_t min_addr,
bus_addr_t max_addr,
bus_dma_tag_t *newtag,
int flags)
void _bus_dmatag_destroy(bus_dma_tag_t tag)
that allow a (normally broken/limited) device to restrict the bus address
range it can talk to. this is used by bce(4) to limit DMA addresses to
1GB range, the maximum the chip can address.
all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several
people on tech-kern.
XXX: bus_dma(9) needs an update still.
2007-02-21 20:41:23 +00:00
ad
3363855a4a
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
...
via a soft interrupt. In the near future, softclock will be run from process
context.
2007-02-16 02:53:43 +00:00
ad
b07ec3fc38
Merge newlock2 to head.
2007-02-09 21:55:00 +00:00
kiyohara
e3e6e213ed
follows to style guide and C99.
...
Add ARGSUSED and __unused.
Remove braces at return.
Use device_private() and aprint_*().
2007-01-21 11:01:09 +00:00
yamt
8bf7662829
merge yamt-splraiseipl branch.
...
- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
2006-12-21 15:55:21 +00:00
wiz
6919c6578c
s/independant/independent/, from Zafer.
2006-11-24 22:04:21 +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
jmmv
7a13fe4abf
Remove tmpfs's experimental status. OK'ed by core@.
2006-11-11 18:47:08 +00:00
uwe
523122cd3e
Nuke GPROF cargo-cult I've been cut-n-pasting around in my drivers.
2006-10-27 00:08:32 +00:00
uwe
6ac2d0e699
Revert previous that apparently has been committed by mistake.
...
It actually contained just some debugging printfs, and *wrong*
debugging printfs at that (hi, jared :)
2006-10-22 00:33:14 +00:00
jmcneill
f135e0d607
Add "name" parameter to powerhook_establish, to aid debugging. No objections
...
on tech-kern@
2006-09-24 03:53:07 +00:00
uwe
57675076eb
Switch the rest of sh3 ports to todr(9)
...
Split code to handle on-chip rtc into a separate driver
Eliminate all todr code from clock.c
Move __HAVE_GENERIC_TODR to sh3/include/types.h
2006-09-20 00:41:11 +00:00
christos
e0df1e4c51
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
...
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
tsutsui
6ff205ce76
Remove obsolete #options VERIFIED_EXEC, found by grep(1).
2006-08-26 07:59:21 +00:00
uwe
01cddb97a0
Refer sc_font.wsfont explicitly instead of playing cast tricks.
2006-08-18 00:41:57 +00:00
uwe
4fc8146812
Whether hd64461video is console is not is irrelevant to powering it up
...
on PWR_RESUME. Drop that bogus test and check whether the screen was
blanked instead to corerctly reflect blanked status across suspends.
2006-08-14 02:34:04 +00:00
drochner
84f50d1b92
don't install <machine/db_machdep.h>, this is kernel only
2006-07-26 19:54:56 +00:00
uwe
43d9f78e91
Using "irq" in different functions to either x or 1<<x is confusing.
...
Rename.
2006-07-22 02:13:06 +00:00
uwe
c50fbd7f2b
We don't need to update HD6446X_NIMR when (dis)establishing an
...
interrupt as splx will update it from the recomputed mask anyway.
2006-07-22 01:53:49 +00:00
uwe
485a350c1b
hd6446x_intr_priority_update: simplify.
2006-07-22 01:34:55 +00:00