mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Clean up the probe message and sort the function table according to
the function order in the file.
This commit is contained in:
parent
aff2c92b8b
commit
1114c59266
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124415
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user