|
[Ndiswrapper-general] inf parsing
From: Joseph Dunn <joseph.dunn@co...> - 2003-12-02 05:46
|
I've checked in a few changes to the inf parsing code. The parser now starts with the [version] and [Manufacturer] sections and then attempts to parse settings from only the sections that apply to the windows XP driver. Multiple PCI ids are also read from the file, but are not passed to the driver as settings (yet). loaddriver should work as before (i.e. given the same arguments you should get the same behavior). Argument order is less important now: first hex value encoutered is assumed to be the vendor id, second is the device id, last argument that ends in .inf is the inf file, and the last argument ending in .sys is used as the driver. Additionally, one can now specify just the .inf file and the -d argument. This usage will print a simple dump of the arguments that can be read from the inf file (i.e. what would be passed to the driver). I'm hoping to add support for multiple pci ids to the driver shortly. Once this is added then pci ids will not need to be specified on the loaddriver command line. (We'll keep the original usage for testing too). By the way, since parsing seems to have fallen in my lap (at least until I screw it up too badly =) send me inf files that have problems (necessary settings missed, etc.). Make sure to explicitly note what's missing from the current parsing. -Joseph Dunn |
| Thread | Author | Date |
|---|---|---|
| [Ndiswrapper-general] inf parsing | Joseph Dunn <joseph.dunn@co...> |