From 8830b7cd2e6202dff196e5f3f462ab0b04598e34 Mon Sep 17 00:00:00 2001 From: Felix Kronlage Date: Sun, 28 May 2006 01:09:26 +0000 Subject: cleanup whitespaces, tabs are so much nicer ok mbalmer@ --- sys/dev/cardbus/com_cardbus.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'sys') diff --git a/sys/dev/cardbus/com_cardbus.c b/sys/dev/cardbus/com_cardbus.c index c11dd39b149..45c951c0ea5 100644 --- a/sys/dev/cardbus/com_cardbus.c +++ b/sys/dev/cardbus/com_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_cardbus.c,v 1.19 2006/03/07 07:38:16 jsg Exp $ */ +/* $OpenBSD: com_cardbus.c,v 1.20 2006/05/28 01:09:25 fkr Exp $ */ /* $NetBSD: com_cardbus.c,v 1.4 2000/04/17 09:21:59 joda Exp $ */ /* @@ -303,9 +303,9 @@ com_cardbus_attach(struct device *parent, struct device *self, void *aux) void com_cardbus_setup(struct com_cardbus_softc *csc) { - cardbus_devfunc_t ct = csc->cc_ct; - cardbus_chipset_tag_t cc = ct->ct_cc; - cardbus_function_tag_t cf = ct->ct_cf; + cardbus_devfunc_t ct = csc->cc_ct; + cardbus_chipset_tag_t cc = ct->ct_cc; + cardbus_function_tag_t cf = ct->ct_cf; cardbusreg_t reg; Cardbus_conf_write(ct, csc->cc_tag, csc->cc_reg, csc->cc_base); @@ -320,16 +320,16 @@ com_cardbus_setup(struct com_cardbus_softc *csc) reg |= csc->cc_csr; Cardbus_conf_write(ct, csc->cc_tag, CARDBUS_COMMAND_STATUS_REG, reg); - /* - * Make sure the latency timer is set to some reasonable - * value. - */ - reg = cardbus_conf_read(cc, cf, csc->cc_tag, CARDBUS_BHLC_REG); - if (CARDBUS_LATTIMER(reg) < 0x20) { - reg &= ~(CARDBUS_LATTIMER_MASK << CARDBUS_LATTIMER_SHIFT); - reg |= (0x20 << CARDBUS_LATTIMER_SHIFT); - cardbus_conf_write(cc, cf, csc->cc_tag, CARDBUS_BHLC_REG, reg); - } + /* + * Make sure the latency timer is set to some reasonable + * value. + */ + reg = cardbus_conf_read(cc, cf, csc->cc_tag, CARDBUS_BHLC_REG); + if (CARDBUS_LATTIMER(reg) < 0x20) { + reg &= ~(CARDBUS_LATTIMER_MASK << CARDBUS_LATTIMER_SHIFT); + reg |= (0x20 << CARDBUS_LATTIMER_SHIFT); + cardbus_conf_write(cc, cf, csc->cc_tag, CARDBUS_BHLC_REG, reg); + } } int -- cgit v1.2.3