xf86GetResourcesImplicitly()

Bart Trojanowski bart at jukie.net
Tue Feb 19 19:24:01 PST 2008


While reading hw/xfree86/common/xf86Bus.c from the master branch on 
.../git/xorg/xserver, I got a bit confused...

    static resList
    xf86GetResourcesImplicitly(int entityIndex)
    {
        if (entityIndex >= xf86NumEntities) return NULL;
        
        switch (xf86Entities[entityIndex]->bus.type) {
        case BUS_ISA:
        case BUS_NONE:
        case BUS_SBUS:
            return NULL;
        case BUS_PCI:
            return NULL;
        case BUS_last:
            return NULL;
        }
        return NULL;
    }

Does this do anything?  What am I missing?

-Bart

-- 
				WebSig: http://www.jukie.net/~bart/sig/



More information about the xorg mailing list