Subject: kern/10327: if_tl.c uses vtophys, not bus_dma
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cgd@netbsd.org>
List: netbsd-bugs
Date: 06/08/2000 10:05:22
>Number:         10327
>Category:       kern
>Synopsis:       if_tl.c uses vtophys, not bus_dma
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 08 10:06:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: