lkml.org 
[lkml]   [2004]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] hp100.c: add missing pci_enable_device()
Linux Kernel Mailing List wrote:
> diff -Nru a/drivers/net/hp100.c b/drivers/net/hp100.c
> --- a/drivers/net/hp100.c 2004-08-24 15:25:16 -07:00
> +++ b/drivers/net/hp100.c 2004-08-24 15:25:16 -07:00
> @@ -2910,10 +2910,15 @@
> int ioaddr = pci_resource_start(pdev, 0);
> u_short pci_command;
> int err;
> -
> +
> if (!dev)
> return -ENOMEM;
>
> + if (pci_enable_device(pdev)) {


_Obviously_ incomplete change. Look above, and see pci_resource_start()

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.043 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site