On Thu, 07 Feb 2008 14:20:19 -0500 "chas williams - CONTRACTOR" <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>,David Miller writes: > >> however, i ran into a little problem with the sbus interface. what should > >> i pass for 'struct device *' for an sbus device? > > > >"&sdev->ofdev.dev" should work > > thanks! that is what i needed. so what i have works on pci and is > quite a bit cleaner than the current mess for the firmware. the only > iffy part is the conversion of the struct fore_200e to a struct device > which is depends your bus. perhaps it should be a seperate routine. > > any comments on the following? > > diff --git a/drivers/atm/Kconfig b/drivers/atm/Kconfig > index 1c7ae30..a5303ee 100644 > --- a/drivers/atm/Kconfig > +++ b/drivers/atm/Kconfig > @@ -325,81 +325,21 @@ config ATM_IA_DEBUG > speed of the driver, and the size of your syslog files! When > inactive, they will have only a modest impact on performance. > > -config ATM_FORE200E_MAYBE > +config ATM_FORE200E > tristate "FORE Systems 200E-series" > - depends on PCI || SBUS > + depends on (PCI || SBUS) > ---help--- > This is a driver for the FORE Systems 200E-series ATM adapter > cards. It simultaneously supports PCA-200E and SBA-200E models > on PCI and SBUS hosts. Say Y (or M to compile as a module > named fore_200e) here if you have one of these ATM adapters. > > - Note that the driver will actually be compiled only if you > - additionally enable the support for PCA-200E and/or SBA-200E > - cards. > - > See the file <file:Documentation/networking/fore200e.txt> for > further details. > Think you now need to select FW_LOADER? -- Stephen Hemminger <[EMAIL PROTECTED]> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html