diff options
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_ipw.c | 3 | ||||
-rw-r--r-- | sys/dev/pci/if_iwi.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c index 1df56e0435f..9af9daec09a 100644 --- a/sys/dev/pci/if_ipw.c +++ b/sys/dev/pci/if_ipw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ipw.c,v 1.69 2007/09/07 19:05:05 damien Exp $ */ +/* $OpenBSD: if_ipw.c,v 1.70 2007/11/17 19:09:16 damien Exp $ */ /*- * Copyright (c) 2004-2006 @@ -860,6 +860,7 @@ ipw_data_intr(struct ipw_softc *sc, struct ipw_status *status, panic("%s: could not load old rx mbuf", sc->sc_dev.dv_xname); } + sbd->bd->physaddr = htole32(sbuf->map->dm_segs[0].ds_addr); ifp->if_ierrors++; return; } diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index 3ff94e961e2..56923690bdc 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwi.c,v 1.85 2007/09/07 19:05:05 damien Exp $ */ +/* $OpenBSD: if_iwi.c,v 1.86 2007/11/17 19:09:16 damien Exp $ */ /*- * Copyright (c) 2004-2006 @@ -915,6 +915,7 @@ iwi_frame_intr(struct iwi_softc *sc, struct iwi_rx_data *data, panic("%s: could not load old rx mbuf", sc->sc_dev.dv_xname); } + CSR_WRITE_4(sc, data->reg, data->map->dm_segs[0].ds_addr); ifp->if_ierrors++; return; } |