From f48620ab51e204bd0e3e269d870f4193426d6db4 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Thu, 21 Feb 2019 18:59:13 +0000 Subject: [PATCH] remove obsolete logic, IRQs 1,2,8,12 have been nothing special for a while git-svn-id: svn://kolibrios.org@7584 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/audio/vt823x.asm | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/audio/vt823x.asm b/drivers/audio/vt823x.asm index d8d85485ba..ae19e58dfb 100644 --- a/drivers/audio/vt823x.asm +++ b/drivers/audio/vt823x.asm @@ -12,19 +12,13 @@ DEBUG equ 1 API_VERSION equ 0x01000100 -USE_COM_IRQ equ 0 ;make irq 3 and irq 4 available for PCI devices IRQ_REMAP equ 0 IRQ_LINE equ 0 -;irq 0,1,2,8,12,13 unavailable +;irq 0,13 unavailable ; FEDCBA9876543210 -VALID_IRQ equ 1100111011111000b -ATTCH_IRQ equ 0000111010100000b - -if USE_COM_IRQ -ATTCH_IRQ equ 0000111010111000b -end if +VALID_IRQ equ 1101111111111110b CPU_FREQ equ 2600d @@ -388,10 +382,6 @@ proc START c, state:dword, cmdline:dword mov esi, msgInvIRQ bt eax, ebx jnc .fail_msg - mov eax, ATTCH_IRQ - mov esi, msgAttchIRQ - bt eax, ebx - jnc .fail_msg invoke AttachIntHandler, ebx, ac97_irq_VIA, 0 .reg: @@ -1238,7 +1228,6 @@ sz_sound_srv db 'SOUND',0 msgInit db 'detect hardware...',13,10,0 msgFail db 'device not found',13,10,0 -msgAttchIRQ db 'IRQ line not supported', 13,10, 0 msgInvIRQ db 'IRQ line not assigned or invalid', 13,10, 0 msgPlay db 'start play', 13,10,0 msgStop db 'stop play', 13,10,0