239005 Commits

Author SHA1 Message Date
pgoyette
78da7b9d09 Always include the "vfs" attribute (module). Although all of the
ufs/xxx file systems depend on the vfs attribute, it is not required
that any file system actually be built-in to the kernel.  (At least
on some architectures, file system modules can be loaded at boot
time.)
2015-11-14 07:31:13 +00:00
marty
4b1d0b9529 SNAPSHOT: DOES NOT BOOT
First crack at configuration files for the Hardkernel ODROID XU4.

This kernel hangs attempting to write to the console early in boot.
2015-11-14 07:15:58 +00:00
jakllsch
d7a3612ef4 Jetson TK1 u-boot sets up PCI IO space in an impossible-to-use
configuration.  As we're already allocating resources on the PCI
bus, set up our own mapping of PCI address spaces into the ARM
address space.  We rely on a potential overlap of address space
windows to allow us to use the same bus_space_tag for PCI Memory
and IO spaces.

The PCI attachment of the onboard re(4) uses PCI IO space in
preference to PCI Memory space for register accessses.  As IO space
was impossible to use, we had to avoid IO space.  This is now no
longer the case, so set up and enable IO space for PCI devices.

Also, map ROM BARs.
2015-11-14 03:44:52 +00:00
pgoyette
ceb937987d Fix obvious typo - even though it is inside a #ifdef notyet ... #endif 2015-11-14 03:25:53 +00:00
jakllsch
abb2550c2b Correct TEGRA_PCIE_A[123] window definitions. Replace existing
usages thereof (and related bus space handles, etc.) with more
appropriate names.
2015-11-14 02:10:10 +00:00
jakllsch
2d20fb4592 Increment TEGRA_PCIE_SIZE
It's a size, not a last-valid-offset.
2015-11-14 02:00:42 +00:00
jakllsch
7db0ebe36b add more AFI BAR register offsets 2015-11-14 01:38:58 +00:00
jakllsch
cd9c845187 We don't need to use any particular value, but use the actual interrupt
number for the PCI_INTERRUPT_LINE.
2015-11-14 01:31:08 +00:00
christos
01186a5b06 PR/50426: Dave Tyson: Fix ntp reported version. 2015-11-13 20:31:27 +00:00
christos
2e3d23cd2c redo previous, not needed. 2015-11-13 19:13:50 +00:00
jakllsch
d87d62cffa Limit configuration space access to the non-emulated busses to legacy
PCI_CONF_SIZE.  Extended configuration access is possible, we just have
to implement it without wasting up to 256MiB of KVA.
2015-11-13 18:58:17 +00:00
jakllsch
6ec5e36849 validate emulated bus 0 configuration space access more carefully 2015-11-13 18:52:16 +00:00
jakllsch
719b0036a7 drop white space on empty line 2015-11-13 18:23:17 +00:00
christos
4ae24fd01a Handle 0b locally since anyway this is not portable. 2015-11-13 16:04:58 +00:00
phx
d91190d038 Make sure the graphics device which has the console gets wsdisplay0,
otherwise neither virtual terminals nor Xorg's wsfb driver will work.
2015-11-13 16:04:07 +00:00
christos
01e84cc634 comment out 0{b,B} handling. 2015-11-13 16:02:07 +00:00
christos
53ba0e3d35 revert 0b documentation. 2015-11-13 16:00:32 +00:00
christos
50ccfe1eab Generalize the test, compare on the protocol semantics instead of the name
since it could be udp6...
2015-11-13 15:23:17 +00:00
christos
6cd5630e13 Do proper accounting for the extra -1 slot. Perhaps this is too confusing
and it would be better to just access the array with [fd + 1] instead?
2015-11-13 15:22:12 +00:00
pooka
d5e7c6e861 Fix bug in readdir loop condition.
Reading all dirents using a small buffer and multiple calls now works.

Bug found by "Shamar" on #rumpkernel
2015-11-13 13:36:54 +00:00
tron
25c8e9abea Remove now unnecessary cast. 2015-11-13 11:43:26 +00:00
tron
7655e3065e Don't try to use listen(2) on a UDP socket which will always fail.
Previously this was not a problem because the return value of listen(2)
was ignored. With this fix amd(8) no longer fails to start with the
error message "cannot create rpc/udp service".

