Commit Graph

213522 Commits

Author SHA1 Message Date
joerg
2b3d1ee8a7 Update LLVM/Clang snapshot to r164464. This adopts the GCC options for
the SSP parameters and a not-yet-default rewrite of SROA.
2012-09-23 17:22:22 +00:00
skrll
4d3178885d Map 1M beyond _end to make sure we bootstrap. 2012-09-23 15:56:32 +00:00
joerg
df60fe4b74 Don't use a usbd_status as an int, split error into two variables. 2012-09-23 14:40:29 +00:00
jdc
5e8337c848 Wrap sbuserr_handler and sbus_error with:
#if (defined(SUN4M) && !defined(MSIIEP)) || defined(SUN4D)
to give them the same scope as the definitions in ../sparc/intr.c.
Allows SUN4C-only kernels to compile.
OK mrg
2012-09-23 09:54:04 +00:00
mrg
172bbb2df1 correct some comments on #endif to match their #if. 2012-09-23 06:05:32 +00:00
chs
35b7579ba4 add more sd and pci devices.
remove duplicate ch0.
2012-09-23 01:15:17 +00:00
chs
2ccc2d5e7f remove a debug printf. 2012-09-23 01:14:40 +00:00
chs
d041230792 add entries for AOE and FCOE. 2012-09-23 01:14:19 +00:00
chs
7c1a5cf99a don't try to handle sensors if there aren't any. 2012-09-23 01:13:52 +00:00
chs
9f28853c07 set chan_bustype correctly. 2012-09-23 01:13:21 +00:00
chs
3800a5b79b reformat product array to match openbsd. 2012-09-23 01:12:51 +00:00
chs
c33df53519 use 64-bit DMA where possible. 2012-09-23 01:12:01 +00:00
chs
501d934acd fix a debug printf. 2012-09-23 01:11:14 +00:00
chs
89b88fd7d4 match some more devices. 2012-09-23 01:10:59 +00:00
chs
d5e4ea6372 add an entry for subclass HD audio. 2012-09-23 01:10:10 +00:00
chs
b218cf07d5 regen 2012-09-23 01:09:43 +00:00
chs
83454680a3 add a bunch of devices. 2012-09-23 01:09:10 +00:00
chs
bd1aea2036 add a bunch of devices. from openbsd. 2012-09-23 01:08:17 +00:00
chs
e2a951f284 regen 2012-09-23 01:07:37 +00:00
chs
4775ac8deb add a bunch of devices. from openbsd. 2012-09-23 01:06:31 +00:00
chs
ebb8f1a4a1 add vmt entry to GENERIC.
standardize commented pfsync and npf entries.
2012-09-23 01:05:21 +00:00
chs
776e812c0f add some more devices and options. 2012-09-23 01:03:39 +00:00
chs
faa1403954 sync ldscripts; add cacheline_aligned and read_mostly handling
to the non-default ones.
2012-09-23 01:01:17 +00:00
chs
323db750fc locate PCI buses and determine their bus numbers using the info
previously extracted from ACPICA rather than trying to figure it out again.
allow PCI buses that don't have a _PRT method.
2012-09-23 00:31:05 +00:00
chs
7a69ec70ee re-enable the code to disable link devices at startup, ie. revert rev 1.3.
this fixes PCI interrupts on some systems (eg. HP XW9400) and we suspect that
the problems which led to the original change were caused by buggy early
implementations of ACPI, which are now ignored by date.
2012-09-23 00:26:25 +00:00
joerg
511ffdeb22 LINUX_RLIM_INFINITY doesn't fit into the value range for linux32, so
introduce a variant with correct value.
2012-09-22 22:34:02 +00:00
matt
c0b8ea677c Disable L2 cache for now. Add phys for wm 2012-09-22 19:53:03 +00:00
matt
6e545d1ff9 Add FPU_VFP option 2012-09-22 19:49:34 +00:00
matt
c872068c8a Only use CPACR register for ARM11 and CORTEX cores.
Add VFP ids for other CORTEX CPUs.
2012-09-22 19:45:53 +00:00
tsutsui
f370af7faf Fix PR kern/46828 (6.0_BETA2 and 6.0_RC1 won't start on DL320/G5p):
In ehci_get_ownership(), don't explicitly clear EHCI_LEG_HC_BIOS_OWNED
 semaphore bit in the driver before asking BIOS to give up ownership.
 The EHCI spec implies that the semaphore should not be changed by
 the other agent and actually the previous one (introduced in rev 1.53
 after 5.x) caused hangup during probe on at least two HP machines
 as mentioned in the PR.  Analyzed and patch provided by Ryo ONODERA.

Should be pulled up to netbsd-6 (fatal hangup during boot).
2012-09-22 14:27:24 +00:00
ast
0b98a54c44 Make sure that the "to fix, run: ..." instructions actually work cut-and-paste
By default postinstall has mode 644 so /bin/sh or similar needs to be prepended
2012-09-22 09:20:06 +00:00
matt
c19c02a3a4 Add busaddr to paddr routine and use it.
cleanup the PREREAD sync case.
2012-09-22 01:48:50 +00:00
matt
84bc5974e2 Add interrupt/iwin/owin / netbsd_configure code. 2012-09-22 01:47:46 +00:00
matt
4432170774 PCIE each have 6 interrupts 2012-09-22 01:46:57 +00:00
matt
afa4d29a1a Add a few more PCIE registers 2012-09-22 01:46:31 +00:00
matt
df4c4d2c87 Before testing for VFP, make sure CP10 is enabled. (And CP11 for Neon too). 2012-09-22 01:44:12 +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
1e069ddadf Add a 'mach fault' command to print DFAR/DFSR/IFAR/IFSR/TTBR 2012-09-21 22:12:35 +00:00
joerg
852c4daa51 Don't use NODEV when comparing against a major number as this is an
impossible type mismatch.
2012-09-21 16:38:54 +00:00
pooka
bf01f875b4 For the rumpsp protocol, don't assume that the bit representation of
errnos match on the client and server platforms (the syscall subprotocol
errnos are handled by the server compat code).
2012-09-21 14:33:03 +00:00
matt
5cb635c383 Switch to the generic bounce buffer support. 2012-09-21 14:21:57 +00:00
ginsbach
e382c60d0d Add APIPA 2012-09-21 14:10:14 +00:00
ryo
4829c4fc5e adapt for _UC_TLSBASE.
Approved by manu@ and msaitoh@
2012-09-21 09:05:08 +00:00
martin
ed03c01997 Fix npf module paths 2012-09-21 08:42:33 +00:00
wiz
79e4d034f8 Mention that gcc-4.5.4 was imported and that 4.7.2 is out. 2012-09-21 08:15:08 +00:00
macallan
8672c8bb4a support anti-aliased fonts, glyph caching etc. 2012-09-21 01:07:44 +00:00
msaitoh
ba5d11d6ea Fix device timeout problem.
- Change the synching order of descriptors. First, sync descriptors except
  first and then sync the first descriptor.
- To recover from an race condition, reduce the if_timer from 5 to 1 and
  when timeout occur write MVGBE_TQC_ENQ bit again.
2012-09-21 00:26:15 +00:00
gdt
d2966f6e1d Fix whitespace (mostly removing trailing).
This commit changes only whitespace (trailing, tabs vs spaces,
removing spurious newlines).  From Bev Schwartz of BBN.
2012-09-20 23:50:05 +00:00
jdf
fb0c167f53 Correct name of the less version.
Patch provided by Snader_LB (Freenode).
2012-09-20 21:16:48 +00:00
christos
9db5ca4e66 add back old options for compatibility, but complain if specified. 2012-09-20 18:56:05 +00:00