mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Enable if_dwc for Allwinner A20 based boards.
This enables the gigabit ethernet on cubieboard2 and banana pi. A special thanks to Netgate who gently provided me with a banana pi almost a year ago.
This commit is contained in:
parent
5d07643e36
commit
61ebeff43c
2 changed files with 7 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
|
|||
#options BOOTP_NFSROOT
|
||||
#options BOOTP_COMPAT
|
||||
#options BOOTP_NFSV3
|
||||
#options BOOTP_WIRED_TO=cpsw0
|
||||
#options BOOTP_WIRED_TO=dwc0
|
||||
|
||||
# Boot device is 2nd slice on MMC/SD card
|
||||
options ROOTDEVNAME=\"ufs:/dev/da0s2\"
|
||||
|
|
@ -102,7 +102,8 @@ device ether
|
|||
device mii
|
||||
device bpf
|
||||
|
||||
device emac
|
||||
#device emac # 10/100 integrated EMAC controller
|
||||
device dwc # 10/100/1000 integrated GMAC controller
|
||||
|
||||
# USB ethernet support, requires miibus
|
||||
device miibus
|
||||
|
|
|
|||
|
|
@ -67,6 +67,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
gmac@01c50000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
ahci: sata@01c18000 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue