Kill ACPI_FUNCTION_TRACE. It is killing the tinderbox build, and it
isn't worth adding to the modules lists that we have to hard code for this to work. Since we print PID right away, we have a trace point already. Minor knf while I'm here.
This commit is contained in:
parent
db442506db
commit
f454a309d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137681
@ -112,21 +112,17 @@ acpi_snc_attach(device_t dev)
|
||||
{
|
||||
struct acpi_snc_softc *sc;
|
||||
int i;
|
||||
ACPI_FUNCTION_TRACE((char *)(uintptr_t) __func__);
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
acpi_GetInteger(acpi_get_handle(dev), ACPI_SNC_GET_PID, &sc->pid);
|
||||
device_printf(dev, "PID %x\n", sc->pid);
|
||||
|
||||
for(i = 0 ; acpi_snc_oids[i].nodename != NULL; i++){
|
||||
for (i = 0 ; acpi_snc_oids[i].nodename != NULL; i++){
|
||||
SYSCTL_ADD_PROC(device_get_sysctl_ctx(dev),
|
||||
SYSCTL_CHILDREN(device_get_sysctl_tree(dev)),
|
||||
i, acpi_snc_oids[i].nodename , CTLTYPE_INT |
|
||||
((acpi_snc_oids[i].setmethod)? CTLFLAG_RW: CTLFLAG_RD),
|
||||
dev, i,
|
||||
sysctl_acpi_snc_gen_handler, "I",
|
||||
acpi_snc_oids[i].comment);
|
||||
SYSCTL_CHILDREN(device_get_sysctl_tree(dev)),
|
||||
i, acpi_snc_oids[i].nodename , CTLTYPE_INT |
|
||||
((acpi_snc_oids[i].setmethod)? CTLFLAG_RW: CTLFLAG_RD),
|
||||
dev, i, sysctl_acpi_snc_gen_handler, "I",
|
||||
acpi_snc_oids[i].comment);
|
||||
}
|
||||
|
||||
return_VALUE(0);
|
||||
|
@ -112,21 +112,17 @@ acpi_snc_attach(device_t dev)
|
||||
{
|
||||
struct acpi_snc_softc *sc;
|
||||
int i;
|
||||
ACPI_FUNCTION_TRACE((char *)(uintptr_t) __func__);
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
acpi_GetInteger(acpi_get_handle(dev), ACPI_SNC_GET_PID, &sc->pid);
|
||||
device_printf(dev, "PID %x\n", sc->pid);
|
||||
|
||||
for(i = 0 ; acpi_snc_oids[i].nodename != NULL; i++){
|
||||
for (i = 0 ; acpi_snc_oids[i].nodename != NULL; i++){
|
||||
SYSCTL_ADD_PROC(device_get_sysctl_ctx(dev),
|
||||
SYSCTL_CHILDREN(device_get_sysctl_tree(dev)),
|
||||
i, acpi_snc_oids[i].nodename , CTLTYPE_INT |
|
||||
((acpi_snc_oids[i].setmethod)? CTLFLAG_RW: CTLFLAG_RD),
|
||||
dev, i,
|
||||
sysctl_acpi_snc_gen_handler, "I",
|
||||
acpi_snc_oids[i].comment);
|
||||
SYSCTL_CHILDREN(device_get_sysctl_tree(dev)),
|
||||
i, acpi_snc_oids[i].nodename , CTLTYPE_INT |
|
||||
((acpi_snc_oids[i].setmethod)? CTLFLAG_RW: CTLFLAG_RD),
|
||||
dev, i, sysctl_acpi_snc_gen_handler, "I",
|
||||
acpi_snc_oids[i].comment);
|
||||
}
|
||||
|
||||
return_VALUE(0);
|
||||
|
Loading…
Reference in New Issue
Block a user