cmi.c (102328) | cmi.c (107285) |
---|---|
1/* 2 * Copyright (c) 2000 Orion Hodson <O.Hodson@cs.ucl.ac.uk> 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 --- 37 unchanged lines hidden (view full) --- 46 47#include <pci/pcireg.h> 48#include <pci/pcivar.h> 49 50#include <sys/sysctl.h> 51 52#include "mixer_if.h" 53 | 1/* 2 * Copyright (c) 2000 Orion Hodson <O.Hodson@cs.ucl.ac.uk> 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 --- 37 unchanged lines hidden (view full) --- 46 47#include <pci/pcireg.h> 48#include <pci/pcivar.h> 49 50#include <sys/sysctl.h> 51 52#include "mixer_if.h" 53 |
54SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pci/cmi.c 102328 2002-08-23 20:54:32Z orion $"); | 54SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pci/cmi.c 107285 2002-11-26 18:16:27Z cg $"); |
55 56/* Supported chip ID's */ 57#define CMI8338A_PCI_ID 0x010013f6 58#define CMI8338B_PCI_ID 0x010113f6 59#define CMI8738_PCI_ID 0x011113f6 60#define CMI8738B_PCI_ID 0x011213f6 61 62/* Buffer size max is 64k for permitted DMA boundaries */ --- 39 unchanged lines hidden (view full) --- 102 device_t dev; 103 104 bus_space_tag_t st; 105 bus_space_handle_t sh; 106 bus_dma_tag_t parent_dmat; 107 struct resource *reg, *irq; 108 int regid, irqid; 109 void *ih; | 55 56/* Supported chip ID's */ 57#define CMI8338A_PCI_ID 0x010013f6 58#define CMI8338B_PCI_ID 0x010113f6 59#define CMI8738_PCI_ID 0x011113f6 60#define CMI8738B_PCI_ID 0x011213f6 61 62/* Buffer size max is 64k for permitted DMA boundaries */ --- 39 unchanged lines hidden (view full) --- 102 device_t dev; 103 104 bus_space_tag_t st; 105 bus_space_handle_t sh; 106 bus_dma_tag_t parent_dmat; 107 struct resource *reg, *irq; 108 int regid, irqid; 109 void *ih; |
110 void *lock; | 110 struct mtx *lock; |
111 112 int spdif_enabled; 113 unsigned int bufsz; 114 struct sc_chinfo pch, rch; 115}; 116 117/* Channel caps */ 118 --- 892 unchanged lines hidden --- | 111 112 int spdif_enabled; 113 unsigned int bufsz; 114 struct sc_chinfo pch, rch; 115}; 116 117/* Channel caps */ 118 --- 892 unchanged lines hidden --- |