GC some #if 0 junk
This commit is contained in:
parent
4ee5733cc5
commit
fdb0bbc895
@ -23,7 +23,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: isa.c,v 1.122 1999/04/24 18:24:43 kato Exp $
|
* $Id: isa.c,v 1.123 1999/05/08 18:15:49 peter Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -531,14 +531,6 @@ isa_release_resource(device_t bus, device_t child, int type, int rid,
|
|||||||
|
|
||||||
rv = BUS_RELEASE_RESOURCE(device_get_parent(bus), child, type, rid, r);
|
rv = BUS_RELEASE_RESOURCE(device_get_parent(bus), child, type, rid, r);
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (rv) {
|
|
||||||
/* Kludge, isa as a child of pci doesn't have mapping regs */
|
|
||||||
printf("WARNING: isa_release_resource: BUS_RELEASE_RESOURCE() failed: %d\n", rv);
|
|
||||||
rv = 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (rv == 0) {
|
if (rv == 0) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case SYS_RES_IRQ:
|
case SYS_RES_IRQ:
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: isa.c,v 1.122 1999/04/24 18:24:43 kato Exp $
|
* $Id: isa.c,v 1.123 1999/05/08 18:15:49 peter Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -531,14 +531,6 @@ isa_release_resource(device_t bus, device_t child, int type, int rid,
|
|||||||
|
|
||||||
rv = BUS_RELEASE_RESOURCE(device_get_parent(bus), child, type, rid, r);
|
rv = BUS_RELEASE_RESOURCE(device_get_parent(bus), child, type, rid, r);
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (rv) {
|
|
||||||
/* Kludge, isa as a child of pci doesn't have mapping regs */
|
|
||||||
printf("WARNING: isa_release_resource: BUS_RELEASE_RESOURCE() failed: %d\n", rv);
|
|
||||||
rv = 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (rv == 0) {
|
if (rv == 0) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case SYS_RES_IRQ:
|
case SYS_RES_IRQ:
|
||||||
|
Loading…
Reference in New Issue
Block a user