]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In r225931 I've missed the only other driver using the pointer returned
authorMarius Strobl <marius@FreeBSD.org>
Tue, 1 Nov 2011 17:57:21 +0000 (17:57 +0000)
committerMarius Strobl <marius@FreeBSD.org>
Tue, 1 Nov 2011 17:57:21 +0000 (17:57 +0000)
commit741d3d922c0574920b971d2d3b9d82c9d7ffa861
treebf54ea3252298ee3374b5a6da1d4f30f5695667c
parent0849a53fc0c3d0120b2669a4ffab766e14c30603
In r225931 I've missed the only other driver using the pointer returned
by rman_get_virtual(9) to access device registers sparc64 currently cares
about.
Ideally ata(4) should just be converted to access these using bus_space(9)
read/write functions instead as there's really no reason to do it the
former way. However, this part of ata-siliconimage.c should go away in
favor of siis(4) sooner or later anyway and I don't have the hardware to
actually test the SX4 bits of ata-promise.c.
Also ideally the other architectures should also properly handle the
BUS_SPACE_MAP_LINEAR flag of bus_space_map(9) so this code wouldn't need
to be #ifdef'ed.
sys/dev/ata/ata-pci.c
sys/dev/ata/chipsets/ata-promise.c
sys/dev/ata/chipsets/ata-siliconimage.c