summaryrefslogtreecommitdiff
path: root/cmd/sbc_harness/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/sbc_harness/main.c')
-rw-r--r--cmd/sbc_harness/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c
index 1200608..b120d46 100644
--- a/cmd/sbc_harness/main.c
+++ b/cmd/sbc_harness/main.c
@@ -44,9 +44,10 @@ int main() {
19, /* PIN_MOSI */
18, /* PIN_CLK */
17); /* PIN_CS */
- w5500_init(&dev_w5500, "W5500", &dev_spi,
- 21, /* PIN_INTR */
- 20); /* PIN_RESET */
+ w5500_init(&dev_w5500, "W5500", (struct spi *)&dev_spi,
+ 21, /* PIN_INTR */
+ 20, /* PIN_RESET */
+ ((struct eth_addr){{0xDE,0xAD,0xBE,0xEF,0x01,0x02}}));
usb_common_earlyinit();
usb_keyboard_init();