-
Notifications
You must be signed in to change notification settings - Fork 7
/
bsdexport.h
28 lines (21 loc) · 956 Bytes
/
bsdexport.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once
#define BSD_NT_WRAP(x) (x == 0 ? STATUS_SUCCESS : STATUS_UNSUCCESSFUL)
int re_check_mac_version(struct re_softc* sc);
void re_init_software_variable(struct re_softc* sc);
void re_exit_oob(struct re_softc* sc);
void re_hw_init(struct re_softc* sc);
void re_reset(struct re_softc* sc);
void re_get_hw_mac_address(struct re_softc* sc, u_int8_t* eaddr);
void re_phy_power_up(struct re_softc* sc);
void re_hw_phy_config(struct re_softc* sc);
void re_hw_start_unlock(struct re_softc* sc);
void re_hw_start_unlock_8125(struct re_softc* sc);
u_int8_t re_link_ok(struct re_softc* sc);
u_int8_t re_link_autoneg(struct re_softc* sc);
void re_link_on_patch(struct re_softc* sc);
void re_stop(struct re_softc* sc);
void re_hw_d3_para(struct re_softc* sc);
int re_ifmedia_upd(struct re_softc* sc);
int re_ifmedia_upd_8125(struct re_softc* sc);
void re_rar_set(struct re_softc* sc, u_int8_t* eaddr);
void re_set_rx_packet_filter(struct re_softc* sc);