diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-25 16:28:08 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-25 16:28:08 -0600 |
commit | 9f4494685a29714c57cc11d62dead71f7004e061 (patch) | |
tree | 32976be279a3fd89a26f382cd3a358c66f9cd726 /cmd/sbc_harness/hw/w5500.h | |
parent | 84051eb54834ff805fee1c2e0f573d4433a254c2 (diff) |
ahhh
Diffstat (limited to 'cmd/sbc_harness/hw/w5500.h')
-rw-r--r-- | cmd/sbc_harness/hw/w5500.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/sbc_harness/hw/w5500.h b/cmd/sbc_harness/hw/w5500.h index b50ff83..1b485dd 100644 --- a/cmd/sbc_harness/hw/w5500.h +++ b/cmd/sbc_harness/hw/w5500.h @@ -38,6 +38,7 @@ struct w5500 { struct spi *spidev; uint pin_intr; uint pin_reset; + struct net_eth_addr hwaddr; /* mutable */ uint16_t next_local_port; @@ -71,12 +72,12 @@ void _w5500_init(struct w5500 *self, /** * TODO. */ -void w5500_hard_reset(struct w5500 *self, struct net_eth_addr addr); +void w5500_hard_reset(struct w5500 *self); /** * TODO. */ -void w5500_soft_reset(struct w5500 *self, struct net_eth_addr addr); +void w5500_soft_reset(struct w5500 *self); struct w5500_netcfg { struct net_ip4_addr gateway_addr; |