mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Use the ata_suspend/resume functions instaead of the bus_generic ones.
This should unbreak suspend/resume. Contributed by: Wiktor Niesiobedzki
This commit is contained in:
parent
b0e99d441c
commit
186ba2b70d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144886
@ -599,8 +599,8 @@ static device_method_t ata_pcichannel_methods[] = {
|
||||
DEVMETHOD(device_attach, ata_pcichannel_attach),
|
||||
DEVMETHOD(device_detach, ata_pcichannel_detach),
|
||||
DEVMETHOD(device_shutdown, bus_generic_shutdown),
|
||||
DEVMETHOD(device_suspend, bus_generic_suspend),
|
||||
DEVMETHOD(device_resume, bus_generic_resume),
|
||||
DEVMETHOD(device_suspend, ata_suspend),
|
||||
DEVMETHOD(device_resume, ata_resume),
|
||||
|
||||
/* ATA methods */
|
||||
DEVMETHOD(ata_setmode, ata_pcichannel_setmode),
|
||||
|
Loading…
Reference in New Issue
Block a user