bktr_core.c (41591) | bktr_core.c (41771) |
---|---|
1/* $Id: brooktree848.c,v 1.59 1998/11/08 12:39:06 dfr Exp $ */ | 1/* $Id: brooktree848.c,v 1.60 1998/12/07 21:58:45 archie Exp $ */ |
2/* BT848 Driver for Brooktree's Bt848 based cards. 3 The Brooktree BT848 Driver driver is based upon Mark Tinguely and 4 Jim Lowe's driver for the Matrox Meteor PCI card . The 5 Philips SAA 7116 and SAA 7196 are very different chipsets than 6 the BT848. For starters, the BT848 is a one chipset solution and 7 it incorporates a RISC engine to control the DMA transfers -- 8 that is it the actual dma process is control by a program which 9 resides in the hosts memory also the register definitions between --- 423 unchanged lines hidden (view full) --- 433 434static bktr_reg_t brooktree[ NBKTR ]; 435#define BROOKTRE_NUM(mtr) ((bktr - &brooktree[0])/sizeof(bktr_reg_t)) 436 437#define UNIT(x) ((x) & 0x0f) 438#define MINOR(x) ((x >> 4) & 0x0f) 439#define ATTACH_ARGS pcici_t tag, int unit 440 | 2/* BT848 Driver for Brooktree's Bt848 based cards. 3 The Brooktree BT848 Driver driver is based upon Mark Tinguely and 4 Jim Lowe's driver for the Matrox Meteor PCI card . The 5 Philips SAA 7116 and SAA 7196 are very different chipsets than 6 the BT848. For starters, the BT848 is a one chipset solution and 7 it incorporates a RISC engine to control the DMA transfers -- 8 that is it the actual dma process is control by a program which 9 resides in the hosts memory also the register definitions between --- 423 unchanged lines hidden (view full) --- 433 434static bktr_reg_t brooktree[ NBKTR ]; 435#define BROOKTRE_NUM(mtr) ((bktr - &brooktree[0])/sizeof(bktr_reg_t)) 436 437#define UNIT(x) ((x) & 0x0f) 438#define MINOR(x) ((x >> 4) & 0x0f) 439#define ATTACH_ARGS pcici_t tag, int unit 440 |
441static char* bktr_probe( pcici_t tag, pcidi_t type ); | 441static const char* bktr_probe( pcici_t tag, pcidi_t type ); |
442static void bktr_attach( ATTACH_ARGS ); 443 444static u_long bktr_count; 445 446static struct pci_device bktr_device = { 447 "bktr", 448 bktr_probe, 449 bktr_attach, --- 672 unchanged lines hidden (view full) --- 1122 u_char* data ); 1123 1124 1125#ifdef __FreeBSD__ 1126 1127/* 1128 * the boot time probe routine. 1129 */ | 442static void bktr_attach( ATTACH_ARGS ); 443 444static u_long bktr_count; 445 446static struct pci_device bktr_device = { 447 "bktr", 448 bktr_probe, 449 bktr_attach, --- 672 unchanged lines hidden (view full) --- 1122 u_char* data ); 1123 1124 1125#ifdef __FreeBSD__ 1126 1127/* 1128 * the boot time probe routine. 1129 */ |
1130static char* | 1130static const char* |
1131bktr_probe( pcici_t tag, pcidi_t type ) 1132{ 1133 switch (type) { 1134 case BROOKTREE_848_ID: 1135 return("BrookTree 848"); 1136 case BROOKTREE_849_ID: 1137 return("BrookTree 849"); 1138 case BROOKTREE_878_ID: --- 4343 unchanged lines hidden --- | 1131bktr_probe( pcici_t tag, pcidi_t type ) 1132{ 1133 switch (type) { 1134 case BROOKTREE_848_ID: 1135 return("BrookTree 848"); 1136 case BROOKTREE_849_ID: 1137 return("BrookTree 849"); 1138 case BROOKTREE_878_ID: --- 4343 unchanged lines hidden --- |