Call for testers: New acpi_ibm driver

Nate Lawson nate at root.org
Fri Jun 17 16:58:15 GMT 2005


Martin Cracauer wrote:
> All right.
> 
> Appended diff makes my R40 load the module and have dev.acpi_ibm
> appear in sysctl.
> 
> Index: acpi_ibm.c
> ===================================================================
> RCS file: /home/CVS-FreeBSD/src/sys/dev/acpi_support/acpi_ibm.c,v
> retrieving revision 1.6
> diff -u -r1.6 acpi_ibm.c
> --- acpi_ibm.c	10 Jun 2005 11:56:18 -0000	1.6
> +++ acpi_ibm.c	17 Jun 2005 16:54:59 -0000
> @@ -269,7 +269,7 @@
>  DRIVER_MODULE(acpi_ibm, acpi, acpi_ibm_driver, acpi_ibm_devclass,
>  	      0, 0);
>  MODULE_DEPEND(acpi_ibm, acpi, 1, 1, 1);
> -static char    *ibm_ids[] = {"IBM0068", NULL};
> +static char    *ibm_ids[] = {"IBM0068", "IBM0057", NULL};
>  
>  static void
>  ibm_led(void *softc, int onoff)

Style note to committer, please sort IDs in alphabetical/numeric order. 
  Otherwise, looks fine.

-- 
Nate


More information about the freebsd-acpi mailing list