Commit Graph

252573 Commits

Author SHA1 Message Date
christos 2ed5654a9c From bjoern johannesson, in netbsd-general... Reset the mask to 0, used to
be 0xa. Is it wrong in the cfe? Should this better be done via a quirk?
2017-08-01 12:15:21 +00:00
christos 215872182a PR/52446: Devid Binderman: Fix error checking for wcstombs 2017-08-01 11:58:45 +00:00
christos e859170b26 PR/52445: David Binderman: Fix wcstombs error checking 2017-08-01 11:56:58 +00:00
wiz 35a52ac92c Use bullet list. 2017-08-01 11:12:49 +00:00
wiz 61a9def374 Sort SEE ALSO. 2017-08-01 11:11:37 +00:00
wiz 721f013c3d Remove superfluous Pp. 2017-08-01 11:11:17 +00:00
wiz 0a00ed5042 New sentence, new line. 2017-08-01 11:04:21 +00:00
joerg 1f3522a5b4 Mark files not present in 309604 as dead. 2017-08-01 10:54:01 +00:00
jmcneill 8d55a78fe1 Enable GPCLK2 to Bluetooth. 2017-08-01 00:01:56 +00:00
jmcneill 8d7d524557 mark ISR as mpsafe, detect when this is the console 2017-07-31 23:54:19 +00:00
jmcneill 7c1811a60a Broadcom AUX UART doesn't seem to set LSR RXRDY bit when data is available
in the RX FIFO.
2017-07-31 23:53:25 +00:00
jdolecek 4ecdc3837b modify code handling mismatch of nsegs in _bus_dmamem_alloc_range() to
a KASSERT() - plain return leaks memory, and this condition should
never trigger unless there is bug in uvm_pglistalloc(), so it seems
to be waste to check this

