From adecb1d4554d6fabb7d8fcd77a0d4616fe860386 Mon Sep 17 00:00:00 2001 From: wpaul Date: Fri, 9 Jul 1999 17:36:23 +0000 Subject: 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 --- sys/pci/if_skreg.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/pci/if_skreg.h') 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 -- cgit v1.1