grepmap is a parser for the module map files produced by the depmod
found in module-init-tools.  It's intended for use with hotplug
replacing the slow shell code to identify which modules to load for a
particular device, but no doubt has other uses too.

Because of this, it's deliberately bug-for-bug compatible with hotplug
and there a couple of things I'm not sure it does "correctly".

  * modules.inputmap - the kernel's input_match_device () function
    does a direct comparison between the version in the modules table
    and the version of the device being loaded.

    hotplug instead loads any module for which the version in the
    table is less than (but not equal to) the version of the device,
    in effect it assumes the version in the table is the last version
    of the device the module doesn't support.

  * modules.ieee1394map - hotplug doesn't do anything with the
    model_id in the table (it doesn't seem to know the model_id of the
    device).

    But more than that, it doesn't even consider the model_id in the
    table, so will actually load modules where the table specifically
    requires a particular model_id.

  * modules.isapnpmap, modules.ccwmap - hotplug doesn't parse these,
    so for now grepmap doesn't either.
