On Fri, 24 Oct 2014 15:09:45 +0200, Peter Senna Tschudin said: > This was edited in 2010, but the original is more than 9 years old, > and still there are some drivers using virt_to_bus() and > bus_to_virt(). > > -- // -- > All drivers should be using these interfaces with no exceptions. It > is planned to completely remove virt_to_bus() and bus_to_virt() as > they are entirely deprecated. Some ports already do not provide these > as it is impossible to correctly support them. > -- // -- > > Files calling virt_to_bus: > ./drivers/atm/ambassador.c > ./drivers/atm/firestream.c > ./drivers/atm/horizon.c > ./drivers/atm/zatm.c > ./drivers/block/swim3.c > ./drivers/isdn/hisax/netjet.c > ./drivers/media/pci/zoran/zoran_device.c > ./drivers/media/pci/zoran/zoran_driver.c > ./drivers/net/appletalk/ltpc.c > ./drivers/net/ethernet/amd/au1000_eth.c > ./drivers/net/ethernet/apple/bmac.c > ./drivers/net/ethernet/apple/mace.c > ./drivers/net/ethernet/dec/tulip/de4x5.c > ./drivers/net/ethernet/i825xx/82596.c > ./drivers/net/ethernet/sgi/ioc3-eth.c > ./drivers/net/irda/au1k_ir.c > ./drivers/net/irda/donauboe.c > ./drivers/net/wan/cosa.c > ./drivers/net/wan/lmc/lmc_main.c > ./drivers/net/wan/z85230.c > ./drivers/scsi/a2091.c > ./drivers/scsi/a3000.c > ./drivers/scsi/advansys.c > ./drivers/scsi/gvp11.c > ./drivers/scsi/mvme147.c > ./drivers/staging/comedi/drivers/das1800.c > ./drivers/staging/comedi/drivers/dt282x.c > ./drivers/staging/comedi/drivers/ni_at_a2150.c > ./drivers/staging/comedi/drivers/ni_labpc_isadma.c > ./drivers/staging/comedi/drivers/pcl812.c > ./drivers/staging/comedi/drivers/pcl816.c > ./drivers/staging/comedi/drivers/pcl818.c > ./drivers/staging/netlogic/xlr_net.c > ./drivers/staging/slicoss/slicoss.c > ./drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c > ./drivers/vme/bridges/vme_ca91cx42.c > > Files calling bus_to_virt: > ./drivers/atm/ambassador.c > ./drivers/atm/firestream.c > ./drivers/atm/horizon.c > ./drivers/atm/zatm.c > ./drivers/isdn/hisax/netjet.c > ./drivers/media/pci/zoran/zoran_driver.c > ./drivers/net/ethernet/apple/bmac.c > ./drivers/net/ethernet/apple/mace.c > ./drivers/scsi/BusLogic.c > ./drivers/scsi/dpt_i2o.c > ./drivers/staging/netlogic/xlr_net.c > > Should the 'with no exceptions' be enforced? Feel free to create patches. :) (I'd contribute some myself if I had any of the hardware to test against)
Attachment:
pgp6vdoPICi99.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies