Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* Patch: PCI to memory posting enable
@ 1994-07-22 19:05 Denis Giffeler
  0 siblings, 0 replies; only message in thread
From: Denis Giffeler @ 1994-07-22 19:05 UTC (permalink / raw)


On ASUS mainboards with Saturn Chipset there is no way to enable pci2mem via
BIOS. This patch enables the pci to memory posting. 
I've tested it with kernel 1.1.19. Works fine. Don't ask me about
performance increase...
Denis

Apply the following patch in /usr/src/linux/boot

*** setup.s~	Fri Jul 22 10:50:25 1994
--- setup.s	Fri Jul 22 10:50:24 1994
***************
*** 42,47 ****
--- 42,64 ----
  entry start
  start:
  
+ ! Pci to memory posting enable
+ 
+ 	mov	dx,#0x0cf8
+ 	in	al,dx
+ 	or	al,#0x80
+ 	out	dx,al
+ 
+ 	mov	dx,#0xc054
+ 	in	al,dx
+ 	or	al,#0x01
+ 	out	dx,al
+ 
+ 	mov	dx,#0x0cf8
+ 	in	al,dx
+ 	and	al,#0x7f
+ 	out	dx,al
+ 
  ! ok, the read went well so we get current cursor position and save it for
  ! posterity.
  


--
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
PLEASE remember Keywords: and a short description of the software.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-07-22 19:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-22 19:05 Patch: PCI to memory posting enable Denis Giffeler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox