224849 Commits

Author SHA1 Message Date
rkujawa
21a43d7204 Add preliminary driver for Microchip MCP48x1 family of DACs.
Needs more testing and an appropriate API for such (non-audio) DACs. For now
one can set the output value using sysctl node. Also sysmon(4) will conveniently
report the voltage on Vout pin of the DAC. Note that this is not an actual
measured voltage, but merely calculated using equation from datasheet. Real
voltage might be different and depend on analog circuitry attached to the DAC.
2014-02-25 20:09:37 +00:00
skrll
f7ca730905 Define ARM11_COMPAT_MMU (for now) to keep inline with cpuconf.h changes 2014-02-25 19:37:30 +00:00
matt
eaf091d757 Fix thinko. 2014-02-25 19:20:09 +00:00
mrg
07ece4eabb import the -current GCC 4.5 sources as gcc.old in preparation for
upgrading the normal GCC to 4.8.

this tree has had ChangeLog entries removed, as well as all the
other components we delete, and "only" weighs in around 140MB now.
2014-02-25 18:38:34 +00:00
pooka
4f6fb3bf35 Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
2014-02-25 18:30:08 +00:00
dsl
c8b478cd74 Fix a 'stupido' that stopped (amongst other things) the cpu brand string
being read.
The most obvious side effect the anita tests failed to detect they were
  running under qemu - so reported failures under qemu for things
  that qemu doesn't support.
2014-02-25 17:56:03 +00:00
martin
b59de6cf0c Mark a potentially unused variable 2014-02-25 15:20:29 +00:00
martin
7ed7bcc0ca Remove an unused variable 2014-02-25 14:33:32 +00:00
martin
195d8e90a0 Mark a variable used only in diagnostics 2014-02-25 14:22:59 +00:00
martin
9fad0528ec Mark a temporary as __USEd 2014-02-25 14:16:25 +00:00
roy
41cab36847 Build with FORTIFY_SOURCE 2014-02-25 14:10:09 +00:00
martin
c4a0cfaf05 Remove unused variable 2014-02-25 14:09:13 +00:00
martin
0e1ee3bc54 Fix obvious copy&pasto 2014-02-25 14:05:35 +00:00
roy
708758954f Note import of dhcpcd-6.3.0 2014-02-25 13:22:14 +00:00
roy
edb7c05f00 Sync 2014-02-25 13:20:23 +00:00
roy
6d5dc1d303 Build new auth modules. 2014-02-25 13:16:04 +00:00
roy
07693f32a1 Import dhcpcd-6.3.0 with the following changes:
* IAID must be inside an interface block.
 * Detect IPv6 address flags on Linux.
 * Check that we have ctrl_interface defined in wpa_supplicant.conf and pass this parameter to wpa_cli(8). If not set, warn about not interacting with wpa_supplicant(8).
 * Skip Virtual Interface Masters. Currently this only applies to FreeBSD VAP masters as dhcpcd should only work on wlandev created clones.
 * Fix handling of ARP failures, thanks to Sebastian Huber.
 * Implement RFC 1321 MD5 Message-Digest if not provided in libc.
 * Implement RFC 2104 HMAC Keyed Hashing.
 * Implement RFC 3118 Authentication for DHCP Messages and RFC 3315 Authentication options.
 * Add nodhcp and nodhcp6 directives. Thanks to Sebastian Huber for the initial patch and testing.
 * Implement support for RFC 3203, FORCERENEW message.
 * Implement Force Renew Nonce Capability option, RFC6704
 * Support RECONFIGURE DHCPv6 messages.
 * Add support for DHCP auto configuration, RFC 2563.
 * Add support for the following RFCs
   + DHCP SLP Directory Agent, RFC2610
   + DHCP Name Service Search, RFC2937
   + DHCP PANA Authentication Agent, RFC5192
   + DHCP Lost Server, RFC5223
   + DHCP CAPWAP, RFC5417
   + DHCP Mobility Services, RFC5678
   + DHCP SIP UA, RFC6011
   + DHCP ANDSF, RFC6153
   + DHCP RDNSS Selection for MIF Nodes, RFC6731
   + DHCP TFTP Server Address, RFC5859
   + DHCP PXELINUX, RFC5071
   + DHCP Access Network Domain Name, RFC5986
   + DHCP Virtual Subnet Selection, RFC6607
   + DHCP Relay Agent Remote-ID, RFC4649
   + DHCP Relay Agent Subscriber-ID, RFC4580
   + DHCPv6 Relay-ID, RFC5460
   + DHCPv6 LIS Discovery, RFC5986
   + DHCPv6 SIP UA, RFC6011
   + DHCPv6 Network Boot, RFC5970
   + DHCPv6 Home Info Discovery in MIPv6, RFC6610
   + DHCPv6 RDNSS Selection for MIF Nodes, RFC6731
   + DHCPv6 Kerberos, RFC6784
   + DHCPv6 Relay-Triggered Reconfiguration, RFC6977
   + DHCPv6 SOL_MAX_RT, RFC7083
 * Open UDP sockets for *.*.*.*:bootpc and $ip_address:bootpc to avoid kernel ICMP unreachable messages
 * Moved global variables into context variables so dhcpcd is entirely thread safe.
   dhcpcd doens't use threads, but it can now be used in a pure threads (ie no process) environment.
 * Remove DEBUG_MEMORY guard and always free memory and resources. Remove all atexit(3) and exit(3) calls, instead exiting via the eloop.
 * Replace get_line with sscanf where applicable.
 * Remove custom set_cloexec and set_nonblock functions. Instead pass O_CLOEXEC or SOCK_CLOEXEC to open, socket, etc.
 * Don't use PATH_MAX - we already know the maximum length from the initial directory and IF_NAMESIZE.
 * Add a USE_SIGNALS define. If we're not using signals then we also create a control socket in the non MASTER case. We then use this to communicate instead of signals.
 * Fix arping moving to the next test if we find the IP address but do not have a profile for it. Thanks to David McGurty for the analysis.
 * Respect initial commandline arguments when rebooting via a signal.
