234032 Commits

Author SHA1 Message Date
macallan
2c21d7a552 regen 2015-03-17 08:15:48 +00:00
macallan
9f3df84f2d add Ingenic Semiconductor Ltd. 2015-03-17 08:14:30 +00:00
macallan
26c86995c9 do as arm does and get rid of addresses in kernel config 2015-03-17 07:28:18 +00:00
macallan
613f592364 - keep a list of devices, addresses and interrupts in apbus.c
- pass irq numbers to devices
- reduce magic numbers in device drivers
- allow multiple instances of device drivers
2015-03-17 07:25:07 +00:00
macallan
9f61ee1762 add SMBus base addresses 2015-03-17 07:22:40 +00:00
mrg
22ccd76416 fix the description of MKX11RADEONKMS, as pointed out in PR#49753. 2015-03-17 01:58:29 +00:00
jmcneill
e4dc7f14f3 hook ODROID-C1 into build 2015-03-16 22:18:14 +00:00
jmcneill
1d0fa5c96e add ODROID-C1 install kernel 2015-03-16 22:16:42 +00:00
jmcneill
8e2562b9d1 sdhc stability improvements 2015-03-16 21:37:35 +00:00
christos
85812049a7 one more strike to the whack-a-mole game of arm flavors. 2015-03-16 20:32:08 +00:00
plunky
e8fd30eb55 parse and print the HIDLANGIDBaseList attribute 2015-03-16 19:10:48 +00:00
prlw1
a0b4c35b18 correct test name 2015-03-16 16:42:27 +00:00
joerg
b4c948cc41 Do invalidate the cache as RPI2 build with Clang can't fetch the memory
config otherwise.
2015-03-15 22:54:03 +00:00
christos
10b0e24ed5 fix the big endian builds. Perhaps just remove the MAX define for everyone? 2015-03-15 18:58:09 +00:00
jmcneill
9bfe573c47 port-arm/49057: Raspberry Pi Audio volume control does not work
AUDS server messages expect volume to be expressed in units of 1/256 dB,
where we previously (incorrectly) treated it as as percentage. Map the
NetBSD audio level (0-255) to 20 steps (levels from FreeBSD bcm2835_audio.c)
and provide independent volume knobs for outputs.auto, outputs.hdmi, and
outputs.headphones.
2015-03-15 18:31:29 +00:00
jmcneill
4ae31c4bf7 sprinkle __diagused to fix "no options DIAGNOSTIC" build 2015-03-15 13:15:26 +00:00
nakayama
5796df9289 Reuse results of "bootpath" and "bootargs" from openfirmware
instead of calling openfirmware in each sysctl CPU_BOOT*.

This change reduces openfirmware calls from userland since sysctl
CPU_BOOTED_KERNEL is used in system commands such as pstat and
netstat.
2015-03-15 10:38:58 +00:00
maxv
9eec611462 ffs_reload(): fix a bug that prevents Big Endian FSes from being reloaded.
'newfs' should be tagged as FS_SWAPPED, not 'fs'.

Was here before my changes.

While here, also KNF a bit.
2015-03-15 09:21:01 +00:00
ryo
fa1364f862 - fix interrupt type ans interrupt masks
- change timing of callout_schedule because it doesn't schedule once enet_stop is called
- typo
2015-03-15 04:12:07 +00:00
nonaka
91729bdaea regen 2015-03-15 01:42:27 +00:00
nonaka
16f269d336 Added Huawei U8150. 2015-03-15 01:37:47 +00:00
maxv
a578b5382f ffs_superblock_validate(): ensure fs_ipg and fs_fpg are != 0. Otherwise
division by zero in several places.
2015-03-14 19:52:54 +00:00
jmcneill
11d383a541 add no options ARM11_COMPAT_MMU 2015-03-14 19:06:14 +00:00
jmcneill
2fc05df71f re-add ARM11_COMPAT_MMU, lost in the rpi2 shuffle 2015-03-14 14:59:43 +00:00
macallan
6aaa2d6bc2 KNF police 2015-03-14 13:45:43 +00:00
bouyer
916e2df623 Properly implemement pci_intr_disestablish(9), so that interrupt
handlers stop being called when the device has been detached.
Should fix PR port-xen/47720 (which turns out to not be related to raidframe).
While there fix possible races in event_remove_handler() and pirq_establish().
2015-03-14 10:49:36 +00:00
hannken
0969553306 Add a counter of busy events and stop enqueueing more work if a device is busy.
Protect this counter with a new short time lock "sme_work_mtx" and
keep "sme_mtx" as long time lock.

