]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Some early Macintosh GPIO controllers don't provide reg properties for
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>
Mon, 12 Jan 2009 01:36:01 +0000 (01:36 +0000)
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>
Mon, 12 Jan 2009 01:36:01 +0000 (01:36 +0000)
commit48ed71b9e3182701bad4dea1f13735c03e54670d
tree818bdc6fd46ed26aefdef04761aa9995cdb43bea
parent7f220ecf7275e928d043e42132314ed61d84c47b
Some early Macintosh GPIO controllers don't provide reg properties for
interrupt-only GPIOs. Honor this, and allow interrupt attachment, but not
read/write access for such devices.

Reported by: Niels Eliasen
sys/powerpc/powermac/macgpio.c