commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 01/04: libdde_linux26: make stub `pcibios_enable_device' return s


From: Samuel Thibault
Subject: [hurd] 01/04: libdde_linux26: make stub `pcibios_enable_device' return success
Date: Sun, 05 Jul 2015 00:41:52 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch dde
in repository hurd.

commit 6264daa52315b8db89eb857e007cb16f0e23d174
Author: Justus Winter <address@hidden>
Date:   Thu Jun 25 16:46:14 2015 +0200

    libdde_linux26: make stub `pcibios_enable_device' return success
    
    Currently, the function `pcibios_enable_device' is a stub and returns
    an error.  Making it return success allows me to use the `e1000e'
    driver to talk to the network card in my Thinkpad X61s.
    
    * libdde_linux26/lib/src/arch/l4/pci.c (pcibios_enable_device): Return
    success.
---
 libdde_linux26/lib/src/arch/l4/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libdde_linux26/lib/src/arch/l4/pci.c 
b/libdde_linux26/lib/src/arch/l4/pci.c
index b50a735..6dd8e87 100644
--- a/libdde_linux26/lib/src/arch/l4/pci.c
+++ b/libdde_linux26/lib/src/arch/l4/pci.c
@@ -171,7 +171,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask)
        return pcibios_enable_irq(dev);
 #endif
        WARN_UNIMPL;
-       return -1;
+       return 0;
 }
 
 
/*******************************************************************************************

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]