diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2004-11-23 10:13:05 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2004-11-23 10:13:05 +0000 |
commit | f8e7607672cf71f2c84bb44148f27d1428840fe8 (patch) | |
tree | b3fb2d528c55bd484e51d86a66fb4a3ffe77ee6d /sys/dev/ic/ar5210.c | |
parent | a7b2471ab522d25c6e01aa1d3ee3b4fedbba8b71 (diff) |
store number of supported gpio pins
Diffstat (limited to 'sys/dev/ic/ar5210.c')
-rw-r--r-- | sys/dev/ic/ar5210.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/ar5210.c b/sys/dev/ic/ar5210.c index c834b06f3bd..daa9283a6a1 100644 --- a/sys/dev/ic/ar5210.c +++ b/sys/dev/ic/ar5210.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5210.c,v 1.6 2004/11/11 20:11:28 reyk Exp $ */ +/* $OpenBSD: ar5210.c,v 1.7 2004/11/23 10:13:04 reyk Exp $ */ /* * Copyright (c) 2004 Reyk Floeter <reyk@vantronix.net>. @@ -2339,6 +2339,9 @@ ar5k_ar5210_get_capabilities(hal) /* Set supported modes */ hal->ah_capabilities.cap_mode = HAL_MODE_11A | HAL_MODE_TURBO; + /* Set number of GPIO pins */ + hal->ah_gpio_npins = AR5K_AR5210_NUM_GPIO; + return (AH_TRUE); } |