Change a :
bzero(ptr, sizeof(DC_RXLEN * 5)); which should obviously be: bzero(ptr, DC_RXLEN * 5); Looks like this bug may have reduced the effectiveness of the workaround for the hardware bug in the PNIC chips. MFC after: 1 week
This commit is contained in:
parent
3cc3bf5282
commit
1edc4c46b8
@ -2431,7 +2431,7 @@ dc_pnic_rx_bug_war(struct dc_softc *sc, int idx)
|
||||
i = sc->dc_pnic_rx_bug_save;
|
||||
cur_rx = &sc->dc_ldata->dc_rx_list[idx];
|
||||
ptr = sc->dc_pnic_rx_buf;
|
||||
bzero(ptr, sizeof(DC_RXLEN * 5));
|
||||
bzero(ptr, DC_RXLEN * 5);
|
||||
|
||||
/* Copy all the bytes from the bogus buffers. */
|
||||
while (1) {
|
||||
|
@ -2431,7 +2431,7 @@ dc_pnic_rx_bug_war(struct dc_softc *sc, int idx)
|
||||
i = sc->dc_pnic_rx_bug_save;
|
||||
cur_rx = &sc->dc_ldata->dc_rx_list[idx];
|
||||
ptr = sc->dc_pnic_rx_buf;
|
||||
bzero(ptr, sizeof(DC_RXLEN * 5));
|
||||
bzero(ptr, DC_RXLEN * 5);
|
||||
|
||||
/* Copy all the bytes from the bogus buffers. */
|
||||
while (1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user