Date: Wed, 25 Nov 2020 15:17:30 +0100 From: Emmanuel Vadot <manu@bidouilliste.com> To: =?ISO-8859-1?Q?S=F8ren?= Schmidt <soren.schmidt@gmail.com> Cc: "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: Re: EspressoBin PCI express driver Message-ID: <20201125151730.b3882737e4d20831e056136b@bidouilliste.com> In-Reply-To: <EC55441C-1987-4581-A539-318FE065435F@gmail.com> References: <EC55441C-1987-4581-A539-318FE065435F@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi S=F8ren, On Wed, 25 Nov 2020 14:23:58 +0100 S=F8ren Schmidt <soren.schmidt@gmail.com> wrote: > Hi gang >=20 > 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 contr= oller for NAS purposes or a Wifi card for routers. >=20 > I?ve hacked together a simple driver that allows that, grantet its crude = but it works :) >=20 > pcib0: <Marvell Armada 37x0 PCI-express controller> mem 0xd0070000-0xd008= ffff 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 >=20 > pcib0: <Marvell Armada 37x0 PCI-express controller> mem 0xd0070000-0xd008= ffff 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 >=20 > It has only been used on my own hacked up version of 12-stable but should= work on -current as well, YMMV.. >=20 >=20 >=20 > Enjoy! >=20 > 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, --=20 Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201125151730.b3882737e4d20831e056136b>