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.
This commit is contained in:
parent
61d16cdb21
commit
29f0bf5478
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user