Commit Graph

52886 Commits

Author SHA1 Message Date
cliff
7cb2c00520 - fix typo when clearing pre-existing intrs in attach 2011-03-18 01:21:34 +00:00
cliff
a8135f3979 - add support for Peripherals IO Bus for RMI XL* chips 2011-03-18 01:05:57 +00:00
cliff
420e258418 - add NAND suport for RMI XL* chips 2011-03-18 01:04:46 +00:00
cliff
ea3f01c4f4 - add support for Peripherals IO Bus for RMI XL* chips 2011-03-18 01:04:09 +00:00
cliff
da7d3d24b2 add gpio support for RMI XL* chips 2011-03-18 01:03:10 +00:00
cliff
4b13361d31 - remove obsolete "TBD" comment 2011-03-18 00:59:13 +00:00
cliff
aa20fcdd11 - add to struct rmixl_config storage for IO Peripherals Bus
base address, address mask, and bus space.
2011-03-18 00:58:54 +00:00
cliff
0224687993 - add register & bit defines for GPIO, Peripherals IO Bus, Flash, NAND 2011-03-18 00:58:35 +00:00
skrll
5dea138bb6 HPPA TLS support. 2011-03-17 22:14:43 +00:00
tsutsui
31a177fdc6 umass doesn't take channel. 2011-03-17 13:26:51 +00:00
tsutsui
3e2ac64ecd Include files.ata for atapibus at umass. 2011-03-17 13:25:54 +00:00
matt
f4643b0019 Use l->l_md.md_utf in preference to trapframe(l). This shrink the kernel
just a bit in size.
2011-03-16 21:15:29 +00:00
matt
6c2b5ffdfb Enable COMPAT_50 2011-03-16 21:12:15 +00:00
matt
8dca7c28a5 First pass at a P2020RDB configuration. 2011-03-16 21:11:12 +00:00
matt
34fa69f34c Add alc device. 2011-03-16 21:10:35 +00:00
tsutsui
72f5d65e7e Set R_CAUSE into trapframe in curlwp before calling mips_fpu_trap()
for workaround PR port-mips/44639.

mipsX_user_gen_exception() in mipsX_subr.S (which may call
mips_fpu_trap()) doesn't set R_CAUSE in curlwp trapframe, while
mips1_use_intr() in locore_mips1.S (that may call mips_fpu_intr()) does.

All tests in tests/lib/libc/ieeefp on MIPS3 should pass now.
2011-03-16 15:14:08 +00:00
tsutsui
a75c782742 Fix possible load delay hazard on R3000.
(probably no one has set breakpoint on R3000?)
2011-03-16 14:54:31 +00:00
tsutsui
394df815c4 Split device_t/softc. Tested on GXemul. 2011-03-16 14:47:34 +00:00
tsutsui
ed9bbcc9a4 Fix device_t/softc confusion.
(currently harmless since they are not split yet)
2011-03-16 14:43:36 +00:00
tsutsui
96976f4680 Some KNF. 2011-03-16 14:39:26 +00:00
tsutsui
ed22fb0c9f KNF and cosmetics. 2011-03-16 14:28:39 +00:00
tsutsui
b9aa437bde Fix signedness issue triggered by 64 bit time_t. 2011-03-16 14:23:19 +00:00
tsutsui
dbcedb7981 Set sr_bits[IPL_HIGH] properly, rather than setting sr_bits[IPL_VM] twice.
I wonder if gcc could warn such botch in C99 array or member initializers...
2011-03-16 13:38:34 +00:00
tsutsui
a59ce07236 vr_intr_handler[] takes status for hardclock(9), not ipending. 2011-03-16 13:26:55 +00:00
tsutsui
f807d1d233 Avoid possible future device_t/softc confusion. 2011-03-16 13:24:42 +00:00
tsutsui
7c1de38adb Blindly prepare an equivalent function with old _spllower(~MIPS_INT_MASK_0)
that disabled all interrupts except PIU.  Compile test only.
2011-03-16 13:23:41 +00:00
tsutsui
fbade1d5d2 Put awful kludge to make MI kloader.c link on hpcmips.
XXX: sys/dev/kloader.c should not refer avail_start and avail_end
2011-03-16 13:08:22 +00:00
jakllsch
43a7c6ff37 sys/arch/x86/x86/iclockmod.c has been removed. 2011-03-16 11:35:36 +00:00
dholland
dbaa2b6038 Fix build with no pchb. From Aran Clauson in PR 44720. 2011-03-16 06:02:36 +00:00
mrg
b5a61ad822 revert the iommu changes for now. my U60 doesn't like them. 2011-03-16 05:49:43 +00:00
matt
91d8d9869d Fix various nits related to P2020 support. 2011-03-16 05:31:03 +00:00
macallan
2a482c99b5 change the CPU speed sysctl to look more like the ACPI ones, as in
machdep.<name>.frequency.available etc. so estd can work with minimal changes
2011-03-16 05:08:29 +00:00
mrg
b2a581d676 minor clean up. 2011-03-16 04:00:42 +00:00
mrg
9928219de3 don't try to turn on parity or set the latency timer, or dump pci config
space for the pci bridge in sparc64_pci_enumerate_bus().  it doesn't work
on PCIe adapters.  #if 0'ed for now, should move this into psycho/schizo.
2011-03-16 03:54:51 +00:00
mrg
965d243c6a use struct iommureg_old. 2011-03-16 03:51:29 +00:00
mrg
75f6101916 add back the old iommureg definition, as iommureg_old. 2011-03-16 03:49:53 +00:00
mrg
1500ba0717 various changes to adapt for Fire controller support, based upon the
openbsd code to do the same:

