Commit Graph

230077 Commits

Author SHA1 Message Date
roy
14d86bcffe dhcpcd will already have configured the system at this point, so
don't bother writing it manually.
2014-09-12 20:48:55 +00:00
roy
ec4a0efb33 Use the 20-resolv.conf hook from dhcpcd rather than the minimal one.
Extract configured information from resolv.conf and hostname instead
of scraping the last dhcpcd script run.
This will allow the use of DHCPv6 and IPv6RA DNS details in the future.
2014-09-12 20:42:13 +00:00
roy
4fabb2a304 The dhcpcd utilties in pkgsrc require dhcpcd to be running in master mode.
So set dhcpcd to start like so, but restrict it to the configured interface
still instead of ifconfig_foo=dhcp.
2014-09-12 20:20:25 +00:00
jakllsch
184c1a02ac Add and enable DMA support for SD cards on Raspberry Pi/BCM2835. 2014-09-12 20:18:42 +00:00
jakllsch
10dec21412 Avoid NULL deref when sdhc(4) attaches via config_interrupts(). 2014-09-12 19:47:40 +00:00
jakllsch
3842966152 Allow sdhc(4) to use a non-integrated DMA engine. 2014-09-12 19:45:16 +00:00
jakllsch
de75895b94 Move DMA interrupt establishement to time of engine allocation so as to
allow the IPL to be specified by the driver using the DMA engine.
2014-09-12 19:33:45 +00:00
jakllsch
c95e00722e Add a bunch of register offsets to read-only registers. 2014-09-12 17:40:53 +00:00
jakllsch
0f6050a8cd Add BCM2835_PERIPHERALS_TO_BUS() macro to convert ARM physical address to
VideoCore bus address, needed when programing the DMA engine with hardware
FIFO register addresses.
2014-09-12 17:31:32 +00:00
skrll
7c2a9a0993 Improve USB debugging with USBHIST based on KERNHIST.
Convert some DPRINTFs to USBHIST_LOG and allow usbdebug, ehcidebug and
umassdebug to be changed via sysctl.

Remove the #define mess in usb.h.

This was started by mrg@ and updated by reinoud@
2014-09-12 16:40:38 +00:00
skrll
f6dcbec3a9 Trailing whitespace. 2014-09-12 16:25:55 +00:00
skrll
e52f4ab9a5 Print the cpu in the kernhist record. 2014-09-12 16:25:29 +00:00
jmcneill
89022a47a8 trust the firmware and use whatever it advertises between DMA0-DMA11 2014-09-12 16:06:29 +00:00
jmcneill
c3ace1825b not sure how this compiles for me, but remove extra * on prop_dictionary_t decl 2014-09-12 15:41:02 +00:00
jmcneill
616673a221 use dma channel mask from firmware 2014-09-12 15:29:30 +00:00
roy
5758b155c1 Remove more rtsol references. 2014-09-12 14:46:33 +00:00
nonaka
953d3a57a3 Remove rtsol. 2014-09-12 14:39:49 +00:00
msaitoh
966fce455d KNF. No binary change. 2014-09-12 12:30:20 +00:00
mlelstv
d144aaa341 use the passed parameter instead of PATH_MAX. Change signedness
of nlen.
2014-09-12 11:38:23 +00:00
martin
459d37a82b Mark /etc/rc.d/rtsold and /rescue/rtsol as obsolete 2014-09-12 10:03:32 +00:00
martin
58001a8b3d Initialize timespec "end" for the benefit of some gcc versions getting
"may be used uninitialized" warnings wrong.
2014-09-12 08:54:26 +00:00
mlelstv
26dae55653 - use a private buffer to resolve symlinks, the previous code was broken
- factored out symlink handling
- handle relative symlinks now
- handle device paths that do not contain a '/'.
2014-09-12 07:59:36 +00:00
ozaki-r
0e7abd5a0f Call if_input of vlan interface itself, not parent's one
And also we need to drop M_PROMISC before calling if_input;
it was originally at just before bridge_input in ether_input.

Then we can bridge vlan interfaces again.
2014-09-12 04:10:24 +00:00
ozaki-r
af918e150a Restore vlan_ioctl overwritten by ether_ifdetach in vlan_unconfig
This fixes PR 49112.
2014-09-12 03:44:27 +00:00
wiz
d762b67d80 Use Nx. 2014-09-11 21:04:34 +00:00
dholland
83a65169bb Visit the Bureau of Redundancy Department.
From Henning Petersen in PR 49191.
2014-09-11 18:25:30 +00:00
msaitoh
43ebf58e10 - Add two more bit definitions
- XINUSE -> XGETBV
2014-09-11 18:11:59 +00:00
roy
f542fd2122 Don't try and install rc.d/rtsold 2014-09-11 18:01:22 +00:00
riastradh
103f4fccb9 Switch default accelmethod back to UXA until we import a stabler SNA. 2014-09-11 17:26:30 +00:00
msaitoh
6fcc8c5545 It's not required to print "failed to detect NVM bank" with
aprint_error_dev(). Use DPRINTF(). Same as {Free,Open}BSD.
2014-09-11 17:09:04 +00:00
christos
fdbbaf2d5a PR/49192: remove dup assignment. 2014-09-11 13:30:04 +00:00
roy
c6314d6139 Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
2014-09-11 13:10:03 +00:00
jmcneill
e8cd4b633c correct softreset reg for allwinner boards 2014-09-11 11:14:44 +00:00
wiz
3ca7a10cff Use false/true on boolean, not increment.
From Henning Petersen in PR 49194.
2014-09-11 08:22:03 +00:00
matt
d52e397207 Make sure the data in the descritors is little endian. 2014-09-11 08:20:52 +00:00
matt
35af25c08f Fix (I hope) ram size calculation. 2014-09-11 08:01:31 +00:00
manu
209370b3d8 PUFFS fixes for size update ater write plus read/write sanity checks
- Always update kernel metadata cache for size when writing
  This fixes situation where size update after appending to a file lagged
- Make read/write nilpotent when called with null size, as FFS does
- Return EFBIG instead of EINVAL for negative offsets, as FFS does
2014-09-11 07:59:14 +00:00
skrll
c00d94e0d9 Initialise bsciichist only once, otherwise the kern_histories list
never ends.
2014-09-11 07:06:13 +00:00
martin
6224bda15f Simplify device property handling by moving it into the core driver.
Overriding the MAC address now works again.
2014-09-11 06:56:05 +00:00
manu
e6dc4d2455 Avoid a file resize serialization deadlock when writing with
PUFFS_IO_APPEND flag. The symptom was a hang when appending to
a file with a null size.
2014-09-11 04:05:52 +00:00
jmcneill
3ca2cb1449 work in progress HDMI driver, so far it can detect display presence and read the display EDID 2014-09-11 02:21:19 +00:00
jmcneill
dd027ee771 PLL7 setup for HDMI on A20 2014-09-11 02:16:15 +00:00
jmcneill
f812315f7a add some HDMI regs 2014-09-11 00:50:39 +00:00
matt
25d15b759f Uncomment/fix the eabihf compat entries 2014-09-10 22:50:25 +00:00
ryo
4c91708145 add __diagused 2014-09-10 22:46:34 +00:00
matt
a5887d4e99 Enable building eabihf compat libraries after fixing bsd.eabihf.mk to use
use the proper variant of arm*--netbsdelf-eabihf
2014-09-10 22:43:36 +00:00
christos
afdd00276d Fix the index building which got completely broken after the last update. 2014-09-10 21:44:22 +00:00
wiz
c48417e269 Fix pasto. 2014-09-10 21:13:50 +00:00
riastradh
3393ff7dbb Sternly advise against `pcictl read/write'. Use .Cm, not .Nm, while here. 2014-09-10 21:09:32 +00:00
christos
59bf05d0af fix grammar stupidity: ipandport takes an optional port but has 2 grammar
productions, one with and one without an optional port. make the port
not optional and kill reduce-reduce conflicts.
2014-09-10 21:04:08 +00:00