Commit Graph

26 Commits

Author SHA1 Message Date
hkenken
fd3ddc75ab fix compile error. 2014-07-25 16:04:27 +00:00
dholland
f9228f4225 Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
2014-07-25 08:10:31 +00:00
hkenken
b90407887d Add support for LCD Backlight control on NetWalker.
+ use imxpwm driver (PWM control driver for i.MX)
2014-05-06 11:22:53 +00:00
hkenken
9d71928c9c Imported pwrbtn and lidsw drivers for NetWalker. Those attached to GPIO bus.
+ power button
+ lid close switch
2014-05-06 11:08:51 +00:00
hkenken
93a0c86786 delete trailing whitespace 2014-04-09 12:35:34 +00:00
hkenken
59f1bd2b6a NetWalker kernels boot again.
* Enable __HAVE_MM_MD_DIRECT_MAPPED_PHYS
* Change VM layout
* Use common start-up routine
2014-04-09 04:00:50 +00:00
hkenken
459f2ce05f Add optical joystick support for NetWalker.
+ OJ6SH-T25 (Sharp "Optical TOUCH CRUISER" sensor)
+ 2 Mouse buttons (GPIO)
2014-03-29 12:00:27 +00:00
dholland
a68f9396b6 Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
2014-03-16 05:20:22 +00:00
hkenken
0e133e1d61 use initarm_common() 2014-01-24 02:06:03 +00:00
hkenken
2ce1224c19 use ukbd_cnattach() 2014-01-23 12:23:20 +00:00
matt
213e0bd398 <arm/locore.h> fallout (fixes some include ordering errors) 2013-08-18 15:58:19 +00:00
matt
ee6cde04ff Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed.  Default cortex to pmap_needs_fixup = 1.  But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
or enabeld (bit = 0).

With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.
2012-09-22 00:33:36 +00:00
matt
2101b6c77f Since the PMC cycle counter is started in cpufunc no reason to do so here.
Use curcpu()->ci_data.cpu_cc_freq and new armreg* inlines.
2012-08-29 19:10:15 +00:00
matt
83d36728df Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.
2012-08-16 18:22:37 +00:00
matt
a039bd91a6 Fix more -fno-common fallout.
Move more variables to common locations.
2012-07-29 00:07:06 +00:00
bsh
456cfa8109 Support i.MX51's LCD framebuffer on Netwalker.
from Kenichi Hashimoto.
2012-04-17 10:19:57 +00:00
bsh
f9b6ec2bd2 set same values to IOMUX registers as the linux kernel does.
make it a bit simpler. (we can treat MUX and PAD registers in the same
way here)
2012-04-15 10:34:14 +00:00
bsh
33c228ef9d initialize one more pin for USB Host1. 2012-04-15 10:19:47 +00:00
bsh
885e65883d delete many definitions like MUX_PIN_foo.
use MUX_PIN(foo) instead.
2012-04-15 10:16:37 +00:00
dyoung
fea15f47f1 #include <sys/bus.h> instead of <machine/bus.h>. 2011-07-01 20:36:42 +00:00
wiz
4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
matt
497ddd31b9 Add RCSID when needed.
Don't include pmap.h or pte.h, include "assym.h" instead.
Use assym.h provided values.
2011-01-31 06:28:02 +00:00
bsh
ba2df4f47e adapt to changes in imx51reg.h
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?
2010-12-09 05:00:14 +00:00
bsh
e5fd50b0bb support USB on NetWalker 2010-12-09 04:40:22 +00:00
hannken
c23fe3a530 As md(4) no longer has "needs-count" there is no "md.h" anymore.
Remove the inclusion of this file.

Acorn32 now always builds load_memory_disc_from_floppy().  This should
not be a problem as all configs have md(4).

Observed by: Masao Uebayashi <uebayasi@netbsd.org>
2010-11-28 08:23:22 +00:00
bsh
5e60bdb17c Sharp NetWalker PC-Z1 support by SHIMIZU Ryo, Hashimoto Kenichi, and me.
http://www.sharp.co.jp/netwalker/
2010-11-13 07:31:32 +00:00