2 * This file is part of the coreboot project.
4 * Copyright (C) 2007 Corey Osgood <corey.osgood@gmail.com>
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 2 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.
17 #include <console/console.h>
18 #include <device/device.h>
19 #include <device/pci.h>
20 #include <device/pci_ids.h>
23 static void usb_init(struct device
*dev
)
25 /* TODO: Any init needed? Some ports have it, others don't. */
28 static struct device_operations usb_ops
= {
29 .read_resources
= pci_dev_read_resources
,
30 .set_resources
= pci_dev_set_resources
,
31 .enable_resources
= pci_dev_enable_resources
,
34 .enable
= i82801ax_enable
,
38 static const struct pci_driver i82801aa_usb1 __pci_driver
= {
40 .vendor
= PCI_VENDOR_ID_INTEL
,
41 .device
= PCI_DEVICE_ID_INTEL_82801AA_USB
,
45 static const struct pci_driver i82801ab_usb1 __pci_driver
= {
47 .vendor
= PCI_VENDOR_ID_INTEL
,
48 .device
= PCI_DEVICE_ID_INTEL_82801AB_USB
,