Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: giffeler@next-pc.informatik.uni-bonn.de (Denis Giffeler)
Subject: Patch: PCI to memory posting enable
Date: 22 Jul 1994 22:05:10 +0300	[thread overview]
Message-ID: <30p596$dcv@klaava.Helsinki.FI> (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.


                 reply	other threads:[~1994-07-22 19:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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