acpi_resource.c (72ad60ada478211fc3847c79b7c47c4d7134de1d) | acpi_resource.c (64278df5e02bfd3061b58440a695339ec48c2785) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 554 unchanged lines hidden (view full) --- 563 "acpi_sysresource", 564 acpi_sysresource_methods, 565 0, 566}; 567 568static devclass_t acpi_sysresource_devclass; 569DRIVER_MODULE(acpi_sysresource, acpi, acpi_sysresource_driver, 570 acpi_sysresource_devclass, 0, 0); | 1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000 BSDi 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 554 unchanged lines hidden (view full) --- 563 "acpi_sysresource", 564 acpi_sysresource_methods, 565 0, 566}; 567 568static devclass_t acpi_sysresource_devclass; 569DRIVER_MODULE(acpi_sysresource, acpi, acpi_sysresource_driver, 570 acpi_sysresource_devclass, 0, 0); |
571MODULE_DEPEND(acpi_sysresource, acpi, 1, 1, 1); |
|
571 572static int 573acpi_sysresource_probe(device_t dev) 574{ 575 if (!acpi_disabled("sysresource") && acpi_MatchHid(dev, "PNP0C02")) 576 device_set_desc(dev, "System Resource"); 577 else 578 return (ENXIO); --- 28 unchanged lines hidden --- | 572 573static int 574acpi_sysresource_probe(device_t dev) 575{ 576 if (!acpi_disabled("sysresource") && acpi_MatchHid(dev, "PNP0C02")) 577 device_set_desc(dev, "System Resource"); 578 else 579 return (ENXIO); --- 28 unchanged lines hidden --- |