From 9a9dc0c362277481939b523fbffe15fe8e607644 Mon Sep 17 00:00:00 2001 From: njl Date: Mon, 12 Jan 2004 06:55:50 +0000 Subject: [PATCH] Clean up the probe message and sort the function table according to the function order in the file. --- sys/dev/acpi_support/acpi_toshiba.c | 6 +++--- sys/i386/acpica/acpi_toshiba.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/dev/acpi_support/acpi_toshiba.c b/sys/dev/acpi_support/acpi_toshiba.c index a3b8a6f5ebfc..9f582d4aed3e 100644 --- a/sys/dev/acpi_support/acpi_toshiba.c +++ b/sys/dev/acpi_support/acpi_toshiba.c @@ -151,10 +151,10 @@ static struct { } sysctl_table[] = { /* name, handler */ {"force_fan", hci_force_fan}, - {"cpu_speed", hci_cpu_speed}, {"video_output", hci_video_output}, - {"lcd_backlight", hci_lcd_backlight}, {"lcd_brightness", hci_lcd_brightness}, + {"lcd_backlight", hci_lcd_backlight}, + {"cpu_speed", hci_cpu_speed}, {NULL, NULL} }; @@ -198,7 +198,7 @@ acpi_toshiba_probe(device_t dev) device_get_unit(dev) == 0 && (acpi_MatchHid(dev, "TOS6200") || acpi_MatchHid(dev, "TOS6207"))) { - device_set_desc(dev, "Toshiba Extra HCI"); + device_set_desc(dev, "Toshiba HCI Extras"); ret = 0; } diff --git a/sys/i386/acpica/acpi_toshiba.c b/sys/i386/acpica/acpi_toshiba.c index a3b8a6f5ebfc..9f582d4aed3e 100644 --- a/sys/i386/acpica/acpi_toshiba.c +++ b/sys/i386/acpica/acpi_toshiba.c @@ -151,10 +151,10 @@ static struct { } sysctl_table[] = { /* name, handler */ {"force_fan", hci_force_fan}, - {"cpu_speed", hci_cpu_speed}, {"video_output", hci_video_output}, - {"lcd_backlight", hci_lcd_backlight}, {"lcd_brightness", hci_lcd_brightness}, + {"lcd_backlight", hci_lcd_backlight}, + {"cpu_speed", hci_cpu_speed}, {NULL, NULL} }; @@ -198,7 +198,7 @@ acpi_toshiba_probe(device_t dev) device_get_unit(dev) == 0 && (acpi_MatchHid(dev, "TOS6200") || acpi_MatchHid(dev, "TOS6207"))) { - device_set_desc(dev, "Toshiba Extra HCI"); + device_set_desc(dev, "Toshiba HCI Extras"); ret = 0; }