Removes a deadlock where an active event holds "sme_mtx", the callout
"sme_events_check" blocks on "sme_mtx" and callout processing stops.
2015-03-14 09:52:49 +00:00
njoly
f3d7a033fe Support Linux MAP_LOCKED mmap flag. 2015-03-14 08:32:07 +00:00
isaki
787a0efa5b white space -> tab. 2015-03-14 07:23:46 +00:00
rtr
8699b912c3 Move code that is conditional on options INET6 into #ifdef INET6.
* Re-organize some variable declarations to limit #ifdef's.
* Move INET and INET6 code into respective switch cases to simplify
  #ifdef INET6.

No intended functional change.
2015-03-14 02:08:16 +00:00
jmcneill
c8f8c114a8 port-arm/49057: Raspberry Pi Audio volume control does not work
- Use software volume control for outputs.master/inputs.dac
- Previous volume control (for analog output only) is available on new
  outputs.headphones mixer control.
- Add an outputs.select enum to choose between "auto", "headphones", and
  "hdmi" outputs.
2015-03-13 22:48:41 +00:00
nonaka
b2901b1b91 Add pmf hooks. 2015-03-13 15:33:04 +00:00
wiz
884081180b mdocml-1.13.3 out. 2015-03-13 13:48:18 +00:00
skrll
cac16bc1d5 Stylistic and non-functional changes from
PR/49622 (Minor enhancements to if_cpsw)
2015-03-13 08:56:35 +00:00
skrll
55436e6554 Wrap some long lines. 2015-03-13 08:05:49 +00:00
skrll
4e8d336769 Trailing whitespace 2015-03-13 07:57:08 +00:00
martin
d47d530718 Explicitly mark as using unified syntax 2015-03-13 05:29:26 +00:00
skrll
a793f60e99 G/C armgic_last_priority 2015-03-12 21:05:07 +00:00
christos
edb2910c52 use hardclock_ticks; pointed out by hannken. 2015-03-12 19:56:51 +00:00
christos
cc2f222320 Untangle the poll/wait/timeout code in ciss_cmd() Tested on a DL-360. 2015-03-12 18:53:22 +00:00
christos
804734d0c4 Dedup the conversion of bioc_disk and bioc_vol to envsys_data_t 2015-03-12 15:33:10 +00:00
christos
3f09f3ddcf Remove __OPTIMIZE__ requirement to expand the byte swap macros. Back in
2006 this change was reverted because some of the arch-specific libraries
were broken, and this was hiding this fact. Now, we have code like

	static const struct in_addr inmask32 = {.s_addr = INADDR_BROADCAST};

which breaks gcc when compiling without optimization since it does not see
that the expression is constant.
2015-03-12 15:28:16 +00:00
christos
1a7eb0717b fix gcc is stupid. 2015-03-12 15:09:04 +00:00
christos
0c35262e73 regen 2015-03-12 15:06:28 +00:00
joerg
a23fab26e8 MDOC_MAX is a valid token if the type is text. Adjust. 2015-03-12 14:57:18 +00:00
joerg
c7a234e433 Drop redundant modifier to allow build with LLVM IAS. 2015-03-12 12:46:41 +00:00
joerg
2c2958ab5e Use unified ARM syntax. 2015-03-12 12:46:15 +00:00
christos
cefb10afe1 The latest refactoring changes broke sed -i:
cd /tmp; echo foo > test; sed -i.orig s,fo,ba, test
Back them out until they are fixed.
2015-03-12 12:40:41 +00:00
joerg
f449d0c454 Boot partition as FAT32 doesn't really make sense, so don't force
the MBR to lie and allow FAT16 too.
2015-03-12 11:32:16 +00:00
snj
b0b43828ad bring back rpath fixup that was lost in revision 1.11 2015-03-12 08:01:45 +00:00