Date: Sun, 3 Sep 2006 00:27:42 +0000 (UTC) From: John-Mark Gurney <jmg@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/aic7xxx ahc_eisa.c ahc_isa.c ahc_pci.c ahd_pci.c src/sys/dev/ata ata-dma.c src/sys/dev/bge if_bge.c src/sys/dev/em if_em.c src/sys/dev/gem if_gem.c src/sys/dev/isp isp_pci.c src/sys/dev/usb ohci_pci.c src/sys/kern bus_if.m ... Message-ID: <200609030027.k830RgwU002666@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmg 2006-09-03 00:27:42 UTC
FreeBSD src repository
Modified files:
sys/dev/aic7xxx ahc_eisa.c ahc_isa.c ahc_pci.c ahd_pci.c
sys/dev/ata ata-dma.c
sys/dev/bge if_bge.c
sys/dev/em if_em.c
sys/dev/gem if_gem.c
sys/dev/isp isp_pci.c
sys/dev/usb ohci_pci.c
sys/kern bus_if.m subr_bus.c
sys/sys bus.h
Log:
add a newbus method for obtaining the bus's bus_dma_tag_t... This is
required by arches like sparc64 (not yet implemented) and sun4v where there
are seperate IOMMU's for each PCI bus... For all other arches, it will
end up returning NULL, which makes it a no-op...
Convert a few drivers (the ones we've been working w/ on sun4v) to the
new convection... Eventually all drivers will need to replace the parent
tag of NULL, w/ bus_get_dma_tag(dev), though dev is usually different for
each driver, and will require hand inspection...
Reviewed by: scottl (earlier version)
Revision Changes Path
1.36 +2 -2 src/sys/dev/aic7xxx/ahc_eisa.c
1.7 +2 -2 src/sys/dev/aic7xxx/ahc_isa.c
1.65 +2 -2 src/sys/dev/aic7xxx/ahc_pci.c
1.20 +2 -2 src/sys/dev/aic7xxx/ahd_pci.c
1.142 +1 -1 src/sys/dev/ata/ata-dma.c
1.143 +1 -1 src/sys/dev/bge/if_bge.c
1.139 +3 -3 src/sys/dev/em/if_em.c
1.39 +4 -3 src/sys/dev/gem/if_gem.c
1.122 +3 -2 src/sys/dev/isp/isp_pci.c
1.48 +4 -4 src/sys/dev/usb/ohci_pci.c
1.31 +11 -0 src/sys/kern/bus_if.m
1.196 +33 -0 src/sys/kern/subr_bus.c
1.76 +5 -0 src/sys/sys/bus.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609030027.k830RgwU002666>
