FreeBSD Bugzilla – Attachment 170681 Details for
Bug 209758
Broadcom 5717 C not working
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
5717C patch
fbsd_bge_5717C.diff (text/plain), 2.09 KB, created by
Sepherosa Ziehau
on 2016-05-26 14:26:11 UTC
(
hide
)
Description:
5717C patch
Filename:
MIME Type:
Creator:
Sepherosa Ziehau
Created:
2016-05-26 14:26:11 UTC
Size:
2.09 KB
patch
obsolete
>diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c >index 007ec63..792b7f50 100644 >--- a/sys/dev/bge/if_bge.c >+++ b/sys/dev/bge/if_bge.c >@@ -171,6 +171,7 @@ static const struct bge_type { > { BCOM_VENDORID, BCOM_DEVICEID_BCM5715 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5715S }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5717 }, >+ { BCOM_VENDORID, BCOM_DEVICEID_BCM5717C }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5718 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5719 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM5720 }, >@@ -311,6 +312,7 @@ static const struct bge_revision { > { BGE_CHIPID_BCM5715_A3, "BCM5715 A3" }, > { BGE_CHIPID_BCM5717_A0, "BCM5717 A0" }, > { BGE_CHIPID_BCM5717_B0, "BCM5717 B0" }, >+ { BGE_CHIPID_BCM5717_C0, "BCM5717 C0" }, > { BGE_CHIPID_BCM5719_A0, "BCM5719 A0" }, > { BGE_CHIPID_BCM5720_A0, "BCM5720 A0" }, > { BGE_CHIPID_BCM5755_A0, "BCM5755 A0" }, >@@ -2699,6 +2701,7 @@ bge_chipid(device_t dev) > */ > switch (pci_get_device(dev)) { > case BCOM_DEVICEID_BCM5717: >+ case BCOM_DEVICEID_BCM5717C: > case BCOM_DEVICEID_BCM5718: > case BCOM_DEVICEID_BCM5719: > case BCOM_DEVICEID_BCM5720: >@@ -2727,6 +2730,8 @@ bge_chipid(device_t dev) > default: > id = pci_read_config(dev, BGE_PCI_PRODID_ASICREV, 4); > } >+ if (id == BGE_CHIPID_BCM5717_C0) >+ id = BGE_CHIPID_BCM5720_A0; > } > return (id); > } >diff --git a/sys/dev/bge/if_bgereg.h b/sys/dev/bge/if_bgereg.h >index 37b0459..0cf9ca1 100644 >--- a/sys/dev/bge/if_bgereg.h >+++ b/sys/dev/bge/if_bgereg.h >@@ -329,6 +329,7 @@ > #define BGE_CHIPID_BCM57780_A1 0x57780001 > #define BGE_CHIPID_BCM5717_A0 0x05717000 > #define BGE_CHIPID_BCM5717_B0 0x05717100 >+#define BGE_CHIPID_BCM5717_C0 0x05717200 > #define BGE_CHIPID_BCM5719_A0 0x05719000 > #define BGE_CHIPID_BCM5720_A0 0x05720000 > #define BGE_CHIPID_BCM5762_A0 0x05762000 >@@ -2452,6 +2453,7 @@ struct bge_status_block { > #define BCOM_DEVICEID_BCM5715 0x1678 > #define BCOM_DEVICEID_BCM5715S 0x1679 > #define BCOM_DEVICEID_BCM5717 0x1655 >+#define BCOM_DEVICEID_BCM5717C 0x1665 > #define BCOM_DEVICEID_BCM5718 0x1656 > #define BCOM_DEVICEID_BCM5719 0x1657 > #define BCOM_DEVICEID_BCM5720_PP 0x1658 /* Not released to public. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 209758
:
170672
| 170681