mirror of
https://github.com/buserror/mii_emu.git
synced 2024-11-25 05:32:20 +00:00
slot: added a (*dispose)(...) call
For drivers Signed-off-by: Michel Pollet <buserror@gmail.com>
This commit is contained in:
parent
a4ac4c0049
commit
60bf0ae000
@ -29,6 +29,7 @@ typedef struct mii_slot_drv_t {
|
||||
const char * desc;
|
||||
int (*probe)(mii_t * mii, uint32_t flags);
|
||||
int (*init)(mii_t * mii, struct mii_slot_t *slot);
|
||||
void (*dispose)(mii_t * mii, struct mii_slot_t *slot); /* optional */
|
||||
void (*reset)(mii_t * mii, struct mii_slot_t *slot); /* optional */
|
||||
void (*run)(mii_t * mii, struct mii_slot_t *slot); /* optional */
|
||||
uint8_t (*access)(
|
||||
|
Loading…
Reference in New Issue
Block a user