Date: Wed, 24 Jun 2009 22:28:48 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/cxgbtool cxgbtool.c Message-ID: <200906242229.n5OMT4Re075700@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
np 2009-06-24 22:28:48 UTC
FreeBSD src repository
Modified files:
usr.sbin/cxgbtool cxgbtool.c
Log:
SVN rev 194928 on 2009-06-24 22:28:48Z by np
This adds a new "stdio" mode to cxgbtool - it's an interactive mode
meant primarily for _non_ interactive use. Scripts that run cxgbtool
repeatedly to perform register r/w or mdio will benefit from this.
Instead of fork/exec'ing a new cxgbtool for every regio/mdio you can
simply open a pair of pipes to/from cxgbtool and run cmds over them.
Approved by: gnn (mentor)
Revision Changes Path
1.6 +83 -18 src/usr.sbin/cxgbtool/cxgbtool.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906242229.n5OMT4Re075700>
