Probing for devices

From: Geoff Glasson (glastech_at_iinet.net.au)
Date: 07/24/03

  • Next message: Fred Gilham: "Problem with program memory layout."
    To: freebsd-hackers@freebsd.org
    Date: Thu, 24 Jul 2003 20:17:29 +0800
    
    

    Folks,

    I'm trying to port the Linux i810 Direct Rendering Interface ( DRI ) kernel
    module to FreeBSD. I have reached the point where the thing compiles, and I
    can load it as a kernel module, but it can't find the graphics device.

    Through a process of elimination I have come to the conclusion that once the
    AGP kernel module probes and attaches to the i810 graphics device, nothing
    else can attach to it. When I read the section on PCI devices it implied (
    to me at least ) that multiple kernel modules should be able to attach to the
    same device. I have tried to get it to work without any success.

    Has anyone else out there tried anything similar? If so, did you manage to
    get it to work? Does anyone have any suggestions for other things that I can
    try?

    Thanks in advance...Geoff

    BTW: I'm running FreeBSD 4.8-STABLE on a Pentium 3.

    -- 
    Geoff Glasson
    glastech@iinet.net.au
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Fred Gilham: "Problem with program memory layout."

    Relevant Pages

    • Re: monolithic
      ... I read that freebsd is monolithic. ... nothing available like a kernel module in linux? ... attach at runtime) ... also is there a way to scan for unused packages somehow and list them ...
      (freebsd-arch)
    • Re: Problem with DRI in FreeBSD 4.9R
      ... >>but without a further cvsup of ports. ... > "If it complains about the kernel module version, ... For FreeBSD this means either ... etc and it was just a test system I accepted all the new stuff. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Standard sbc and pcm support in GENERIC kernel?
      ... >> Something that has always stumped me about FreeBSD, ... easiest way is to simply load a kernel module for your sound card with ... your sound card in your kernel. ... Freddie Cash ...
      (freebsd-stable)
    • how can i get file name knowing its descriptor?
      ... I've been writing a small kernel module, ... struct vnode *vn; ... it would be fine to get a few web resources concerning FreeBSD ...
      (freebsd-hackers)
    • Re: Probing for devices
      ... > can load it as a kernel module, but it can't find the graphics device. ... > else can attach to it. ... get is to create a bus device that then other drivers can attach to. ... second closest is if a chip has multiple functions, ...
      (freebsd-hackers)