removed unneeded printouts

This commit is contained in:
Markus Fröschle
2013-11-03 11:25:29 +00:00
parent f36016f12d
commit 4df94fb470

View File

@@ -511,13 +511,11 @@ void init_usb(void)
do do
{ {
handle = pci_find_device(0x0000, 0xffffL, index++); handle = pci_find_device(0x0000, 0xffffL, index++);
xprintf("checking %d\r\n", handle);
if (handle > 0) if (handle > 0)
{ {
uint32_t id = 0; uint32_t id = 0;
uint32_t class = 0; uint32_t class = 0;
xprintf("ckecking board #%d, handle %d\r\n", index, handle);
id = pci_read_config_longword(handle, PCIIDR); id = pci_read_config_longword(handle, PCIIDR);
class = pci_read_config_longword(handle, PCIREV); class = pci_read_config_longword(handle, PCIREV);
@@ -529,10 +527,8 @@ void init_usb(void)
board = ehci_usb_pci_table; board = ehci_usb_pci_table;
while (board->vendor) while (board->vendor)
{ {
xprintf("ckecking %x against %x\r\n", board->vendor, id & 0xffff);
if ((board->vendor == (id & 0xffff)) && board->device == (id >> 16)) if ((board->vendor == (id & 0xffff)) && board->device == (id >> 16))
{ {
xprintf("board match at handle %x\r\n", handle);
if (usb_init(handle, board) >= 0) if (usb_init(handle, board) >= 0)
{ {
usb_found++; usb_found++;
@@ -546,10 +542,8 @@ void init_usb(void)
board = ohci_usb_pci_table; board = ohci_usb_pci_table;
while (board->vendor) while (board->vendor)
{ {
xprintf("ckecking %x against %x\r\n", board->vendor, id & 0xffff);
if ((board->vendor == (id & 0xffff)) && board->device == (id >> 16)) if ((board->vendor == (id & 0xffff)) && board->device == (id >> 16))
{ {
xprintf("board match at handle %x\r\n", handle);
if (usb_init(handle, board) >= 0) if (usb_init(handle, board) >= 0)
usb_found++; usb_found++;
} }