other ports usually simply do not check this, with exception of arm,
which does even full cleanup (checks it and calls uvm_pglistfree())
2017-07-31 19:29:19 +00:00
maxv c30c613b5e Use idt_vec_set instead. 2017-07-31 18:54:40 +00:00
ryoon 1534de6f35 Fix vax/* cross references 2017-07-31 18:45:43 +00:00
jmcneill 337b37be2b Create a config.txt for RPI and set 'enable_uart=1' and 'force_turbo=0'.
This config gives us a stable core_freq clock that is used to drive the
SD HOST and AUX UART devices.

More information on config.txt settings for the UART can be found here:

https://www.raspberrypi.org/documentation/configuration/uart.md
2017-07-31 16:34:22 +00:00
maxv e1db7ada44 Fix TCPCTL_NAMES, and remove TCPCTL_VARIABLES. 2017-07-31 15:51:27 +00:00
maxv 0a5d4277e9 Disable all the compat options until COMPAT_10. NetBSD 1.0 was released on
October 26 1994; 23 years of compatibility is enough. Discussed with
christos quickly.
2017-07-31 15:43:33 +00:00
maxv 6873fa8a0b Remove references to COMPAT_OLDSOCK (itself removed years ago). 2017-07-31 15:38:01 +00:00
isaki 7ae81f3285 Update confused vs_set_params().
play and rec are identical but pfil and rfil are independent.
XXX I introduce VS_USE_PREC8 option for debugging purposes
    temporarily.  I'll remove it if the problem is solved.
2017-07-31 14:53:08 +00:00
jmcneill a4838a0046 Only remap sdhost/sdhci on boards with wifi. 2017-07-31 10:45:04 +00:00
jmcneill 695a0d72f2 Enable AUX UART for BT on btwifi boards 2017-07-31 10:41:39 +00:00
jmcneill 40766ee560 Add COM_TYPE_BCMAUXUART type for BCM2835 AUX UART. 2017-07-31 09:25:14 +00:00
knakahara 33735514f9 rename unclear functions. pointed out by msaitoh@n.o. 2017-07-31 06:41:01 +00:00
knakahara aeb50172c9 use pool_cache(9) instead of pool(9) as they can be called concurrently. 2017-07-31 04:25:45 +00:00
knakahara a70fedd6ab use kmem_alloc KPI instead of malloc KPI. 2017-07-31 04:23:48 +00:00
knakahara cd14ce8c20 pack crypto_drivers variables to struct and add cacheline_aligned qualifier. 2017-07-31 04:21:59 +00:00
knakahara 82f82d0b94 refactor: remove glue macros for FreeBSD code. 2017-07-31 04:19:26 +00:00
jmcneill c5d7857756 Set the correct com type 2017-07-31 00:51:20 +00:00
jmcneill a90cc5ef6d Add support for BCM2835 AUX UART. 2017-07-30 23:48:32 +00:00
jmcneill a910998ed5 Cleanup debug messages 2017-07-30 23:47:58 +00:00
wiz 5c03888027 Bump date for previous. 2017-07-30 23:13:24 +00:00
cheusov ea1a131a00 Compare return value of fputs(3) with EOF instead of 0.
This is POSIX-ly correct and fixes csplit(1) on non-NetBSD systems.
2017-07-30 23:02:53 +00:00
cheusov 06a8adc44a According to POSIX return value of fputs(3) should be a non-netagive value if it succeeds 2017-07-30 22:53:56 +00:00
dholland 8a66658e44 The proper way to validate a condition that's expected to be true is
to assert it, not to bolt it into the program logic in a way that will
cause strange behavior if it accidentally isn't true at some point.
2017-07-30 20:37:35 +00:00
jmcneill f49f56161d Explicitly configure pin pull-down/up settings for SDIO. 2017-07-30 17:32:59 +00:00
jmcneill 38b77cbb72 enable sdhost driver (ok skrll@) 2017-07-30 17:01:27 +00:00
jmcneill f5b07240b3 Add driver for the bcm2835 internal SD controller. On boards with SDIO
Wi-Fi, the internal SD controller is used for the SD card slot and the
Arasan SDHCI controller is used for SDIO.
2017-07-30 16:54:36 +00:00
maxv fd42c84694 Remove references to COMPAT_IRIX - does not exist anymore.
I believe svr4_machdep.h should be removed when the option is not
implemented on the target architecture; and we should also remove the
associated md.* entries.
2017-07-30 16:13:24 +00:00
maxv 5b2db8d881 Remove lurking reference to TCP_COMPAT_42. 2017-07-30 16:07:06 +00:00
riastradh d87eb92313 kmem_xyz(sizeof(struct foo)) --> kmem_xyz(sizeof(*foo))
No change to amd64 binary.
2017-07-30 14:23:54 +00:00
riastradh c5088c7cff Fix error branch in ttm_dma_tt_init to avoid double-free.
Should fix symptom of PR kern/52438, but who knows what underlying
problem causes us to reach the error branch in the first place.
2017-07-30 13:43:48 +00:00
maxv 539e319523 Disable svr4 and svr4_32 on sparc, sparc64 and amiga - the only places
where they were still enabled.
2017-07-30 13:12:49 +00:00
christos 34e14598e5 make it compile again. 2017-07-30 12:31:46 +00:00
he 454fe70aad Initialize iospace_size instead of iospace (will be overwritten) to 64k.
Brings boot of emips on giano a bit closer, but now it's stuck (hangs).
2017-07-30 11:38:57 +00:00
isaki 8ba190e564 Improve diagnostic code.
If the specified encoding is wrong, it outputs a sound like a buzzer :)
rather than panic.
2017-07-30 05:51:34 +00:00
isaki d3008fcf6d Typo in debug message. 2017-07-30 02:41:58 +00:00
nat bb94751b03 Audio now compiles with WARNS=5, so there is no need to specify WARNS=3. 2017-07-30 00:53:57 +00:00
nat 2bb842c6eb The pad module will now compile with WARNS=5. 2017-07-30 00:50:52 +00:00
nat 86f0b20054 The audio module will now compile with WARNS=5. 2017-07-30 00:47:48 +00:00
jmcneill 5a32de3762 dts updated to 4.12.4 2017-07-29 23:10:36 +00:00