.. | .. |
---|
7439 | 7439 | clk_disable_unprepare(data); |
---|
7440 | 7440 | } |
---|
7441 | 7441 | |
---|
7442 | | -extern ssize_t at24_mac1_read(unsigned char* mac); |
---|
| 7442 | +extern ssize_t at24_mac2_read(unsigned char* mac); |
---|
7443 | 7443 | static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) |
---|
7444 | 7444 | { |
---|
7445 | 7445 | const struct rtl_cfg_info *cfg = rtl_cfg_infos + ent->driver_data; |
---|
.. | .. |
---|
7602 | 7602 | // for (i = 0; i < ETH_ALEN; i++) |
---|
7603 | 7603 | // dev->dev_addr[i] = RTL_R8(tp, MAC0 + i); |
---|
7604 | 7604 | memset(mac, 0x00, 6); |
---|
7605 | | - at24_mac1_read(mac); |
---|
| 7605 | + at24_mac2_read(mac); |
---|
7606 | 7606 | |
---|
7607 | 7607 | if ((mac[0] == 0x68) && (mac[1] == 0xed)) |
---|
7608 | 7608 | { |
---|