3 * Copyright (C) 2008 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
4 * Copyright (C) 2009 Tomas 'ZeXx86' Jedrzejek (zexx86@zexos.org)
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
26 #include "../drivers/bus/usb/usb.h"
28 void usb_controller_handler (void *r
)
30 DPRINT (DBG_DRIVER
| DBG_BUS
, "USB -> INT\n");
33 unsigned usb_controller_register (pcidev_t
*pcidev
)
36 DPRINT (DBG_DRIVERĀ
| DBG_BUS
, "irq: %d\nbase: 0x%x\n", pcidev
->u
.h0
.interrupt_line
, pcidev
->u
.h0
.base_registers
[5]);
37 //irq_install_handler (pcidev->u.h0.interrupt_line, usb_controller_handler);
40 for (i = 0; i < 6; i ++)
41 printf ("base addr: 0x%x\n", pcidev->u.h0.base_registers[i]);*/