Commit Graph

238849 Commits

Author SHA1 Message Date
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
phx
656c43404f Xorg for amiga via wsfb. Currently available on CV64 and CV64/3D. More
graphics cards will follow, when adding wscons support to them.

I didn't manage to make the "wskbd" protocol the default in the X server,
so you have to provide a small xorg.conf with Option "Protocol" "wskbd".
The standard protocol will not work as the Amiga wskbd cannot be switched
into raw mode and has no AT-scancode translation in the kernel.

On the positive side, wskbd also works with national keymaps under X.

The graphics modes can still be defined via grfconfig(8). Xorg's wsfb
driver uses the current grf video mode, which is usually mode #1.
All resolutions and depths seem to work (tested on CV64).
2015-11-12 12:01:53 +00:00
hannken
fa45966e6d Take the vnode lock before the vnode is marked VI_CHANGING and fed
to vclean().  Prevents a deadlock with two null mounts on the same
physical mount where one thread tries to vclean() a layer node and
another thread tries to vget() a layer node pointing to the same
physical node.

Fixes PR kern/50375 layerfs (nullfs) locking problem leading to livelock
2015-11-12 11:35:42 +00:00
jmcneill
7017cd79aa change some register dumps from aprint_verbose to aprint_debug 2015-11-12 10:49:35 +00:00
jmcneill
f96884bf2d enable NFSSERVER (mostly to silence module warning) 2015-11-12 10:48:30 +00:00
skrll
dea60533fa Drop to spl0 after the pmap_activate call. Should address
PR port-arm/50420: curcpu()->ci_pmap_cur != pm || pm->pm_pai[0].pai_asid == curcpu()->ci_pmap_asid_cur" failed

Discussed with matt@ and rmind@
2015-11-12 10:47:30 +00:00
jmcneill
d01d2885b0 Standard mode for I2C needs a source divider of 20, not 2. 2015-11-12 10:31:29 +00:00