Subversion Repositories Kolibri OS

Rev

Rev 1750 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1750 Rev 1912
Line 91... Line 91...
91
	call	SysMsgBoardStr
91
	call	SysMsgBoardStr
92
	popa
92
	popa
93
; 2. Prepare MMIO region to control the card.
93
; 2. Prepare MMIO region to control the card.
94
; 2a. Read MMIO physical address from PCI config space.
94
; 2a. Read MMIO physical address from PCI config space.
95
	push	10h
95
	push	10h
-
 
96
	cmp	ecx, i9xx_start
-
 
97
	jae	@f
-
 
98
	mov	byte [esp], 14h
-
 
99
@@:
96
	push	10h
100
	push	10h
97
	push	esi
101
	push	esi
98
	call	PciRead32
102
	call	PciRead32
99
; 2b. Mask out PCI region type, lower 4 bits.
103
; 2b. Mask out PCI region type, lower 4 bits.
100
	and	al, not 0xF
104
	and	al, not 0xF
Line 411... Line 415...
411
 
415
 
412
width	dd	predefined_width
416
width	dd	predefined_width
Line 413... Line 417...
413
height	dd	predefined_height
417
height	dd	predefined_height
-
 
418
 
-
 
419
pciids:
-
 
420
	dw	0x3577		; i830m
-
 
421
	dw	0x2562		; 845g
-
 
422
	dw	0x3582		; i855gm
-
 
423
i865_start = ($ - pciids) / 2
414
 
424
	dw	0x2572		; i865g
415
pciids:
425
i9xx_start = ($ - pciids) / 2
416
	dw	0x2582	; i915g
426
	dw	0x2582	; i915g
417
	dw	0x258a	; i915g
427
	dw	0x258a	; e7221g (i915g)
418
	dw	0x2592	; i915gm
428
	dw	0x2592	; i915gm
419
	dw	0x2772	; i945g
429
	dw	0x2772	; i945g
420
	dw	0x27a2	; i945gm
430
	dw	0x27a2	; i945gm
421
	dw	0x27ae	; i945gm
431
	dw	0x27ae	; i945gme
422
i965_start = ($ - pciids) / 2
432
i965_start = ($ - pciids) / 2
423
	dw	0x2972	; i965g
433
	dw	0x2972	; i946qz (i965g)
424
	dw	0x2982	; i965g
434
	dw	0x2982	; g35g (i965g)
425
	dw	0x2992	; i965g
435
	dw	0x2992	; i965q (i965g)
426
	dw	0x29a2	; i965g
436
	dw	0x29a2	; i965g
427
	dw	0x29b2	; g33
437
	dw	0x29b2	; q35g
428
	dw	0x29c2	; g33
438
	dw	0x29c2	; g33g
429
	dw	0x29d2	; g33
439
	dw	0x29d2	; q33g
430
	dw	0x2a02	; i965gm
440
	dw	0x2a02	; i965gm
431
	dw	0x2a12	; i965gm
441
	dw	0x2a12	; i965gm
432
	dw	0x2a42	; gm45
442
	dw	0x2a42	; gm45