tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 5.0/i386 regressions



Je Tue, 27 Jan 2009 11:40:52 +1100 matthew green <mrg%eterna.com.au@localhost>
scribis:

> OK, thanks.  i'll see if i can figure out a sane test for this.
> 
> 
> actually, if you could test speedstep_configure().. in the code
> chunk that tests if it is enabled, change it to fail in the case
> the BIOS (or whatever?) hasn't enabled it yet. eg, make it
> read:
> 
>       if ((pmcon & LPCIB_PCI_GEN_PMCON_1_SS_EN) == 0)
>               return;
> #if 0
>               pci_conf_write(sc->sc_pcib.sc_pc, sc->sc_pcib.sc_tag,
>                              LPCIB_PCI_GEN_PMCON_1,
>                              pmcon | LPCIB_PCI_GEN_PMCON_1_SS_EN);
> #endif
> 
> thanks.
> 

It allows to shutdown cleanly.

Daniel

-- 
Daniel Horecki
http://morr.pl http://linux.pl http://netbsd.pl
HAIL ERIS!


Home | Main Index | Thread Index | Old Index