Commit Graph

230095 Commits

Author SHA1 Message Date
roy
9cc5846ff7 Show the IP6 address instead of yes 2014-09-13 09:38:43 +00:00
roy
2787059b04 Strip newline from the gateway correctly. 2014-09-13 09:30:30 +00:00
skrll
e7458201e4 Fix build when USB_DEBUG is defined and EHCI_DEBUG isn't. The converse is
always true.

PR/49201 (broken build with options USB_DEBUG (latest current))
2014-09-13 08:15:43 +00:00
skrll
2fea13cdf7 Make emmc use of dma controller optional and disable the bcmdmac for now.
It doesn't work for me.
2014-09-13 08:08:24 +00:00
jmcneill
c90aa8a66c AWIN_board not AWIN_BOARD 2014-09-13 02:21:52 +00:00
jmcneill
fedb0c6dd6 usb0drv is >PB9 for cubie2 2014-09-13 01:36:07 +00:00
roy
eda033034a Change the display order so it's protocol agnostic at the top,
then IPv4 then IPv6.
2014-09-13 01:11:58 +00:00
roy
13c4979619 Only prompt for one nameserver, let the user decide if it's a
pre-determined google server other another one.
2014-09-13 00:38:36 +00:00
riastradh
9b266c96fa Omit vestigial notes on porting before the API was made to match. 2014-09-13 00:33:45 +00:00
riastradh
ddbd581e58 Use KASSERTMSG in ww_acquire_fini to show number of locks held. 2014-09-13 00:32:36 +00:00
jmcneill
e3df3e5fb2 initialise ch_ih 2014-09-12 21:22:13 +00:00
roy
63fc81c2f0 rtsol is no longer used. 2014-09-12 21:12:42 +00:00
riastradh
3bd90aa97e Fix typo: mask, not mark. 2014-09-12 21:06:25 +00:00
roy
61e374731e Don't prompt for hostname or domain if obtained from DHCP. 2014-09-12 21:02:06 +00:00
jmcneill
3f4d431a23 cv_wait -> cv_timedwait for dma transfers, just to be safe 2014-09-12 21:00:11 +00:00
jmcneill
7f9dc4bd79 use 0 and 1 for states instead of 27 and 42 2014-09-12 20:55:48 +00:00
jmcneill
d8a01aacea improve error handling in bcm_dmac_alloc and disestablish the irq handler in bcm_dmac_free 2014-09-12 20:52:52 +00:00
jmcneill
3e343f5f8a enable bcmdmac, now required by sdhc 2014-09-12 20:51:21 +00:00
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