[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-kern
Subject:    Re: More questions concerning module dependencies
From:       Taylor R Campbell <campbell+netbsd-tech-kern () mumble ! net>
Date:       2015-04-13 12:49:38
Message-ID: 20150413124916.94DF16051C () jupiter ! mumble ! net
[Download RAW message or body]

   Date: Mon, 13 Apr 2015 12:19:20 +0800 (PHT)
   From: Paul Goyette <paul@vps1.whooppee.com>

   > It seems to me that we should remove the dependency on "iic" from
   > "drmkms", and we should add a dependency on "i2cexec" to
   > "drmkms_linux".
   >
   > Comments?

Feel free to add i2c dependencies to drmkms_linux.

My original plan was to create a separate drmkms_i2c module
(corresponding to the drmkms_i2c flag in files.drmkms), so that drmkms
drivers not needing wouldn't pull it in, like with drmkms_pci.

Probably less worthwhile than drmkms_pci (which will be useful for ARM
drivers that don't use PCI, although they haven't been ported yet),
but there's no harm in keeping the dependency listed as a reminder.

Properly sorting it out will probably entail making a separate
linux_i2c module depending on iic/i2cexec/whatever, and making a
drmkms_i2c module to depend on linux_i2c.  But there's no particular
impetus to do that at the moment.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic