mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Remove a stupid hack of mine which prevented PCI io memory access on the alpha.
This commit is contained in:
parent
6aa91d039a
commit
8b761c8004
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38159
@ -23,7 +23,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: pci_compat.c,v 1.7 1998/04/01 21:07:37 tegge Exp $
|
||||
* $Id: pci_compat.c,v 1.8 1998/07/22 08:39:08 dfr Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -152,10 +152,7 @@ int pci_map_mem(pcici_t cfg, u_long reg, vm_offset_t* va, vm_offset_t* pa)
|
||||
vaddr = (vm_offset_t)pmap_mapdev(paddr-poffs, psize+poffs);
|
||||
#endif
|
||||
#ifdef __alpha__
|
||||
/* XXX should talk to chipset.
|
||||
Hardwire pyxis for now */
|
||||
vaddr = ALPHA_PHYS_TO_K0SEG(0x8600000000L
|
||||
+ paddr-poffs);
|
||||
vaddr = paddr-poffs;
|
||||
#endif
|
||||
if (vaddr != NULL) {
|
||||
vaddr += poffs;
|
||||
|
Loading…
Reference in New Issue
Block a user