From giffeler@next-pc.informatik.uni-bonn.de Sat Jul 23 13:49:32 EDT 1994
Article: 2442 of comp.os.linux.announce
Path: bigblue.oit.unc.edu!concert!inxs.concert.net!taco.cc.ncsu.edu!gatech!howland.reston.ans.net!EU.net!sunic!news.funet.fi!news.csc.fi!news.helsinki.fi!not-for-mail
From: giffeler@next-pc.informatik.uni-bonn.de (Denis Giffeler)
Newsgroups: comp.os.linux.announce
Subject: Patch: PCI to memory posting enable
Followup-To: comp.os.linux.misc
Date: 22 Jul 1994 22:05:10 +0300
Organization: ?
Lines: 41
Sender: wirzeniu@cc.Helsinki.FI
Approved: linux-announce@tc.cornell.edu (Lars Wirzenius)
Message-ID: <30p596$dcv@klaava.Helsinki.FI>
NNTP-Posting-Host: klaava.helsinki.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Keywords: PCI, ASUS SP3G, Memory posting

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.


