Subject: kern/10327: if_tl.c uses vtophys, not bus_dma
To: None <>
From: None <>
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
>Originator:     Chris Demetriou
>Release:        NetBSD-current sources as of 20000606

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.
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.)