diff options
| author | John Hay <jhay@FreeBSD.org> | 2001-02-26 16:30:02 +0000 |
|---|---|---|
| committer | John Hay <jhay@FreeBSD.org> | 2001-02-26 16:30:02 +0000 |
| commit | 88fe45dd330f352b720c5624cabde287d21d6222 (patch) | |
| tree | 2bdaaeecaf3a65e5158d3a75a61fe0474ecb95d8 /sys | |
| parent | fdc1fef594942944b640ba0a59d53d8bbefdfe15 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/sr/if_sr.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c index d28522ad6a4c..1d9958e97122 100644 --- a/sys/dev/sr/if_sr.c +++ b/sys/dev/sr/if_sr.c @@ -1458,8 +1458,10 @@ sr_init_msci(struct sr_softc *sc) printf("sr%d: External Clock Selected.\n", portndx); #endif - SRC_PUT8(hc->sca_base, msci->rxs, 0); - SRC_PUT8(hc->sca_base, msci->txs, 0); + SRC_PUT8(hc->sca_base, msci->rxs, + SCA_RXS_CLK_RXC0 | SCA_RXS_DIV1); + SRC_PUT8(hc->sca_base, msci->txs, + SCA_TXS_CLK_RX | SCA_TXS_DIV1); break; case SR_FLAGS_EXT_SEP_CLK: @@ -1467,20 +1469,10 @@ sr_init_msci(struct sr_softc *sc) printf("sr%d: Split Clocking Selected.\n", portndx); #endif -#if 1 - SRC_PUT8(hc->sca_base, msci->rxs, 0); - SRC_PUT8(hc->sca_base, msci->txs, 0); -#else SRC_PUT8(hc->sca_base, msci->rxs, SCA_RXS_CLK_RXC0 | SCA_RXS_DIV1); - - /* - * We need to configure the internal bit clock for the - * transmitter's channel... - */ SRC_PUT8(hc->sca_base, msci->txs, - SCA_TXS_CLK_RX | SCA_TXS_DIV1); -#endif + SCA_TXS_CLK_TXC | SCA_TXS_DIV1); break; case SR_FLAGS_INT_CLK: |
