tree: drop last paragraph of GPL copyright header
[coreboot.git] / src / southbridge / intel / i82801ax / usb.c
blob7c06def5ae3cbc468d521bcef138964f88589559
1 /*
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>
21 #include "i82801ax.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,
32 .init = usb_init,
33 .scan_bus = 0,
34 .enable = i82801ax_enable,
37 /* 82801AA (ICH) */
38 static const struct pci_driver i82801aa_usb1 __pci_driver = {
39 .ops = &usb_ops,
40 .vendor = PCI_VENDOR_ID_INTEL,
41 .device = PCI_DEVICE_ID_INTEL_82801AA_USB,
44 /* 82801AB (ICH0) */
45 static const struct pci_driver i82801ab_usb1 __pci_driver = {
46 .ops = &usb_ops,
47 .vendor = PCI_VENDOR_ID_INTEL,
48 .device = PCI_DEVICE_ID_INTEL_82801AB_USB,