Accessing I/O ports in Linux
From: Robert E. Wiersbe (rwiersbe_at_comcast.net)
Date: 08/28/03
- Next message: Måns Rullgård: "Re: disk failure: what to do?"
- Previous message: Little Monster: "Re: Mouse fun & games"
- Next in thread: Wiseguy: "Re: Accessing I/O ports in Linux"
- Reply: Wiseguy: "Re: Accessing I/O ports in Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 28 Aug 2003 16:08:54 -0500
I need to access the GPIO (general purpose I/O) port on the motherboard
I'm using (Radisys BG845G). I'm running Red Hat 9.0. I need to be able
to read/write this port from inside a C program. The address offsets are
0x62 and 0x66, but I don't know the base address.
Can someone give me an idea of how to find the base address, and then
access these ports using C?
Thanks!
Bob Wiersbe
- Next message: Måns Rullgård: "Re: disk failure: what to do?"
- Previous message: Little Monster: "Re: Mouse fun & games"
- Next in thread: Wiseguy: "Re: Accessing I/O ports in Linux"
- Reply: Wiseguy: "Re: Accessing I/O ports in Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|