230112 Commits

Author SHA1 Message Date
jmcneill
3b5c713365 add motg (commented out) 2014-09-13 17:50:27 +00:00
jmcneill
9073773d05 motg glue (host mode) for allwinner, not quite working yet 2014-09-13 17:48:52 +00:00
jmcneill
e7c5014eb6 add some more usb regs 2014-09-13 17:48:00 +00:00
jmcneill
7e69bab771 Instead of polluting motgreg.h with AllWinner specific registers (things
were getting out of hand), move the AllWinner reg definitions to
arch/arm/allwinner/awin_otgreg.h and include that instead of
dev/usb/motgreg.h when MOTG_ALLWINNER is defined.
2014-09-13 17:42:48 +00:00
matt
c124951d21 vm_offset_t -> vaddr_t, vm_size_t -> vsize_t 2014-09-13 17:42:07 +00:00
matt
1e0abe4eb3 vm_offset_t -> vaddr_t, vm_size_t -> vsize_t
nuke vm_offset_t and vm_size_t
2014-09-13 17:41:03 +00:00
matt
6f772ca702 vm_size_t -> vsize_t 2014-09-13 17:36:41 +00:00
martin
ceb7a1b9a3 For the benefit of gcc 4.5, rename a local "nl" variable to "nline",
so it doesn't collide with the global curses nl() function.
2014-09-13 17:22:22 +00:00
rmind
b891d5cdc7 PR/49190: bpf_deliver: set scratch memory store in bpf_args_t. 2014-09-13 17:18:45 +00:00
jmcneill
2f047289ab options MOTG_ALLWINNER 2014-09-13 14:48:02 +00:00
jmcneill
0f97be00b0 options MOTG_ALLWINNER to select the awin specific reg layout 2014-09-13 14:47:35 +00:00
jmcneill
27cacc42a9 allow attachment glue to override the number of endpoints 2014-09-13 14:46:50 +00:00
skrll
8268720e7d Fix typo in previous 2014-09-13 13:20:38 +00:00
roy
d784a83a57 rtsol has gone. 2014-09-13 11:07:08 +00:00
roy
cb2e7b1a58 Add the -M flag to dhcpcd so it stays in master mode even for one
interface. Suggested by apb@
2014-09-13 11:06:42 +00:00
roy
4b34ebf614 Punt custom dhcpcd hooks in favour up upstream hooks 2014-09-13 10:18:24 +00:00
roy
1c37fe7141 Fix a bogus gcc warning: dhcp_config may be used uninitialized 2014-09-13 09:46:12 +00:00
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