PCI should use bios if direct is not detected

PCI should use bios if direct is not detected

Post by Jim Radfor » Sun, 27 Oct 2002 10:10:06



In 2.4.10 the pci subsystem stopped using the bios to access the PCI
config space when no direct method is detected even though it does
detect that it *can* use the bios leaving my machine PCI-less :-(.
This patch restores the older saner behavior and shouldn't affect any
working system.

-Jim

diff -Nru linux-2.5.44/arch/i386/pci/direct.c linux-2.5.44-bios/arch/i386/pci/direct.c
--- linux-2.5.44/arch/i386/pci/direct.c    Sat Oct 26 00:39:23 2002

        }

        local_irq_restore(flags);
-       pci_root_ops = NULL;
        return 0;
 }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. VESA BIOS NOT DETECTED

Hi,

I have ASUS M8300B laptop with Silicon Motion graphic chipset. I installed
Solaris 8 on it and as SM is not supported by Sun I had 640x480 resolution.
Then I installed Xfree86 4.0.2 as it has got SM driver support. After
configuring it I have a smaller window with 16 bit colors appears somewhere
on the screen. Though my laptop screen is 13''  this small window is almost
5''x4''in size. Then I thought of  installing Linux on it. After setting up
it works very well with full screen filled. When I checked
/var/log/Xfree86.0.log on both solaris and linux I found something strange
on solaris.

Solaris.

(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/libint10.a
(II) Silicon Motion(0): initializing int10
(II) Silicon Motion(0): Primary V_BIOS segment is: 0xc000
(II) Silicon Motion(0): VESA BIOS function failed
(--) Silicon Motion(0): Chipset: "Lynx3DM"
(II) Silicon Motion(0): Physical MMIO at 0xF8000000
(II) Silicon Motion(0): Logical MMIO at 0xDF790000 - 0xDF98FFFF
(II) Silicon Motion(0): DPR=0xDF790000, VPR=0xDF790800, IOBase=0xDF850000
(II) Silicon Motion(0): DataPort=0xDF890000 - 0xDF98FFFF
(II) Silicon Motion(0): Physical frame buffer at 0xF8200000
(II) Silicon Motion(0): Logical frame buffer at 0x00000000 - 0xFFFFFFFF
(II) Silicon Motion(0): Cursor Offset: FFFFFC00 Reserved: FFFFF800
(II) Silicon Motion(0): TFT Panel Size = 1024x768
 SMI_PreInit vgaCRIndex=3d4, vgaIOBase=3d0, MMIOBase=df790000

Linux

(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) Silicon Motion(0): initializing int10
(II) Silicon Motion(0): Primary V_BIOS segment is: 0xc000
(II) Silicon Motion(0): VESA BIOS detected
(II) Silicon Motion(0): VESA VBE Version 2.0
(II) Silicon Motion(0): VESA VBE Total Mem: 8192 kB
(II) Silicon Motion(0): VESA VBE OEM: Silicon Motion SM720 VGA BIOS
(II) Silicon Motion(0): VESA VBE OEM Software Rev: 2.0
(II) Silicon Motion(0): VESA VBE OEM Vendor: SM720
(II) Silicon Motion(0): VESA VBE OEM Product: SM720
(II) Silicon Motion(0): VESA VBE OEM Product Rev: SM720
(--) Silicon Motion(0): Chipset: "Lynx3DM"
(II) Silicon Motion(0): Physical MMIO at 0xF8000000
(II) Silicon Motion(0): Logical MMIO at 0x4032C000 - 0x4052BFFF
(II) Silicon Motion(0): DPR=0x4032C000, VPR=0x4032C800, IOBase=0x403EC000
(II) Silicon Motion(0): DataPort=0x4042C000 - 0x4052BFFF
(II) Silicon Motion(0): Physical frame buffer at 0xF8200000
(II) Silicon Motion(0): Logical frame buffer at 0x00000000 - 0xFFFFFFFF
(II) Silicon Motion(0): Cursor Offset: FFFFFC00 Reserved: FFFFF800
(II) Silicon Motion(0): TFT Panel Size = 1024x768
 SMI_PreInit vgaCRIndex=3d4, vgaIOBase=3d0, MMIOBase=4032c000

Now, can anyone tell me what should I do to get VESA BIOS detected by
solaris and is this detection related to my small window problem??

Please help me as I am working on it since last two months.

Kum

2. pixie problem on DEC Alpha OSF/1

3. Direct Master Operation using PLX 9054 PCI Controller

4. video drivers for a ct65510

5. Running XF86 with Matrox G450-Video BIOS info block not detected!

6. How to get Apache to execute Java CGI code?

7. Boot disk does not detect IDE Toshiba CD-ROM or am I stupid?

8. Wordperfect for SCO

9. 512 Mb DIMM not detected by the BIOS!

10. How to merge NCR PCI SCSI BIOS with non-ASUS MB BIOS

11. Linux Bios and PCI Bios Int 1a

12. Trouble using PCI BIOS functions

13. PCI Yamaha Sound Card (Xwave Direct 192 PCI) Help o : )