diff options
author | nate <nate@FreeBSD.org> | 1996-06-19 01:08:58 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-06-19 01:08:58 +0000 |
commit | 583ac053ede090e4a3daa2faac76fd7dacd18dc8 (patch) | |
tree | 9f6274fa520814f23c6767601c815903fc4bc81b /usr.sbin/pccard | |
parent | 6c969f4ec00942c61388fd14f22975529e5cf648 (diff) | |
download | FreeBSD-src-583ac053ede090e4a3daa2faac76fd7dacd18dc8.zip FreeBSD-src-583ac053ede090e4a3daa2faac76fd7dacd18dc8.tar.gz |
Use irq_tok() instead of num_tok() for IRQ's. This will allow us to use
the '?' (undefined) token for stating IRQ's in the driver config line.
This will allow the card to automatically select and unused IRQ when
that code is enabled.
Diffstat (limited to 'usr.sbin/pccard')
-rw-r--r-- | usr.sbin/pccard/pccardd/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pccard/pccardd/file.c b/usr.sbin/pccard/pccardd/file.c index 8f1c285..0e11ca1 100644 --- a/usr.sbin/pccard/pccardd/file.c +++ b/usr.sbin/pccard/pccardd/file.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: file.c,v 1.5 1996/06/18 19:52:29 nate Exp $ + * $Id: file.c,v 1.6 1996/06/18 23:50:51 nate Exp $ */ #include <stdio.h> #include <stdlib.h> @@ -184,7 +184,7 @@ parse_card(void) confp = xmalloc(sizeof(*confp)); man = next_tok(); confp->driver = new_driver(man); - confp->irq = num_tok(); + confp->irq = irq_tok(1); confp->flags = num_tok(); if (confp->flags == -1) { pusht = 1; |