Re: [PATCH] USB: isp116x: isa_rom_*() calls should depend on CONFIG_ATARI_ROM_ISA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Geert,

Upon closer look, I think I broke the NetUSBee support if
Aarghl, I meant EtherNAT. Sorry, I misread who's using ATARI ROM ISA and
who's using memory mapped I/O.

Makes sense now.

I had left out the isa_rom_*() clutter, as I was really talking about
EtherNAT.

OK, so we are on the same version after all.


need to ensure CONFIG_ATARI_ROM_ISA is set for NetUSBee though. Maybe select
ATARI_ROM_ISA if ATARI_USB is selected in Kconfig.bus, just to be safe?
But ATARI_ROM_ISA is not needed for EtherNAT? So I'd rather not add this
dependency.

Correct - compiling for EtherNAT only would pull in ROM support where it is not in fact needed. Might do more harm than good.

This does mean we have to distinguish in isp116x.h between three case, right?
   - #ifdef CONFIG_ATARI_ROM_ISA=y: handle both
   - elif defined(CONFIG_ATARI): handle EtherNAT only
   - else: others

If we want to avoid triggering the same compile error again, yes. To optimize away the clutter, doubly yes. I doubt someone would want to build for NetUSBee only - there is no config option that would allow that at present. We did discuss simplifying the option mess at some stage (for EtherNEC or EtherNAT) - I would be hesitant to add NetUSBee or EtherNAT specific options back in.

The help text there could use an update as well - mention NetUSBee as user
of ATARI_ROM_ISA in addition to EtherNEC, and mention the need for
ATARI_ROM_ISA for the NetUSBee in the ATARI_USB section, if you rather not
pre-select ATARI_ROM_ISA there. Does this make sense?
Yes it does.

Shall I submit a help text patch, or are you happy to do that?

Cheers,

    Michael

--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux