pnp.c (c7974ff135b114fe8d9b2d2231984c9a7060fd09) pnp.c (132580b5afe793421e1fa57085e8e9c5fa928b86)
1/*
2 * Copyright (c) 1996, Sujal M. Patel
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 508 unchanged lines hidden (view full) ---

517 device_printf(parent, "out of memory\n");
518 scanning = 0;
519 break;
520 }
521 csnldn->csn = csn;
522 csnldn->ldn = ldn;
523 ISA_SET_CONFIG_CALLBACK(parent, dev, pnp_set_config,
524 csnldn);
1/*
2 * Copyright (c) 1996, Sujal M. Patel
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 508 unchanged lines hidden (view full) ---

517 device_printf(parent, "out of memory\n");
518 scanning = 0;
519 break;
520 }
521 csnldn->csn = csn;
522 csnldn->ldn = ldn;
523 ISA_SET_CONFIG_CALLBACK(parent, dev, pnp_set_config,
524 csnldn);
525 isa_set_pnp_csn(dev, csn);
526 isa_set_pnp_ldn(dev, ldn);
525 ldn++;
526 startres = resp;
527 break;
528
529 case PNP_TAG_END:
530 if (!startres) {
531 device_printf(parent, "malformed resources\n");
532 scanning = 0;

--- 293 unchanged lines hidden ---
527 ldn++;
528 startres = resp;
529 break;
530
531 case PNP_TAG_END:
532 if (!startres) {
533 device_printf(parent, "malformed resources\n");
534 scanning = 0;

--- 293 unchanged lines hidden ---