Commit graph

5 commits

Author SHA1 Message Date
Warner Losh d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00
Justin Hibbits 701bb67bc5 ifnet: Rename DrvAPI to "IfAPI"
"DrvAPI" is too generic a name.  Make the name more specific as "IfAPI"
(InterFace API).

Sponsored by:	Juniper Networks, Inc.
2023-01-17 15:15:51 -05:00
Justin Hibbits 177034c44e Update DrvAPI convert script for new KPIs
Bring the DrvAPI convert script forward from the initial commit to
account for the last 8 years of changes to the KPIs.

Sponsored by:	Juniper Networks, Inc.
2022-12-20 11:18:50 -05:00
Marcel Moolenaar fe01740653 * Handle ++x as well as x++ while converting.
* Add special case handling where normal conversion would not work
  (some APIs have special names)
* Fix conversion for function calls involving ifnet

Submitted by:	Sreekanth Rupavatharam <rupavath@juniper.net>
Obtained from:	Juniper Networks, Inc.
2014-06-25 15:22:14 +00:00
Marcel Moolenaar d22c735e03 Add convert_drvapi.sh; a script that helps to convert NIC drivers
to use the procedural interface.

Submitted by:	Sreekanth Rupavatharam <rupavath@juniper.net>
Reviewed by:	glebius@
Obtained from:	Juniper Networks, Inc.
2014-06-02 18:02:10 +00:00