hif.c (d6a434d60e064a5f2bef1c13ca5ed84bfa6b8b4f) hif.c (241b128b6b69ad41fc6f12cba45a3c3e64bce673)
1/*
2 * Copyright (c) 2007-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 679 unchanged lines hidden (view full) ---

688 }
689
690 /* assemble mask, used for padding to a block */
691 dev->htc_cnxt->block_mask = dev->htc_cnxt->block_sz - 1;
692
693 ath6kl_dbg(ATH6KL_DBG_HIF, "hif block size %d mbox addr 0x%x\n",
694 dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr);
695
1/*
2 * Copyright (c) 2007-2011 Atheros Communications Inc.
3 *
4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES

--- 679 unchanged lines hidden (view full) ---

688 }
689
690 /* assemble mask, used for padding to a block */
691 dev->htc_cnxt->block_mask = dev->htc_cnxt->block_sz - 1;
692
693 ath6kl_dbg(ATH6KL_DBG_HIF, "hif block size %d mbox addr 0x%x\n",
694 dev->htc_cnxt->block_sz, dev->ar->mbox_info.htc_addr);
695
696 /* usb doesn't support enabling interrupts */
697 /* FIXME: remove check once USB support is implemented */
698 if (dev->ar->hif_type == ATH6KL_HIF_TYPE_USB)
699 return 0;
700
696 status = ath6kl_hif_disable_intrs(dev);
697
698fail_setup:
699 return status;
700
701}
701 status = ath6kl_hif_disable_intrs(dev);
702
703fail_setup:
704 return status;
705
706}