Commit Graph

262763 Commits

Author SHA1 Message Date
jmcneill
d329762b06 Don't use a4x bus tag 2018-10-15 23:53:47 +00:00
jmcneill
5e1be26af9 Rename pl061gpio to plgpio and split the device logic from the FDT glue. 2018-10-15 23:50:48 +00:00
jmcneill
c538a2a42d Handle more plcom-style console types 2018-10-15 20:09:06 +00:00
christos
1689d3d9a9 use postincrement, like the patch
XXX: pullup-8
2018-10-15 19:32:48 +00:00
jdolecek
d876d4d773 revert previous, arm doesn't have intr_establish_xname()
pointed out by jmcneill
2018-10-15 18:58:35 +00:00
christos
124c823126 Avoid out-of-bounds reads
https://www.openwall.com/lists/musl/2017/06/29/6
XXX: pullup-8
2018-10-15 18:37:19 +00:00
christos
7e431be058 simple memmem test to show buffer overrun. 2018-10-15 17:55:28 +00:00
skrll
1daace7c1e Only ent KERNEL_BASE_EXT when we want to change KERNEL_BASE from its
default of 0x8000_0000

Don't use KERNEL_BASE_EXT where KERNEL_BASE should be instead.

Workaround a as(1) weirdness in armadaxp_start.S
2018-10-15 16:54:54 +00:00
maya
8f9ddbee6f Apply OpenBSD if_bwfm_pci.c:1.25 by patrick:
Add bus_dmamap_sync(9) calls to bwfm(4) so that we make sure the data
is synced properly before the CPU or the WiFi chip access the supplied
memory.  Makes PCIe-connected bwfm(4) work on ARM-based machines.
2018-10-15 16:29:10 +00:00
jmcneill
3fad9d4180 Fix signature for acpimcfg_configure_bus in non-PCI_NETBSD_CONFIGURE case 2018-10-15 12:46:43 +00:00
martin
f6fb28f512 Ooops - fix editor accident in previous 2018-10-15 12:45:52 +00:00
martin
ad88e5ac0b Define OPENSSL_NO_EC_NISTP_64_GCC_128 for sparc64, the code does
not work there (or maybe any big endian machine).
Fixes PR bin/53670.
2018-10-15 12:27:58 +00:00
jmcneill
fb71203677 Add acpipchb 2018-10-15 11:35:42 +00:00
jmcneill
e2ed649e95 Add ARM ACPI PCI support. 2018-10-15 11:35:03 +00:00
jmcneill
348753368d Do not attach a timecounter when PM_TMR_LEN is 0. According to ACPI 6.2
section 5.2.9 ("Fixed ACPI Description Table (FADT)"), a value of zero
here means that the PM timer is not supported.
2018-10-15 11:33:09 +00:00
jmcneill
aaf945cfa7 Add acpimcfg_configure_bus, which can be used by MD code to implement
PCI_NETBSD_CONFIGURE using ACPI MCFG tables.
2018-10-15 10:01:32 +00:00
jmcneill
7a0ad3635b Add a function to find a PCI root bridge by segment and bus number. 2018-10-15 10:00:30 +00:00
uwe
6c2db190f2 Add Adaptec RAID 2445 and 2805.
From Dima Veselov.
2018-10-15 09:27:30 +00:00
uwe
4a4a5a4c67 Adaptec RAID 2445 and 2805 2018-10-15 09:01:56 +00:00
jdolecek
7d1b344c5a use intr_establish_xname() 2018-10-15 06:58:08 +00:00
skrll
f7b214be91 Group/sort struct arm_cache_info members 2018-10-15 05:44:09 +00:00
skrll
2348e26514 Sort options 2018-10-15 05:14:07 +00:00
skrll
576968e502 G/C 2018-10-15 05:11:08 +00:00
mlelstv
a66cbab44c When changing entries skip those that do not match the -L option.
Should fix PR 53668.
2018-10-14 20:10:49 +00:00
aymeric
23c6352399 Remove comment that the peripherals clock should be half of the cpu clock.
NFC
2018-10-14 19:01:00 +00:00
aymeric
917ed30273 Make the DE0 NanoSoC work also in big-endian mode 2018-10-14 18:58:44 +00:00
aymeric
9a16535352 Attach dwcwdt 2018-10-14 18:56:39 +00:00
aymeric
b27b9a8075 Add reset information for first watchdog timer 2018-10-14 18:55:40 +00:00
aymeric
e8e17c6bdc Fix off-by-one when computing reset register address 2018-10-14 18:53:01 +00:00
jdolecek
0785a66a52 g/c, not really relevant 2018-10-14 18:50:07 +00:00
jdolecek
aa9ac778cd netbsd-8 already branched 2018-10-14 18:37:47 +00:00
aymeric
ea38a76902 Make compile 2018-10-14 18:28:55 +00:00
jdolecek
80d2f67d6a remove M_CANFAIL from list of supported flags for malloc(9) 2018-10-14 17:40:28 +00:00
jdolecek
bcc384fdef remove M_CANFAIL flag for malloc(9) - it was completely ignored, so had
actually no effect
2018-10-14 17:37:40 +00:00
riastradh
63000f6751 Limit warning suppression to nouveau files.
Make this match what I have in my drmkms update.

Please don't touch files under sys/external/bsd/drm2 without
consulting me while I'm updating drmkms!
2018-10-14 17:25:21 +00:00
skrll
2505ba4591 Use __nothing 2018-10-14 14:31:05 +00:00
martin
235468b193 Make debug code compile again 2018-10-14 14:09:53 +00:00
jmcneill
d25cdfbd09 Add acpidump, amldb, and iasl to aarch64 build. 2018-10-14 13:36:32 +00:00
jmcneill
8ebf8cb05c getopt returns int, not char 2018-10-14 12:43:58 +00:00
martin
bbde9f9ded Add FLEX to the configure env, from Lloyd Parkes on tech-toolchain.
Some configure scripts seem to need both LEX and FLEX.
2018-10-14 10:23:32 +00:00
maxv
f1c81f6829 Remove dead files that have never been built, and likely can't build since
they are not correct C files.
2018-10-14 08:36:09 +00:00
maxv
0fe8cb7566 Clean up setkey: remove dead wood, KNF, localify, and slightly improve. 2018-10-14 08:27:39 +00:00
macallan
9a42a8932c - protect PMU transactions with a mutex
- report lid switch events to powerd
2018-10-14 05:08:39 +00:00
tsutsui
1e4ae26739 Note newsmips NWS-4000 support. 2018-10-14 00:11:59 +00:00
tsutsui
18d4eede34 Add NWS-4000 support.
Based on nonaka@'s porting effort back in 2002.
See announcement on port-newsmips@ for more details:
 http://mail-index.netbsd.org/port-newsmips/2018/10/13/msg000231.html
2018-10-14 00:10:11 +00:00
macallan
c2ea6454b0 add tadpmu 2018-10-13 21:02:34 +00:00
macallan
e35ff9bdf8 config and attachment goop for tadpmu 2018-10-13 20:11:48 +00:00
macallan
9e92499dbf - use interrupts
- report power button to sysmon
2018-10-13 19:53:43 +00:00
maxv
7666e47285 Fix SF#24: incorrect authentication algorithms, copy-pasto. 2018-10-13 15:38:28 +00:00
maxv
2be45af163 Fix ticket SF#91: pass the correct size for tbuf. 2018-10-13 15:17:45 +00:00