Commit Graph

50000 Commits

Author SHA1 Message Date
matt
0e5be1dc2f Change kvtopte and kvtophys from ({ }) to static inline and while there
make them tolerable of rump.
2009-08-10 08:05:32 +00:00
matt
2a393d1c69 Add no options VMSWAP_UAREA and options ENABLE_MIPS_16KB_PAGE.
Gdium now gets as far as the root prompt.
2009-08-09 22:26:45 +00:00
matt
ee9482ada7 Add makeoptions DEBUG="-g" 2009-08-09 22:25:41 +00:00
matt
2ec5520014 If using 16KB pages and VMSWAP_UAREA isn't defined, then cpu_switch_resume
becomes a empty routine since the UAREA is now mapped via KSEG0 instead of
via TLB.
2009-08-09 22:24:53 +00:00
matt
b75d8d8bd3 If using 16KB pages, don't enable special CCA for loongson2 cpus. 2009-08-09 22:22:51 +00:00
matt
147944b204 Add 16KB variants of MIPS3_PG_{ODDPG,HVN,SVN} 2009-08-09 22:21:44 +00:00
christos
9d70e21035 put back drm. 2009-08-09 21:32:16 +00:00
christos
c0dd0d68ac remove drm stuff for now 2009-08-09 20:27:06 +00:00
christos
8ae4a49631 add spic and drm to generic 2009-08-09 19:37:35 +00:00
christos
c007c5e538 spic is moving 2009-08-09 19:35:36 +00:00
christos
574b39dfa6 move spic to common acpi. 2009-08-09 19:35:02 +00:00
matt
8987d18d1a Initialize Page Mask register based on PAGE_SIZE, don't assume it's always
going to be 4KB.  (And this change, I can boot a GDIUM kernel with 16KB
pages as far as I could with 4KB).
2009-08-09 17:53:54 +00:00
martin
3eb37b127d Fix misplaced #endif, from Henning Petersen in PR port-sparc64/41856 2009-08-09 13:15:05 +00:00
kiyohara
1c10f508e4 Support verdex and verdex-pro.
And
    + Support LCD controller.
    + Support SMSC LAN 9117 Ethernet controller.
    + Comment outed 'options GXIO_DEFAULT_EXPANSION'.  As for verdex-pro being
      sold now, this option becomes obstructive.
    + Remove some usb devices in GUMSTIX.
    + Update GUMSTIX.

Also
 Fix ARM ABI in gumstix_start.S.  Thanks Brett Slager <bds at ifgd.net>.
 Calculate RAM size in gumstix_start.S.
2009-08-09 07:10:13 +00:00
kiyohara
b76e3b1e19 Remove GPIO configuration for board dependently. 2009-08-09 06:24:03 +00:00
kiyohara
eb34e284af Fix matching by improper driver.
see http://mail-index.netbsd.org/port-arm/2009/07/08/msg000807.html

And remove some white-spaces.
2009-08-09 06:12:33 +00:00
matt
e51839706f Use PGSHIFT + 1 instead hardcoding 13.
Don't set Page Mask to 0 when invalidating a TLB entry.
2009-08-09 05:36:22 +00:00
matt
ead615cc2a s/struct device */device_t /g 2009-08-09 04:09:55 +00:00
matt
4d59439aa7 Change TLBMiss to use values based on NBPG and PGSHIFT instead of magic
numbers.
Use REG_S instead of sw in a few more places.  Use _MFCO as well.
2009-08-09 04:08:14 +00:00
matt
05f21e1df1 Add disabled code to set K0 CCA if CCA_SPECIAL is being used. 2009-08-09 04:06:35 +00:00
matt
efe42514d3 If Loongson2 way size is <= page size, don't enable mips_virtual_alias 2009-08-09 04:05:03 +00:00
matt
c9bc7bdfee Add latent ENABLE_MIPS_16KB_PAGE option. 2009-08-09 04:04:12 +00:00
matt
cc15998b88 Beginning of large-page support. 2009-08-09 04:02:40 +00:00
matt
17fa6905db s/struct device */device_t /;g 2009-08-09 04:02:00 +00:00
matt
065a21e041 Add the RL2561 PCI 801.11b/g 2009-08-08 20:50:44 +00:00
matt
142b72f410 Add pci_attach_hook to configure the ralink device since PMON didn't. This
avoids the over kill of PCI_NETBSD_CONFIGURE.  And given the bounded nature
of the Gdium, it's not as if someone is going to add more devices.
2009-08-08 20:49:58 +00:00
matt
c113c8b98f Don't hardcode the FB address. Read it from the PCI device.
Don't tell wasops to the clear the screen since we do it ourselves.
2009-08-08 20:48:33 +00:00
skrll
25f569f275 Whitespace. 2009-08-08 14:19:43 +00:00
skrll
8a8c968f1a Use device_xname. 2009-08-08 14:18:51 +00:00
matt
0c80f83e59 Clean up a bit. No reason to use 4way on icache ops (it clears all ways). 2009-08-07 23:23:58 +00:00
macallan
6e1dc1f650 set device properties for genfb, now wsdisplay attaches successfully
TODO: replace hardcoded values with reality
2009-08-07 19:27:54 +00:00
snj
72cb0cefcf Update path to the atheros HAL. 2009-08-07 18:48:38 +00:00
matt
fab892c926 Add loongson2 specific cache ops 2009-08-07 18:39:10 +00:00
matt
ec695a81bd Mark LOONGSON as uncached for the moment. 2009-08-07 03:33:28 +00:00
matt
a26452b1dd Interrupts now work. Fix old bug with softints. 2009-08-07 01:27:14 +00:00
matt
5161730624 Fix references to mips_ipl_si_to_sr which were off by 1. 2009-08-07 01:26:13 +00:00
matt
01327baca5 attach the missed evcnt too 2009-08-07 01:14:26 +00:00
matt
60dd40f5be Get the CPU frequency from the PMON environment (which it provided to us). 2009-08-07 00:11:08 +00:00
matt
d9c091be8f Use mips3_get_cache_config for Loongson2 2009-08-06 23:16:39 +00:00
matt
5e3f78448a print ra on trap. 2009-08-06 23:07:55 +00:00
matt
2891bea040 Update Loongston. Set colors and mark it as having virtual aliases. 2009-08-06 22:56:31 +00:00
macallan
54334fe790 enable the tcx driver 2009-08-06 18:28:41 +00:00
matt
db94de7856 Cleanup a bit and remove some debugging cruft that's no longer needed now
that the early console is working.
2009-08-06 16:37:01 +00:00
matt
7cb1141cfa Change MIPS64_LOONGSON2 to MIP3_LOONGSON2 since it's a MIPS3 and not MIPS64. 2009-08-06 16:13:07 +00:00
matt
cff0705eb4 The Loongson2 secondary cache is unified. 2009-08-06 15:58:46 +00:00
matt
bb6666c5a7 Make cidnames const 2009-08-06 15:58:12 +00:00
msaitoh
f02cd49d11 Add disassemble code for DMT, DMF, MTH and MFH. 2009-08-06 04:34:50 +00:00
matt
144bdbe663 Add Loongson2 support. 2009-08-06 01:27:47 +00:00
matt
74c9ebf370 GDIUM support. It compiles but doesn't yet work. It dies quickly in
mips_vector_init.
2009-08-06 00:50:25 +00:00
matt
fcbae537a4 Add ICT Loongson2 identification. 2009-08-06 00:46:34 +00:00