On 1/4/21 9:27 AM, Lauri Kasanen wrote: > On Mon, 4 Jan 2021 08:13:32 -0800 > Keith Busch <kbusch@xxxxxxxxxx> wrote: > >>> The media is read-only (but not runtime removable). >> >> It's been a while, but I could swear we can save state on these carts. >> If so, it sounds like that must be separate from the media this driver >> is accessing, so is that capability provided through a different driver? > > Saving uses a separate mechanism, and there are several depending on > what type of cart it is (no saves, flash, eeprom, or sram). If the cart > has no save possibility, there is an optional memory card attached to > the joypad controller. > > Currently there is no driver for any of these. Maybe it'd make sense to make this runtime configurable through configfs or similar, requiring boot parameters (and hence a reboot to change them) seems pretty iffy. Similarly, why isn't it available as a module? -- Jens Axboe