i82801b11.c (e9acb8cea9b11679cab8cb3c20c4348803bbb58a) i82801b11.c (125ee0ed9cad04307498ac2b7b0d51ad8a807360)
1/*
2 * Copyright (c) 2006 Fabrice Bellard
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
6 * in the Software without restriction, including without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is

--- 67 unchanged lines hidden (view full) ---

76 pci_bridge_exitfn(d);
77
78 return rc;
79}
80
81static void i82801b11_bridge_class_init(ObjectClass *klass, void *data)
82{
83 PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
1/*
2 * Copyright (c) 2006 Fabrice Bellard
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
6 * in the Software without restriction, including without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is

--- 67 unchanged lines hidden (view full) ---

76 pci_bridge_exitfn(d);
77
78 return rc;
79}
80
81static void i82801b11_bridge_class_init(ObjectClass *klass, void *data)
82{
83 PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
84 DeviceClass *dc = DEVICE_CLASS(klass);
84
85 k->is_bridge = 1;
86 k->vendor_id = PCI_VENDOR_ID_INTEL;
87 k->device_id = PCI_DEVICE_ID_INTEL_82801BA_11;
88 k->revision = ICH9_D2P_A2_REVISION;
89 k->init = i82801b11_bridge_initfn;
85
86 k->is_bridge = 1;
87 k->vendor_id = PCI_VENDOR_ID_INTEL;
88 k->device_id = PCI_DEVICE_ID_INTEL_82801BA_11;
89 k->revision = ICH9_D2P_A2_REVISION;
90 k->init = i82801b11_bridge_initfn;
91 set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
90}
91
92static const TypeInfo i82801b11_bridge_info = {
93 .name = "i82801b11-bridge",
94 .parent = TYPE_PCI_DEVICE,
95 .instance_size = sizeof(I82801b11Bridge),
96 .class_init = i82801b11_bridge_class_init,
97};

--- 28 unchanged lines hidden ---
92}
93
94static const TypeInfo i82801b11_bridge_info = {
95 .name = "i82801b11-bridge",
96 .parent = TYPE_PCI_DEVICE,
97 .instance_size = sizeof(I82801b11Bridge),
98 .class_init = i82801b11_bridge_class_init,
99};

--- 28 unchanged lines hidden ---