Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Minor optimisation.
details: https://anonhg.NetBSD.org/src/rev/bf432787ea76
branches: trunk
changeset: 476508:bf432787ea76
user: scw <scw%NetBSD.org@localhost>
date: Sat Sep 18 09:45:05 1999 +0000
description:
Minor optimisation.
diffstat:
sys/dev/ic/clmpcc.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r d0a111b747a5 -r bf432787ea76 sys/dev/ic/clmpcc.c
--- a/sys/dev/ic/clmpcc.c Sat Sep 18 09:42:46 1999 +0000
+++ b/sys/dev/ic/clmpcc.c Sat Sep 18 09:45:05 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clmpcc.c,v 1.6 1999/08/01 09:35:05 scw Exp $ */
+/* $NetBSD: clmpcc.c,v 1.7 1999/09/18 09:45:05 scw Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -1292,9 +1292,9 @@
/*
* Disable transmit interrupt
*/
- clmpcc_wrreg(ch->ch_sc, CLMPCC_REG_IER,
- clmpcc_rdreg(ch->ch_sc, CLMPCC_REG_IER) &
- ~CLMPCC_IER_TX_EMPTY);
+ clmpcc_wrreg(sc, CLMPCC_REG_IER,
+ clmpcc_rdreg(sc, CLMPCC_REG_IER) &
+ ~CLMPCC_IER_TX_EMPTY);
/*
* Request Tx processing in the soft interrupt handler
Home |
Main Index |
Thread Index |
Old Index