summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-10 20:54:38 +0000
committerbde <bde@FreeBSD.org>1995-12-10 20:54:38 +0000
commit644a38f2a8c2703b7a30bacebb79ea959c94a469 (patch)
tree0b1c13e82f2d0d84ce052d6a65ba759f485e08ff /sys/dev/cy
parent1fa32892379e9878a6ad76beb240e1dc8ddcbe50 (diff)
downloadFreeBSD-src-644a38f2a8c2703b7a30bacebb79ea959c94a469.zip
FreeBSD-src-644a38f2a8c2703b7a30bacebb79ea959c94a469.tar.gz
Replaced nxreset by noreset (if the reset function gets called, then the
device must be configured. It's hard to tell whether a reset function should be noreset or nullreset since reset functions are never called. Most drivers use nullreset but noreset has the advantage of complaining if somehow gets called).
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c4
-rw-r--r--sys/dev/cy/cy_isa.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 6c54a22..92ff71c 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.26 1995/12/10 15:54:42 bde Exp $
+ * $Id: cy.c,v 1.27 1995/12/10 20:34:27 bde Exp $
*/
#include "cy.h"
@@ -373,7 +373,7 @@ static d_devtotty_t cydevtotty;
#define CDEV_MAJOR 48
static struct cdevsw cy_cdevsw =
{ cyopen, cyclose, cyread, cywrite, /*48*/
- cyioctl, cystop, nxreset, cydevtotty,/*cyclades*/
+ cyioctl, cystop, noreset, cydevtotty,/*cyclades*/
ttselect, nommap, NULL, "cy", NULL, -1 };
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 6c54a22..92ff71c 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -27,7 +27,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: cy.c,v 1.26 1995/12/10 15:54:42 bde Exp $
+ * $Id: cy.c,v 1.27 1995/12/10 20:34:27 bde Exp $
*/
#include "cy.h"
@@ -373,7 +373,7 @@ static d_devtotty_t cydevtotty;
#define CDEV_MAJOR 48
static struct cdevsw cy_cdevsw =
{ cyopen, cyclose, cyread, cywrite, /*48*/
- cyioctl, cystop, nxreset, cydevtotty,/*cyclades*/
+ cyioctl, cystop, noreset, cydevtotty,/*cyclades*/
ttselect, nommap, NULL, "cy", NULL, -1 };
OpenPOWER on IntegriCloud