Subject: Re: maple_attach_dev
To: Marcus Comstedt <marcus@idonex.se>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-dreamcast
Date: 03/16/2001 15:55:20
On Sat, Mar 17, 2001 at 12:44:05AM +0100, Marcus Comstedt wrote:

 >   Jason> I think maybe what I might do instead is have multi-function devices
 >   Jason> at a given subunit attach child devices.
 > 
 > Um, could you elaborate on that?  Who should attach whom when on what
 > basis?

Well, you'd attach:

vmu0 at maple0 port 0 subunit 1

..and then vmu_attach() would attach a child for each function it had:

vmubeep0 at vmu0
vmulcd0 at vmu0
vmumem0 at vmu0

etc.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>