> Does mapping the whole BAR work? If so it'd be trivial to change the > driver to just do that instead, and it should be harmless.
As far as I can tell, no: [root@tpad ~]# ./testneo neomagic nm2160 found phys_base: 0xfd000000 phys_len: 0x01000000 attempt pci_device_map_range of 0x01000000 pci_device_map_range: Invalid argument 00:09.0 VGA compatible controller: Neomagic Corporation NM2160 [MagicGraph 128XD] (rev 01) (prog-if 00 [VGA controller]) Subsystem: IBM Device 0164 Flags: medium devsel, IRQ 255 Memory at fd000000 (32-bit, prefetchable) [size=16M] Memory at fea00000 (32-bit, non-prefetchable) [size=2M] Memory at fed00000 (32-bit, non-prefetchable) [size=1M] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] -- <> _______________________________________________ xorg@lists.x.org: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: https://lists.x.org/mailman/listinfo/xorg Your subscription address: %(user_address)s