summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_skreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-09 17:36:23 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-09 17:36:23 +0000
commitadecb1d4554d6fabb7d8fcd77a0d4616fe860386 (patch)
tree63884fafd5ac69acedd88df37d550225cfa1e19a /sys/pci/if_skreg.h
parentffa1a6b0d376fb05b03ef0c09bc663f1f4b8bac8 (diff)
downloadFreeBSD-src-adecb1d4554d6fabb7d8fcd77a0d4616fe860386.zip
FreeBSD-src-adecb1d4554d6fabb7d8fcd77a0d4616fe860386.tar.gz
if_sk.c: use pci_port_t instead of u_short
if_skreg.h: use alpha_XXX_dmamap() instead of pmap_kextract hackery on alpha platform
Diffstat (limited to 'sys/pci/if_skreg.h')
-rw-r--r--sys/pci/if_skreg.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/pci/if_skreg.h b/sys/pci/if_skreg.h
index e5dca1c..34aef2e 100644
--- a/sys/pci/if_skreg.h
+++ b/sys/pci/if_skreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_skreg.h,v 1.32 1999/07/06 22:07:40 wpaul Exp $
+ * $Id: if_skreg.h,v 1.1 1999/07/09 04:29:51 wpaul Exp $
*/
/*
@@ -1167,6 +1167,5 @@ struct sk_if_softc {
#ifdef __alpha__
#undef vtophys
-#define vtophys(va) (pmap_kextract(((vm_offset_t) (va))) \
- + 1*1024*1024*1024)
+#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va)
#endif
OpenPOWER on IntegriCloud