vcrhonek / hwdata

hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.
Other
87 stars 19 forks source link

Replace `DO NOT USE` pnp vendor names. Fix #42 #43

Closed MestreLion closed 5 months ago

MestreLion commented 5 months ago

Using sed in the Makefile instead of manually editing pnp.ids.patch so it covers future codenames.

Using Invalid Vendor Codename as the replacement string, as it conveys the intended meaning and is informative enough that an end-user will (hopefully) not take it as an error or confuse with another issue.

Taking care to guard the regex within the boundaries of \t and -, so it only matches the beginning of the Vendor names with that specific pattern.