花样年华 发表于 14/3/27 17:33:40

Realtek R1000 Mac驱动 支持RTL8101 8102 8103 8168 8169

Realtek R1000 Mac驱动
支持RTL8101 RTL8102 RTL8103 RTL8168 RTL8169 Mac驱动
Project by Slice & 8bit

//
// RTL810x Family
//
{"RTL8100E",
MCFG_8100E_1,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8100E",
MCFG_8100E_2,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8101E",
MCFG_8101E_1,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8101E",
MCFG_8101E_2,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8101E",
MCFG_8101E_3,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8102E",
MCFG_8102E_1,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8102E",
MCFG_8102E_2,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8103E",
MCFG_8103E_1,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8103E",
MCFG_8103E_2,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8103E",
MCFG_8103E_3,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8103E",
MCFG_8105E_1,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8103E",
MCFG_8105E_2,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8103E",
MCFG_8105E_3,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8103E",
MCFG_8105E_4,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},

//
// RTL8168/8111 Family
//
{"RTL8168B/8111B",
MCFG_8168B_1,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_4k,
EFUSE_NOT_SUPPORT},
{"RTL8168B/8111B",
MCFG_8168B_2,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_4k,
EFUSE_NOT_SUPPORT},
{"RTL8168B/8111B",
MCFG_8168B_3,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_4k,
EFUSE_NOT_SUPPORT},
{"RTL8168C/8111C",
MCFG_8168C_1,
1024,
RxCfg_128_int_en | RxCfg_fet_multi_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_6k,
EFUSE_NOT_SUPPORT},
{"RTL8168C/8111C",
MCFG_8168C_2,
1024,
RxCfg_128_int_en | RxCfg_fet_multi_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_6k,
EFUSE_NOT_SUPPORT},
{"RTL8168C/8111C",
MCFG_8168C_3,
1024,
RxCfg_128_int_en | RxCfg_fet_multi_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_6k,
EFUSE_NOT_SUPPORT},
{"RTL8168CP/8111CP",
MCFG_8168CP_1,
1024,
RxCfg_128_int_en | RxCfg_fet_multi_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_6k,
EFUSE_NOT_SUPPORT},
{"RTL8168CP/8111CP",
MCFG_8168CP_2,
1024,
RxCfg_128_int_en | RxCfg_fet_multi_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_6k,
EFUSE_NOT_SUPPORT},
{"RTL8168D/8111D",
MCFG_8168D_1,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168D/8111D",
MCFG_8168D_2,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168DP/8111DP",
MCFG_8168DP_1,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168DP/8111DP",
MCFG_8168DP_2,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168DP/8111DP",
MCFG_8168DP_2,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168E/8111E",
MCFG_8168E_1,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168E/8111E",
MCFG_8168E_2,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168E-VL/8111E-VL",
MCFG_8168E_VL_1,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168E-VL/8111E-VL",
MCFG_8168E_VL_2,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168F/8111F",
MCFG_8168F_1,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_SUPPORT},
{"RTL8168F/8111F",
MCFG_8168F_2,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k},

//
// RTL8169/8110 Family
//
{"RTL8169",
MCFG_8169_1,
256,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_7k,
EFUSE_NOT_SUPPORT},
{"RTL8169S/8110S",
MCFG_8169S_1,
256,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_7k,
EFUSE_NOT_SUPPORT},
{"RTL8169S/8110S",
MCFG_8169S_2,
256,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_7k,
EFUSE_NOT_SUPPORT},
{"RTL8169SB/8110SB",
MCFG_8169SB_1,
256,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_7k,
EFUSE_NOT_SUPPORT},
{"RTL8169SC/8110SC",
MCFG_8169SC_1,
256,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_7k,
EFUSE_NOT_SUPPORT},
{"RTL8169SC/8110SC",
MCFG_8169SC_2,
256,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_7k,
EFUSE_NOT_SUPPORT},

//
// RTL8401
//
{"RTL8401",
MCFG_8401_1,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},
{"RTL8401",
MCFG_8402_1,
1024,
(RX_FIFO_THRESH_NONE << RxCfgFIFOShift) | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
0,
EFUSE_NOT_SUPPORT},

//
// RTL8411
//
{"RTL8411",
MCFG_8411_1,
1024,
RxCfg_128_int_en | (RX_DMA_BURST << RxCfgDMAShift),
0xff7e1880,
Jumbo_Frame_9k,
EFUSE_NOT_SUPPORT},
// *** end of table ***

wxmtv 发表于 14/8/24 18:50:29

谢谢楼主分享驱动

zhang1tou 发表于 14/9/12 12:00:26

谢谢楼主分享,试试能不能驱动8168E

小李影视 发表于 15/11/13 22:01:46

感谢搂住分享驱动
页: [1]
查看完整版本: Realtek R1000 Mac驱动 支持RTL8101 8102 8103 8168 8169