mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Fix some variable naming confusion
This commit is contained in:
parent
3cca27dac6
commit
481d658f1e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46590
@ -23,7 +23,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: intpm.c,v 1.5 1999/04/21 07:26:29 peter Exp $
|
* $Id: intpm.c,v 1.6 1999/04/24 20:14:02 peter Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "pci.h"
|
#include "pci.h"
|
||||||
@ -668,7 +668,6 @@ static struct intpm_pci_softc *intpm_alloc(int unit){
|
|||||||
/*Same as pci_map_int but this ignores INTPIN*/
|
/*Same as pci_map_int but this ignores INTPIN*/
|
||||||
static int force_pci_map_int(pcici_t cfg, pci_inthand_t *func, void *arg, unsigned *maskptr)
|
static int force_pci_map_int(pcici_t cfg, pci_inthand_t *func, void *arg, unsigned *maskptr)
|
||||||
{
|
{
|
||||||
int error;
|
|
||||||
#ifdef APIC_IO
|
#ifdef APIC_IO
|
||||||
int nextpin, muxcnt;
|
int nextpin, muxcnt;
|
||||||
#endif
|
#endif
|
||||||
@ -709,7 +708,7 @@ static int force_pci_map_int(pcici_t cfg, pci_inthand_t *func, void *arg, unsign
|
|||||||
nextpin = next_apic_irq(irq);
|
nextpin = next_apic_irq(irq);
|
||||||
while (nextpin >= 0) {
|
while (nextpin >= 0) {
|
||||||
idesc = inthand_add(NULL, nextpin, func, arg, maskptr, 0);
|
idesc = inthand_add(NULL, nextpin, func, arg, maskptr, 0);
|
||||||
if (error != 0)
|
if (idesc == 0)
|
||||||
return 0;
|
return 0;
|
||||||
printf("Registered extra interrupt handler for int %d (in addition to int %d)\n", nextpin, irq);
|
printf("Registered extra interrupt handler for int %d (in addition to int %d)\n", nextpin, irq);
|
||||||
nextpin = next_apic_irq(nextpin);
|
nextpin = next_apic_irq(nextpin);
|
||||||
|
Loading…
Reference in New Issue
Block a user