mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
sis5513: add missing pci_enable_device() call
Cc: Riccardo Gori <goric@trivenet.it> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
34e6e88f02
commit
cd18f69f84
@ -569,6 +569,11 @@ static int __devinit sis5513_init_one(struct pci_dev *dev, const struct pci_devi
|
|||||||
{
|
{
|
||||||
struct ide_port_info d = sis5513_chipset;
|
struct ide_port_info d = sis5513_chipset;
|
||||||
u8 udma_rates[] = { 0x00, 0x00, 0x07, 0x1f, 0x3f, 0x3f, 0x7f, 0x7f };
|
u8 udma_rates[] = { 0x00, 0x00, 0x07, 0x1f, 0x3f, 0x3f, 0x7f, 0x7f };
|
||||||
|
int rc;
|
||||||
|
|
||||||
|
rc = pci_enable_device(dev);
|
||||||
|
if (rc)
|
||||||
|
return rc;
|
||||||
|
|
||||||
if (sis_find_family(dev) == 0)
|
if (sis_find_family(dev) == 0)
|
||||||
return -ENOTSUPP;
|
return -ENOTSUPP;
|
||||||
|
Loading…
Reference in New Issue
Block a user