From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from n8.bullet.ukl.yahoo.com (n8.bullet.ukl.yahoo.com [217.146.182.188]) by ozlabs.org (Postfix) with SMTP id 0221BDDE37 for ; Wed, 17 Oct 2007 13:30:21 +1000 (EST) Date: Tue, 16 Oct 2007 20:29:58 -0700 (PDT) From: Dell Query Subject: PPC440EPx GPIO control help To: linuxppc-embedded@ozlabs.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1275405173-1192591798=:83957" Message-ID: <400754.83957.qm@web45604.mail.sp1.yahoo.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-1275405173-1192591798=:83957 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I am a Linux and PPC newbie. I have a PPC440EPx Sequoia Evaluation board that runs on Linux 2.6.21. What I would want to do is to control (write and read values to) its GPIO. Perhaps similar to Turbo C's outputb(0x378,0x01) to write and inportb(0x378) to read. I read the PPC440EPx manual but I find it difficult to understand. Could anyone show me any tutorial or some sample codes? Thanks, Dell --------------------------------- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. --0-1275405173-1192591798=:83957 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi,

I am a Linux and PPC newbie.

I have a PPC440EPx Sequoia Evaluation board that runs on Linux 2.6.21. What I would want to do is to control (write and read values to) its GPIO. Perhaps similar to Turbo C's outputb(0x378,0x01) to write and inportb(0x378) to read. I read the PPC440EPx manual but I find it difficult to understand.

Could anyone show me any tutorial or some sample codes?

Thanks,
Dell


Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. --0-1275405173-1192591798=:83957--