GPIO for BeagleBone?

Hey chaps,

I'm trying to clue up on GPIO for the BeagleBone, looking at the
Angstrom filesystem, I can't spot gpio.h anywhere. Where might I find
GPIO related code?

Many thanks

It is located at include/linux/gpio.h in kernel. This one may be the one you are looking for: drivers/gpio/gpiolib.c.

Regards,
Yan

As I don't yet have a BeagleBone to test with I've gone here
http://www.angstrom-distribution.org/demo/beaglebone/ and downloaded
Angstrom-Cloud9-IDE-eglibc-ipk-v2011.11-core-
beaglebone.rootfs.tar.bz2.

This file-system does not appear to contain either of these files. Is
it missing them or have there been changes to Linux 3.1 that I'm
unaware of? Sadly I could only buy books on drivers that are from
2008, there's nothing more recent =(

Many thanks