Added VT8237 revision.
Thanks to Bernd T.Korz <[email protected]> for testing and modifying git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6106 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
#define VIATECH_8233_AC97_REV_8233 0x30
|
||||
#define VIATECH_8233_AC97_REV_8233A 0x40
|
||||
#define VIATECH_8233_AC97_REV_8235 0x50
|
||||
#define VIATECH_8233_AC97_REV_8237 0x60 //this is the 5.1 Card in the new Athlon64 boards
|
||||
|
||||
#define VERSION "Version alpha 2, Copyright (c) 2003 Jérôme Duval, compiled on " ## __DATE__ ## " " ## __TIME__
|
||||
#define DRIVER_NAME "auvia"
|
||||
@@ -66,6 +67,7 @@
|
||||
#define FRIENDLY_NAME_8233 FRIENDLY_NAME" 8233"
|
||||
#define FRIENDLY_NAME_8233A FRIENDLY_NAME" 8233A"
|
||||
#define FRIENDLY_NAME_8235 FRIENDLY_NAME" 8235"
|
||||
#define FRIENDLY_NAME_8237 FRIENDLY_NAME" 8237"
|
||||
#define AUTHOR "Jérôme Duval"
|
||||
|
||||
#define VIA_TABLE_SIZE 255
|
||||
@@ -165,4 +167,4 @@ void auvia_stream_halt(auvia_stream *stream);
|
||||
auvia_stream *auvia_stream_new(auvia_dev *card, uint8 use, uint32 bufframes, uint8 bufcount);
|
||||
void auvia_stream_delete(auvia_stream *stream);
|
||||
|
||||
#endif /* _DEV_PCI_AUVIA_H_ */
|
||||
#endif /* _DEV_PCI_AUVIA_H_ */
|
||||
@@ -657,6 +657,11 @@ auvia_get_description(auvia_dev *card, multi_description *data)
|
||||
case VIATECH_8233_AC97_REV_8235:
|
||||
strncpy(data->friendly_name, FRIENDLY_NAME_8235, 32);
|
||||
break;
|
||||
case VIATECH_8233_AC97_REV_8237:
|
||||
strncpy(data->friendly_name, FRIENDLY_NAME_8237, 32);
|
||||
break;
|
||||
default:
|
||||
strncpy(data->friendly_name, FRIENDLY_NAME);
|
||||
}
|
||||
}
|
||||
strcpy(data->vendor_info, AUTHOR);
|
||||
@@ -1115,4 +1120,3 @@ auvia_write(void* cookie, off_t position, const void* buffer, size_t* num_bytes)
|
||||
*num_bytes = 0; /* tell caller nothing was written */
|
||||
return B_IO_ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user