mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
remove the use of uhci_reset to wake up the controller after
resume/suspend (->resume is broken again, will be fixed properly ASAP) style fixes
This commit is contained in:
parent
271ef6615e
commit
82799545e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51989
@ -93,9 +93,7 @@ static const char *uhci_device_generic = "UHCI (generic) USB controller";
|
||||
static int
|
||||
uhci_pci_suspend(device_t self)
|
||||
{
|
||||
uhci_softc_t *sc;
|
||||
|
||||
sc = device_get_softc(self);
|
||||
uhci_softc_t *sc = device_get_softc(self);
|
||||
bus_generic_suspend(self);
|
||||
|
||||
return 0;
|
||||
@ -104,10 +102,11 @@ uhci_pci_suspend(device_t self)
|
||||
static int
|
||||
uhci_pci_resume(device_t self)
|
||||
{
|
||||
uhci_softc_t *sc;
|
||||
uhci_softc_t *sc = device_get_softc(self);
|
||||
|
||||
sc = device_get_softc(self);
|
||||
#if 0
|
||||
uhci_reset(sc);
|
||||
#endif
|
||||
bus_generic_resume(self);
|
||||
|
||||
return 0;
|
||||
|
@ -93,9 +93,7 @@ static const char *uhci_device_generic = "UHCI (generic) USB controller";
|
||||
static int
|
||||
uhci_pci_suspend(device_t self)
|
||||
{
|
||||
uhci_softc_t *sc;
|
||||
|
||||
sc = device_get_softc(self);
|
||||
uhci_softc_t *sc = device_get_softc(self);
|
||||
bus_generic_suspend(self);
|
||||
|
||||
return 0;
|
||||
@ -104,10 +102,11 @@ uhci_pci_suspend(device_t self)
|
||||
static int
|
||||
uhci_pci_resume(device_t self)
|
||||
{
|
||||
uhci_softc_t *sc;
|
||||
uhci_softc_t *sc = device_get_softc(self);
|
||||
|
||||
sc = device_get_softc(self);
|
||||
#if 0
|
||||
uhci_reset(sc);
|
||||
#endif
|
||||
bus_generic_resume(self);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user