TL;DR: Make amd(8) work again
2015-11-13 11:23:08 +00:00
tron
65a6071730 Avoid broken state if realloc(3) fails. 2015-11-13 10:43:32 +00:00
wiz
455c3673bc Family is singular, so use singular form of verb. 2015-11-13 09:56:27 +00:00
wiz
3baeca6f8b Bump date for previous, remove empty line. 2015-11-13 09:51:16 +00:00
wiz
594b3ba9a8 Remove trailing whitespace. 2015-11-13 09:50:31 +00:00
skrll
c5325a8d39 Tweak the KASSERTs in pmap_update in the ARM_MMU_EXTENDED case - Lazy
updating is not done on the kernel pmap.

PR port-arm/50420: curcpu()->ci_pmap_cur != pm || pm->pm_pai[0].pai_asid == curcpu()->ci_pmap_asid_cur" failed
2015-11-13 08:04:21 +00:00
skrll
60c5270f27 Wrap long lines. 2015-11-13 07:55:18 +00:00
msaitoh
9ec2b1dc37 Fix register offset to print HyperTransport registers correctly. 2015-11-13 03:56:44 +00:00
christos
cce9b2f24e remove extra semicolons. 2015-11-13 01:37:19 +00:00
christos
d78e1b84d7 regen 2015-11-12 23:11:21 +00:00
riz
d39dd3ba38 Declare variables under the same conditions as their use. 2015-11-12 22:10:48 +00:00
christos
529d2b9702 put back the old ones until the rest is generated 2015-11-12 20:14:55 +00:00
christos
39fec168ea Regen; it's been a *long* while. 2015-11-12 18:28:34 +00:00
christos
3296beefcd PR/50422: Robert Elz: df -G prints the wrong value for fragsize (+FIX)
For df -G, print the block and fragment size instead of the iosize
and the blocksize. If we need to print the iosize, it should be done
in a different field. Nevertheless printing the blocksize in the fragment
size field is just wrong.
XXX: pullup-6, pullup-7
2015-11-12 17:59:21 +00:00
christos
05dbf82446 consistency fixes. 2015-11-12 17:51:05 +00:00
phx
d656580485 Add sandpoint ddb-entry method. 2015-11-12 17:45:12 +00:00
christos
5e9bf06a78 Recognize binary constants 2015-11-12 17:34:01 +00:00
christos
fd6ed0e3f6 Fix capitalization 2015-11-12 17:31:43 +00:00
christos
6ea48155ff Now that our source tree has binary constants, recognize them. 2015-11-12 17:30:03 +00:00
christos
557b696a7a Recognize 0[bB] as binary (base 2) 2015-11-12 17:23:51 +00:00
christos
6c340bb484 Add usage function, various cosmetics; no functional change. 2015-11-12 16:51:18 +00:00
christos
2a5df0a68f Use the new DK_DEV_BSIZE_OK() macro. 2015-11-12 15:28:07 +00:00
christos
ce52e80579 Add DK_DEV_BSIZE_OK() 2015-11-12 15:25:22 +00:00
phx
f8fe085c49 Amiga Xorg support. 2015-11-12 15:13:03 +00:00
joerg
a3e166507d Ensure that the callout of the multicast address is valid before
hooking it up.
2015-11-12 15:01:06 +00:00
pooka
d0f0cf2fcb In ioconfname mode, #define IOCONF as the ioconf token.
Avoids having to retype the name to call config_init/fini_component().
2015-11-12 14:38:21 +00:00
phx
599bbc23d0 Use the MD_BTOP() macro as replacement for m68k_btop() in all device
drivers which are shared with amigappc.
2015-11-12 12:19:49 +00:00
msaitoh
d40faa45fb - Restore pci_subr.c rev. 1.135's change in pci_conf_print_caplist().
As wrote in the comment, HyperTransport capability appears multiple times.
  pci_conf_cap() reruns only the first entry, so it can't be used here.
- Try to decode HyperTransport capability. Currently, the capability type
  of each HyperTransport capability is printed and only the MSI Mapping
  capability is decoded.
- Style change.
2015-11-12 12:17:59 +00:00
msaitoh
e2a104e557 PCI_HT_CAP() is right shifted value, so PCI_HT_CAP_* should not use
__SHIFTIN(). This change fixes a bug that HyperTransport system misunderstand
whether MSI/MSI-X can be used or not.
2015-11-12 12:08:13 +00:00