EspressoBin PCI express driver

Emmanuel Vadot manu at bidouilliste.com
Wed Nov 25 14:17:35 UTC 2020


 Hi Søren,

On Wed, 25 Nov 2020 14:23:58 +0100
Søren Schmidt <soren.schmidt at gmail.com> wrote:

> Hi gang
> 
> I?ve been looking at that empty PCI-express slot on my EspressonBin?s for some time, and decided that it could be handy to either add a a SATA controller for NAS purposes or a Wifi card for routers.
> 
> I?ve hacked together a simple driver that allows that, grantet its crude but it works :)
> 
> pcib0: <Marvell Armada 37x0 PCI-express controller> mem 0xd0070000-0xd008ffff irq 5 on simplebus0
> pci0: <PCI bus> on pcib0
> ath0: <Atheros 9287> at device 1.0 on pci0
> ath0: AR9287 mac 384.2 RF5133 phy 15.15
> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0
> 
> pcib0: <Marvell Armada 37x0 PCI-express controller> mem 0xd0070000-0xd008ffff irq 5 on simplebus0
> pci0: <PCI bus> on pcib0
> atactlr1: <Marvell AHCI controller> irq 46 at device 1.0 on pci0
> atactlr1: AHCI v1.00 64bit controller, 4 6.0Gb/s ports, PM supported, NCQ supported w/FBS
> ata2: <SATA 6.0Gb/s port at channel 0> on atactlr1
> ata3: <SATA 6.0Gb/s port at channel 1> on atactlr1
> ata4: <SATA 6.0Gb/s port at channel 2> on atactlr1
> ata5: <SATA 6.0Gb/s port at channel 3> on atactlr1
> 
> It has only been used on my own hacked up version of 12-stable but should work on -current as well, YMMV..
> 
> 
> 
> Enjoy!
> 
> PS: I do have a cpufreq driver for it as well if anyone?s interested, but there is not much point in it since power savings are next to nothing?.

 You might want to host the code somewhere and send a link, ML is
removing attachment (or even better put it on phab and add the arm64
group).
 Thanks,

-- 
Emmanuel Vadot <manu at bidouilliste.com> <manu at freebsd.org>


More information about the freebsd-arm mailing list