mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Fix Marvel SATA controllers operation, broken by rev. 188765,
by using uninitialized variable. Tested by: Chris Hedley Approved by: re (kensmith)
This commit is contained in:
parent
e64e7115aa
commit
45a30a41d2
1 changed files with 2 additions and 2 deletions
|
|
@ -220,11 +220,11 @@ ata_marvell_edma_ch_attach(device_t dev)
|
|||
{
|
||||
struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev));
|
||||
struct ata_channel *ch = device_get_softc(dev);
|
||||
u_int64_t work = ch->dma.work_bus;
|
||||
u_int64_t work;
|
||||
int i;
|
||||
|
||||
ata_marvell_edma_dmainit(dev);
|
||||
|
||||
work = ch->dma.work_bus;
|
||||
/* clear work area */
|
||||
bzero(ch->dma.work, 1024+256);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue