minor changes

This commit is contained in:
Markus Fröschle
2014-09-07 06:55:37 +00:00
parent 5a913f83fa
commit 1a2d7bcc46
2 changed files with 2 additions and 3 deletions

View File

@@ -75,7 +75,6 @@ static struct dma_channel dma_channel[NCHANNELS] =
{-1, NULL}, {-1, NULL}, {-1, NULL}, {-1, NULL}, {-1, NULL}, {-1, NULL}, {-1, NULL}, {-1, NULL},
}; };
/********************************************************************/
/* /*
* Enable all DMA interrupts * Enable all DMA interrupts
* *
@@ -103,7 +102,6 @@ void dma_irq_enable(uint8_t lvl, uint8_t pri)
dbg("DMA task interrupts unmasked, pending interrupts cleared, interrupt controller active\r\n"); dbg("DMA task interrupts unmasked, pending interrupts cleared, interrupt controller active\r\n");
} }
/********************************************************************/
/* /*
* Disable all DMA interrupts * Disable all DMA interrupts
*/ */
@@ -559,6 +557,7 @@ int dma_interrupt_handler(void *arg1, void *arg2)
uint32_t ipl; uint32_t ipl;
ipl = set_ipl(7); /* do not disturb */ ipl = set_ipl(7); /* do not disturb */
/* /*
* Determine which interrupt(s) triggered by AND'ing the * Determine which interrupt(s) triggered by AND'ing the
* pending interrupts with those that aren't masked. * pending interrupts with those that aren't masked.

View File

@@ -130,7 +130,7 @@ int usb_init(int32_t handle, const struct pci_device_id *ent)
{ {
long handle = controller_priv[i]->handle; long handle = controller_priv[i]->handle;
if (handle) if (handle)
res |= usb_init(handle, NULL); res |= usb_init(handle, NULL); /* FIXME: recursive call to self */
} }
} }
return res; return res;