- add the tsb size into the ptsb bits
- avoid setting tsbsize in the CR
- disable IDB_INFO for now; it crashes
- add new macros for reading/writing IOMMU registers (need to use
  these more regularly across the whole file)
- add a missing membar #lookaside
- add support for flushing the pyro(4) caches
- extend struct iommureg to include everything pyro
2011-03-16 02:41:19 +00:00
mrg
6534742ba8 add some control registers found on the Fire and Jupiter busses.
from openbsd.
2011-03-16 02:35:48 +00:00
riz
753af18e2c Add otus(4), Atheros AR9100U usb wireless driver. 2011-03-15 23:27:47 +00:00
mrg
a1b3c3f005 initial port of these drivers to netbsd. both pyro(4) and ebus(4) at
mainbus depend upon other as-yet uncommited changes.
2011-03-15 11:42:03 +00:00
mrg
79023f55de also attach for su16552 compatible devices. 2011-03-15 11:22:18 +00:00
mrg
5b208c27ee import the openbsd pyro and ebus_mainbus drivers for base reference. 2011-03-15 11:21:04 +00:00
matt
400ff9c4eb Add separate support for MIPS32R2 and MIPS64R2.
Use EHB/SSNOP and jr.hb ra as appropriate (COP0_SYNC now uses them).
Add support for COP_0_HWRENA and COP_0_USERLOCAL (use by rdhwr $3,$29
instruction for TLS support).
Add mips3+ reserved instruction handler to emulate rdhwr is many fewer
instructions.
2011-03-15 07:39:22 +00:00
matt
7bf03f836e Remove redundant lines. 2011-03-15 07:33:54 +00:00
matt
0f39e35780 Add MIPS TLS support. 2011-03-15 07:33:36 +00:00
matt
ee19fddbeb Use KDASSERT and kpreempt_disable/enable in pmap_tlb_asid_check 2011-03-15 07:32:53 +00:00
matt
f69279f986 Make sure we do proper locking if LOCKDEBUG is defined 2011-03-15 07:31:33 +00:00
phx
bb3d014cec With the new boot argument "altboot" the program can replace itself with a
new binary while running.
The default boot path was changed from nfs: to wd0:.
Bumped altboot version to 1.7.
2011-03-13 15:23:43 +00:00
he
3137b7b1b0 Bump the install image size from 1.5 to 1.6M so that it fits again. 2011-03-13 12:58:02 +00:00
phx
907f2e574e Enter interactive mode, when a key is pressed within two seconds. 2011-03-13 01:56:21 +00:00