pit8253: Small typo fix (no credit)

This commit is contained in:
Dirk Best 2010-02-25 15:26:04 +00:00
parent 4bfcd73cc3
commit 4ff4cc3ae0
2 changed files with 9 additions and 8 deletions

View File

@ -102,12 +102,13 @@ struct _pit8253_t
***************************************************************************/
/* makes sure that the passed in device is of the right type */
INLINE pit8253_t *get_safe_token(running_device *device) {
assert( device != NULL );
assert( device->token != NULL );
assert( ( device->type == DEVICE_GET_INFO_NAME(pit8253) ) ||
( device->type == DEVICE_GET_INFO_NAME(pit8254) ) );
return ( pit8253_t * ) device->token;
INLINE pit8253_t *get_safe_token(running_device *device)
{
assert(device != NULL);
assert(device->token != NULL);
assert((device->type == PIT8253) || (device->type == PIT8254));
return (pit8253_t *) device->token;
}

View File

@ -10,8 +10,8 @@
D5 3 | | 22 _RD
D4 4 | | 21 _CS
D3 5 | | 20 A1
D2 6 | | 19 A0
D1 7 | 8259A | 18 CLK2
D2 6 | 8253 | 19 A0
D1 7 | | 18 CLK2
D0 8 | | 17 OUT2
CLK0 9 | | 16 GATE2
OUT0 10 | | 15 CLK1