atiixp.c (88a50509af0a6423df997d3f8d25421b2b804b7a) atiixp.c (8815a86933889144079fd6dc7133ed19cd01790a)
1/*-
2 * Copyright (c) 2005 Ariff Abdullah <ariff@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

427 ch->caps_32bit = 1;
428 } else {
429 ch = &sc->rch;
430 ch->linkptr_bit = ATI_REG_IN_DMA_LINKPTR;
431 ch->enable_bit = ATI_REG_CMD_IN_DMA_EN | ATI_REG_CMD_RECEIVE_EN;
432 ch->flush_bit = ATI_REG_FIFO_IN_FLUSH;
433 ch->dma_dt_cur_bit = ATI_REG_IN_DMA_DT_CUR;
434 /* XXX Native 32bit recording appear to be broken */
1/*-
2 * Copyright (c) 2005 Ariff Abdullah <ariff@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

427 ch->caps_32bit = 1;
428 } else {
429 ch = &sc->rch;
430 ch->linkptr_bit = ATI_REG_IN_DMA_LINKPTR;
431 ch->enable_bit = ATI_REG_CMD_IN_DMA_EN | ATI_REG_CMD_RECEIVE_EN;
432 ch->flush_bit = ATI_REG_FIFO_IN_FLUSH;
433 ch->dma_dt_cur_bit = ATI_REG_IN_DMA_DT_CUR;
434 /* XXX Native 32bit recording appear to be broken */
435 ch->caps_32bit = 0;
435 ch->caps_32bit = 1;
436 }
437
438 ch->buffer = b;
439 ch->parent = sc;
440 ch->channel = c;
441 ch->dir = dir;
442 ch->dma_segs = sc->dma_segs;
443

--- 647 unchanged lines hidden ---
436 }
437
438 ch->buffer = b;
439 ch->parent = sc;
440 ch->channel = c;
441 ch->dir = dir;
442 ch->dma_segs = sc->dma_segs;
443

--- 647 unchanged lines hidden ---