Commit Graph

57426 Commits

Author SHA1 Message Date
jakllsch
bed2984a0b Enable file-system EXT2FS. 2013-05-03 15:46:53 +00:00
jakllsch
8cf4682dc7 Enable sdhc* at cardbus? in amd64 GENERIC. As it is already in i386
GENERIC. sdhc(4) has had working detach support for a while now too.
2013-05-03 15:45:24 +00:00
jakllsch
fb9266188c use IO_VGA as symbolic constant for 0x3c0 in x86_genfb_set_mapreg() 2013-05-03 15:42:29 +00:00
kiyohara
9d06634d8c Add description for epoc32. 2013-05-02 12:09:40 +00:00
matt
5695f408d6 use KLINK_MACHINE 2013-05-02 04:22:44 +00:00
matt
5f058922b3 This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
2013-05-02 03:56:38 +00:00
matt
3b8856a9cc Cleanup.
bsd.init.mk include ../Machine.inc so don't do it again.
For now, restrict this to epoc32 because of the external tools needed
2013-05-01 22:57:37 +00:00
matt
0d1154fda7 Fix abi/arch/float-abi for boot code
Force machine to be acorn26
Only build when little-endian non-eabi
2013-05-01 22:36:52 +00:00
matt
909d4efb97 Fix abi/arch/float-abi so can be built from any arm port.
Force MACHINE to acorn32
Only build little-endian non-earm.
2013-05-01 22:30:39 +00:00
matt
b9022c47e4 Force abi/float-abi/cpu
Only allow to build on little-endian.
Force MACHINE to be zaurus.
2013-05-01 22:16:15 +00:00
macallan
10afb9e227 add G5 support
from Phileas Fogg
2013-05-01 14:24:48 +00:00
kiyohara
4aba7d3a0d Support to build for epoc32 userland. 2013-05-01 13:11:59 +00:00
rkujawa
d625d3f379 Add Armada XP specific IDs and registers.
Obtained from Marvell, Semihalf.
2013-05-01 12:51:27 +00:00
rkujawa
f6e8c1845d Add support for timers on Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:45:31 +00:00
rkujawa
0713245bb7 Handle situations where we can have more pexes, like Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:38:06 +00:00
rkujawa
a0613ffa11 Add register definitions for Aramada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:34:45 +00:00
rkujawa
c370465bf5 Handle differences for Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:32:46 +00:00
matt
282003e05c Use the common Makefile to pick up includes needed to be done by every
arm port.
2013-05-01 12:02:55 +00:00
matt
e08bec562f Pickup fenv.h from a common location since it's only used from userland
and the kernel will never include it.
2013-05-01 12:01:55 +00:00
matt
afd09cfbe6 Add a default arm32 vmparam.h 2013-05-01 12:00:51 +00:00
mlelstv
c2b23d53a6 For a polled console incoming characters are buffered on output.
The buffer is never passed to the regular tty routines and can
survive from early boot to halt where it is read by the "press
any continue to reboot" loops.
As a workaround, just kill the read-ahead buffer when switching
from and to polled mode.
2013-05-01 07:38:00 +00:00
mlelstv
9af7d72b34 Fix prototype 2013-05-01 07:33:24 +00:00
macallan
04a1b8ca72 zero sc_iot and sc_memt before using them
from Phileas Fogg
while there, set sc_dev properly
2013-04-30 10:16:25 +00:00
matt
da73339b7d for the TI AM335x, use the control_status register in the control module
to obtain the base frequency instead of assuming it's always 24MHz.
2013-04-30 05:39:44 +00:00
matt
cc2f927a81 Add minimal definition for control module control status register to obtain
the base frequency used for the system clock.
2013-04-30 05:37:51 +00:00
matt
dc8e848df6 comment out MEMSIZE (now that we probe memory size)
Add second sdhc controller for beaglebone black
2013-04-30 00:26:19 +00:00
matt
df03fab40e Map EMIF0 for TIAM335X and use to probe memory size. 2013-04-30 00:18:01 +00:00
matt
5e2db00335 Add TI_AM335x EMIF SDRAM_CONFIG definitions 2013-04-30 00:17:24 +00:00
kiyohara
ae7a7c18bb Add some defines for epoc32. 2013-04-29 12:47:14 +00:00
nakayama
aa19dc536d Use macros in machine/asm.h instead of locally defined, and
introduce CASPTRA for casxa/casa.
2013-04-28 23:42:23 +00:00
isaki
7e67d439af Fix a kernel panic by printf(1).
The 2nd byte of ISO-2022-JP must be 0x21-0x7e.  Especially,
the character code less than 0x2121 causes SEGV, because a
font address points outside of the CGROM.
Reported by tsutsui@.  Should be pulled up to netbsd-6.
2013-04-28 14:44:46 +00:00
christos
c7de6e5ccf If we have both wedge and partition info, use the partition info in the
wedge case too. From mlelstv.
XXX: pullup-6
2013-04-28 14:32:55 +00:00
kiyohara
d7b7d02e73 Add new port NetBSD/epoc32. 2013-04-28 12:11:25 +00:00
kiyohara
0514024aff Add support SoC CL PS-711x. 2013-04-28 11:57:13 +00:00
kiyohara
532bd4edbe Fix ID ARM710a for CL PS-711x. 2013-04-28 11:51:41 +00:00
macallan
f6a41c7ccb remove PMAC_G5 kludge - fixed this elsewhere 2013-04-28 00:45:45 +00:00
macallan
76c99e815c some macppc boxes have onboard devices where parts or the whole PCI interrupt
register is hardwired to zero - fix this up here
2013-04-28 00:44:27 +00:00
macallan
5b4a4538c0 make this work on G5
from Phileas Fogg, interrupt fixup from me
2013-04-28 00:42:29 +00:00
rkujawa
d425271cba Add slhci at zbus (Thylacine) and some USB HID devices. 2013-04-27 22:29:56 +00:00
rkujawa
5bc844d257 Add Thylacine USB Host Controller driver (just a zbus frontend to slhci).
Barely works due to combination of SL811HS brain damagae and our unforgiving
driver. At least most keyboards and mices are good. Of course on amiga WSCONS
kernel is needed to make any use of them.
2013-04-27 22:27:33 +00:00
christos
9434c99ee1 more bogus number removal 2013-04-27 22:21:12 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
joerg
89a508fbb5 Systematically include sys/featuretest.h when _NETBSD_SOURCE is used.
Some are redundant, but make verification with grep much easier.
2013-04-27 21:35:24 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00
christos
9569800454 spiflash is mi now 2013-04-26 18:35:43 +00:00
rkujawa
9d0be2ec38 Add tps65217pmic to BEAGLEBONE config. 2013-04-25 20:56:20 +00:00
rkujawa
d0e53d93e6 Don't discard flags in ti_iic_exec when calling ti_iic_op. I'm not sure if
that's the correct solution. But it unbreaks the drivers when calling iic_exec
with I2C_F_POLL flag.
2013-04-25 13:04:27 +00:00
macallan
8b734aa316 map more register space on Shasta/K2, needed for SMU mailbox registers 2013-04-25 11:22:22 +00:00
macallan
9ab0014b38 make delay() work with _ARCH_PPC64 2013-04-25 00:11:35 +00:00
macallan
9c39c70523 we can read the timebase register as a 64bit chunk when _ARCH_PPC64 is defined,
not necessarily LP64
2013-04-25 00:08:48 +00:00