EspressoBin PCI express driver
Søren Schmidt <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
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…. -- Søren Schmidt [email protected] / [email protected] "So much code to hack, so little time" _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-arm To unsubscribe, send any mail to "[email protected]"