fixup_pci.c (718cf2ccb9956613756ab15d7a0e28f2c8e91cab) | fixup_pci.c (97a410130f1eccd382455ec2515f8188c8c6cf64) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier 5 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 6 * Copyright (c) 2000 BSDi 7 * All rights reserved. 8 * --- 54 unchanged lines hidden (view full) --- 63}; 64 65static driver_t fixup_pci_driver = { 66 "fixup_pci", 67 fixup_pci_methods, 68 0, 69}; 70 | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier 5 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org> 6 * Copyright (c) 2000 BSDi 7 * All rights reserved. 8 * --- 54 unchanged lines hidden (view full) --- 63}; 64 65static driver_t fixup_pci_driver = { 66 "fixup_pci", 67 fixup_pci_methods, 68 0, 69}; 70 |
71static devclass_t fixup_pci_devclass; | 71DRIVER_MODULE(fixup_pci, pci, fixup_pci_driver, 0, 0); |
72 | 72 |
73DRIVER_MODULE(fixup_pci, pci, fixup_pci_driver, fixup_pci_devclass, 0, 0); 74 | |
75static int 76fixup_pci_probe(device_t dev) 77{ 78 switch (pci_get_devid(dev)) { 79 case 0x12378086: /* Intel 82440FX (Natoma) */ 80 fixwsc_natoma(dev); 81 break; 82 case 0x01e010de: /* nVidia nForce2 */ --- 61 unchanged lines hidden --- | 73static int 74fixup_pci_probe(device_t dev) 75{ 76 switch (pci_get_devid(dev)) { 77 case 0x12378086: /* Intel 82440FX (Natoma) */ 78 fixwsc_natoma(dev); 79 break; 80 case 0x01e010de: /* nVidia nForce2 */ --- 61 unchanged lines hidden --- |