Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!darwin.sura.net!paladin.american.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!usenet.ucs.indiana.edu!bigbang.astro.indiana.edu!pitts From: pitts@bigbang.astro.indiana.edu (Jim Pitts) Subject: Looking for a routine. Message-ID: <CFBzIw.6LI@usenet.ucs.indiana.edu> Sender: news@usenet.ucs.indiana.edu (USENET News System) Nntp-Posting-Host: bigbang.astro.indiana.edu Organization: Indiana University Astrophysics, Bloomington, IN References: <1993Oct23.022017.10698@serval.net.wsu.edu> Date: Sat, 23 Oct 1993 03:40:08 GMT Lines: 27 Hi, I in my quest to get my Diamond SpeedStar 24 graphics card working I am looking at some code from Linux. This code uses a routine called ioperm like: void perm_ports(int perm) { ioperm(0x3c2, 1, perm); ioperm(0x3cc, 1, perm); } I can find no such routine in FreeBSD. I notice that it is -also- used in the XFree86 distribution of X386/lib/X11/etc/ati.test.c which is for the ATI card. It is used like this: ATIExtReg = *((short int *)bios_data + 0x08); ioperm( ATIExtReg, 2, 1 ); I am not sure exactly what this does. If someone could tell me where to find this routine, send me one if they have it, or just tell me what it does so I can write my own, I would appreciate it very much. I would also appreciate any help people might have wrt writing a clock setting routine for the Diamond SpeedStar 24 graphics card. Jim Pitts pitts@bigbang.astro.indiana.edu