NetBSD Problem Report #10327

Received: (qmail 26961 invoked from network); 8 Jun 2000 17:04:34 -0000
Message-Id: <200006081704.KAA28479@nbwww.isc.org>
Date: Thu, 8 Jun 2000 10:04:34 -0700 (PDT)
From: cgd@netbsd.org
Reply-To: cgd@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: if_tl.c uses vtophys, not bus_dma
X-Send-Pr-Version: www-1.0

>Number:         10327
>Category:       kern
>Synopsis:       if_tl.c uses vtophys, not bus_dma
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 08 17:06:01 +0000 2000
>Closed-Date:    Fri Aug 03 16:49:29 +0000 2001
>Last-Modified:  Fri Aug 03 16:49:29 +0000 2001
>Originator:     Chris Demetriou
>Release:        NetBSD-current sources as of 20000606
>Organization:
>Environment:
N/A

>Description:
the 'tl' ethernet driver (sys/dev/pci/if_tl.c) uses the deprecated
(for MI driver use), non-portable vtophys() interface.  It should
be using the bus_dma routines.
>How-To-Repeat:
read the source, or try to include the 'tl' driver
for an arch which doesn't include vtophys().  (Even on some which
compile, the use of vtophys() will probably be incorrect and result
in incorrect operation.)
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: bouyer 
State-Changed-When: Fri Aug 3 09:49:04 PDT 2001 
State-Changed-Why:  
I converted the if_tl driver to bus_dma. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.