import React from "react"
import PropTypes from "prop-types"

DocsLink.propTypes = {
    resource: PropTypes.string.isRequired,
}

export default function DocsLink({ children, resource }) {
    let url = `http://docs.mitmproxy.org/en/stable/${resource}`
    return (
        <a target="_blank" href={url}>
            {children || <i className="fa fa-question-circle"></i>}
        </a>
    )
}
pplication/atom+xml'/>
<link rel='vcs-git' href='git://git.panaceas.org/openwrt/upstream' title='openwrt/upstream Git repository'/>
<link rel='vcs-git' href='ssh://git@git.panaceas.org/git/openwrt/upstream' title='openwrt/upstream Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit/'>index</a> : <a title='openwrt/upstream' href='/cgit/openwrt/upstream/'>openwrt/upstream</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='ead26e9db649a508ba93e7e8193ada70322620b1'/><select name='h' onchange='this.form.submit();'>
<option value='attitude_adjustment'>attitude_adjustment</option>
<option value='barrier_breaker'>barrier_breaker</option>
<option value='chaos_calmer'>chaos_calmer</option>
<option value='lede-17.01'>lede-17.01</option>
<option value='less-old-master'>less-old-master</option>
<option value='master'>master</option>
<option value='old-master' selected='selected'>old-master</option>
<option value='openwrt-18.06'>openwrt-18.06</option>
<option value='openwrt-19.07'>openwrt-19.07</option>
<option value='upstream'>upstream</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>upstream openwrt</td><td class='sub right'>James</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit/openwrt/upstream/about/?h=old-master'>about</a><a href='/cgit/openwrt/upstream/?h=old-master'>summary</a><a href='/cgit/openwrt/upstream/refs/?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>refs</a><a href='/cgit/openwrt/upstream/log/target/linux/brcm47xx/patches-4.9/976-ssb_increase_pci_delay.patch?h=old-master'>log</a><a class='active' href='/cgit/openwrt/upstream/tree/target/linux/brcm47xx/patches-4.9/976-ssb_increase_pci_delay.patch?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>tree</a><a href='/cgit/openwrt/upstream/commit/target/linux/brcm47xx/patches-4.9/976-ssb_increase_pci_delay.patch?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>commit</a><a href='/cgit/openwrt/upstream/diff/target/linux/brcm47xx/patches-4.9/976-ssb_increase_pci_delay.patch?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>diff</a><a href='/cgit/openwrt/upstream/stats/target/linux/brcm47xx/patches-4.9/976-ssb_increase_pci_delay.patch?h=old-master'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit/openwrt/upstream/log/target/linux/brcm47xx/patches-4.9/976-ssb_increase_pci_delay.patch'>
<input type='hidden' name='h' value='old-master'/><input type='hidden' name='id' value='ead26e9db649a508ba93e7e8193ada70322620b1'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit/openwrt/upstream/tree/?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>root</a>/<a href='/cgit/openwrt/upstream/tree/target?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>target</a>/<a href='/cgit/openwrt/upstream/tree/target/linux?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>linux</a>/<a href='/cgit/openwrt/upstream/tree/target/linux/brcm47xx?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>brcm47xx</a>/<a href='/cgit/openwrt/upstream/tree/target/linux/brcm47xx/patches-4.9?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>patches-4.9</a>/<a href='/cgit/openwrt/upstream/tree/target/linux/brcm47xx/patches-4.9/976-ssb_increase_pci_delay.patch?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>976-ssb_increase_pci_delay.patch</a></div><div class='content'>blob: 90bda515eb53b2a1bbd5fba713eb271d045de1c6 (<a href='/cgit/openwrt/upstream/plain/target/linux/brcm47xx/patches-4.9/976-ssb_increase_pci_delay.patch?h=old-master&amp;id=ead26e9db649a508ba93e7e8193ada70322620b1'>plain</a>)
<table summary='blob content' class='blob'>
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
<a id='n2' href='#n2'>2</a>
<a id='n3' href='#n3'>3</a>
<a id='n4' href='#n4'>4</a>
<a id='n5' href='#n5'>5</a>
<a id='n6' href='#n6'>6</a>
<a id='n7' href='#n7'>7</a>
<a id='n8' href='#n8'>8</a>
<a id='n9' href='#n9'>9</a>
<a id='n10' href='#n10'>10</a>
<a id='n11' href='#n11'>11</a>
</pre></td>
<td class='lines'><pre><code>