acpi_pci.c (cd8b53ed2d1f2b5099c4b1889e2df00da1711553) acpi_pci.c (64278df5e02bfd3061b58440a695339ec48c2785)
1/*
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * Copyright (c) 2000, Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000, BSDi
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

118
119static driver_t acpi_pci_driver = {
120 "pci",
121 acpi_pci_methods,
122 0, /* no softc */
123};
124
125DRIVER_MODULE(acpi_pci, pcib, acpi_pci_driver, pci_devclass, 0, 0);
1/*
2 * Copyright (c) 1997, Stefan Esser <se@freebsd.org>
3 * Copyright (c) 2000, Michael Smith <msmith@freebsd.org>
4 * Copyright (c) 2000, BSDi
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

118
119static driver_t acpi_pci_driver = {
120 "pci",
121 acpi_pci_methods,
122 0, /* no softc */
123};
124
125DRIVER_MODULE(acpi_pci, pcib, acpi_pci_driver, pci_devclass, 0, 0);
126MODULE_VERSION(acpi_pci, 1);
126MODULE_DEPEND(acpi_pci, acpi, 1, 1, 1);
127MODULE_DEPEND(acpi_pci, pci, 1, 1, 1);
127MODULE_DEPEND(acpi_pci, pci, 1, 1, 1);
128MODULE_VERSION(acpi_pci, 1);
128
129static int
130acpi_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result)
131{
132 struct acpi_pci_devinfo *dinfo;
133
134 switch (which) {
135 case ACPI_IVAR_HANDLE:

--- 150 unchanged lines hidden ---
129
130static int
131acpi_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result)
132{
133 struct acpi_pci_devinfo *dinfo;
134
135 switch (which) {
136 case ACPI_IVAR_HANDLE:

--- 150 unchanged lines hidden ---