From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,8ef4f75ae805ba95,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-07-22 14:47:43 PST Path: nntp.gmd.de!xlink.net!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: ? Sender: wirzeniu@cc.Helsinki.FI 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.