2014-02-25 13:14:27 +00:00
tsutsui
94e32028e2 Update generated files which were missed on xkeyboard-config 2.9 import.
http://mail-index.NetBSD.org/source-changes/2013/05/31/msg044255.html
http://mail-index.NetBSD.org/source-changes/2013/05/31/msg044256.html
http://mail-index.NetBSD.org/source-changes/2013/05/31/msg044258.html

XXX: should be regenerated during build but no perl and intltools in tools
2014-02-25 13:07:29 +00:00
martin
b67fdf35da Powerpc seems to expect minimum 8 byte alignment from malloc as well. 2014-02-25 12:13:19 +00:00
matt
c05ae5a4b2 ARMv6+ supplied a write bit in the FSR so use instead of reading the
instruction.
2014-02-25 09:54:33 +00:00
matt
6f29cdce1a Default ARM11 to ARM_MMU_V6N 2014-02-25 08:54:57 +00:00
martin
17d96df1fe Add missing include of <arm/cpufunc.h>.
Pointed out by Tero Koskinen.
2014-02-25 08:39:39 +00:00
matt
e1109c7059 Add options COM_16750 to handle the IIR_BUSY interrupt. 2014-02-25 02:51:52 +00:00
justin
69dd91d347 Add kern.{ostype,osrelease,osrevision,version} kern.domainname,
kern.rawpartition sysctl support to rump kernel.
Moved the sysctl support that is shared between rump and normal
kernels to init_sysctl_base.c as rump cannot use init_sysctl.c
in order to avoid code duplication. Agreed with pooka@.
2014-02-25 01:02:42 +00:00
matt
8f79d5358b #include <arm/locore.h> 2014-02-25 00:26:43 +00:00
jmcneill
072aa7df7b enable MMC driver 2014-02-25 00:09:00 +00:00
jmcneill
2761c42175 Add Allwinner SD/MMC driver. No DMA yet. 2014-02-25 00:08:29 +00:00
matt
d972704702 If we are dumping a EABI coredump, set the version to EABI5.
If we are dumping a BE coredump on a BE8 system, set the BE8 flag.
2014-02-24 23:54:09 +00:00
christos
4e23c8d789 make more things static, remove dup decls 2014-02-24 22:34:08 +00:00
christos
60d0010e25 make this compile 2014-02-24 22:31:56 +00:00
joerg
fe94801223 Fix compat entries. 2014-02-24 21:14:13 +00:00
pooka
0c98ef9a00 +rump_wmd 2014-02-24 19:22:14 +00:00
martin
7d33c23876 Provide CAS variants for 16 and 8 bit when running with more that 1 cpu 2014-02-24 17:18:27 +00:00
christos
fdd74dffed consistency in include protection 2014-02-24 16:57:57 +00:00
matt
2d7fc8f161 Extract # of cores from L2CTRL for MULTIPROCESSOR kernels 2014-02-24 16:50:49 +00:00
matt
7ff1a6efbd Add more inlines. Default FSR ARMv6+ bits. Add A7/A15 L2CTRL defs. 2014-02-24 16:45:06 +00:00
matt
c155ffe413 Remove unneeded delays. for ACHI port reg, act like ahcisatareg.h
(e.g. AHCI_P_AWIN_DMA(p))
2014-02-24 16:40:29 +00:00
martin
a9af946581 Provide cas_16 and cas_8 emulation via cas_32 and use that for mips64 2014-02-24 16:15:43 +00:00
jmcneill
9237f61e20 write to vendor specific dma reg relative to the port, not the base. sata works on cubieboard2 now 2014-02-24 15:47:43 +00:00
martin
67ed7b4ffe Remove the only use of __qdivrem inside kernels 2014-02-24 14:26:11 +00:00
jmcneill
f8e8b60ae1 Save initial CAP/CAP2/PI config over reset. Provide channel_start callback
that sets up awin specific DMA regs.
2014-02-24 12:21:27 +00:00
jmcneill
247be8a184 - Only enable AHCI mode if it is not already enabled.
- Add support for capturing initial CAP/CAP2/PI regs before reset (and
  restoring them afterwords)
- Add optional callbacks for channel_start / channel_stop.
2014-02-24 12:19:05 +00:00
ozaki-r
4c90c2b202 Add myself 2014-02-24 11:56:01 +00:00
pooka
9f29e8de3d truncate is not a defined operation for host files 2014-02-24 11:43:33 +00:00
martin
8406c9a83f Fix compilation 2014-02-24 10:50:40 +00:00
martin
4685d42cc8 Explicitly include <sys/simplelock.h> for now (untill Nick kills it
for real), to make it compile.
2014-02-24 10:47:46 +00:00
martin
ebb0f5eaeb Add missing prototypes/includes and remove unused variables 2014-02-24 08:00:52 +00:00
martin
d1e515ad53 Add missing prototypes 2014-02-24 07:50:22 +00:00
martin
622b3e3478 Remove unused variables 2014-02-24 07:46:33 +00:00
martin
5bfa93ffc5 Fix missing prototypes/includes. 2014-02-24 07:41:15 +00:00