Skip to content

Commit 2f1fd78

Browse files
SebKuzminskyandypugh
authored andcommitted
hm2_eth: add support for 7i96
1 parent 253f411 commit 2f1fd78

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/hal/drivers/mesa-hostmot2/hm2_eth.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ static char *hm2_8cSS_pin_names[] = {
448448

449449
};
450450

451-
452451
#define UDP_PORT 27181
453452
#define SEND_TIMEOUT_US 10
454453
#define RECV_TIMEOUT_US 10
@@ -1279,7 +1278,7 @@ static int hm2_eth_probe(hm2_eth_t *board) {
12791278
board->llio.fpga_part_number = "6slx9tqg144";
12801279
board->llio.num_leds = 4;
12811280

1282-
1281+
12831282
} else if (strncmp(board_name, "MC04", 4) == 0) {
12841283
strncpy(llio_name, board_name, 4);
12851284
llio_name[1] = tolower(llio_name[1]);
@@ -1294,7 +1293,6 @@ static int hm2_eth_probe(hm2_eth_t *board) {
12941293
board->llio.ioport_connector_name[1] = "P2";
12951294

12961295

1297-
12981296
} else if (strncmp(board_name, "8CSS", 4) == 0) {
12991297
strncpy(llio_name, board_name, 4);
13001298
llio_name[1] = tolower(llio_name[1]);
@@ -1308,11 +1306,6 @@ static int hm2_eth_probe(hm2_eth_t *board) {
13081306
board->llio.ioport_connector_name[0] = "P1";
13091307
board->llio.ioport_connector_name[1] = "P2";
13101308

1311-
1312-
1313-
1314-
1315-
13161309
} else {
13171310
LL_PRINT("Unrecognized ethernet board found: %.16s -- port names will be wrong\n", board_name);
13181311
strncpy(llio_name, board_name, 4);

0 commit comments

Comments
 (0)