From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,457cdddbe0c51e47,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1994-08-04 16:40:34 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!sunic!news.funet.fi!news.csc.fi!news.helsinki.fi!not-for-mail From: Denis Giffeler Newsgroups: comp.os.linux.announce Subject: enable pci 2 mem posting Followup-To: comp.os.linux.misc Date: 30 Jul 1994 02:05:38 +0300 Organization: ? Sender: wirzeniu@cc.Helsinki.FI Message-ID: <31c202$nei@kruuna.Helsinki.FI> NNTP-Posting-Host: kruuna.helsinki.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Keywords: PCI, NCR 810, MEMORY POSTING A few days ago I posted a patch for the linux.S file to enable the pci to memory posting option. On Asus SP3G Boards it is not possible to enable this via BIOS. This small program enables pci2mem without patching the kernel. Run program with UID 0. Denis. ---------------------------------------------------------------------------- #include #include /* Enables PCI to memory posting on Boards with NCR 810 SCSI Chip. */ /* Tested on ASUS SP3G Board. Workes fine. */ /* giffeler@athene.informatik.uni-bonn.de */ void main () { if (iopl (3)) perror ("iopl"); else { outb (0x0cf8, inb (0x0cf8) | 0x80); outb (0xc054, inb (0xc054) | 1); outb (0x0cf8, inb (0x0cf8) & 0x7f); } } ---------------------------------------------------------------------------- -- Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu PLEASE remember Keywords: and a short description of the software.