From: Jouko P. <py...@jy...> - 2000-06-15 23:25:21
|
I changed a couple of things in my 2.3 kernel and got it running. I don't know which of the changes were important but anyway: 1) in amiints.c function amiga_free_irq() if you free an auto irq, it should probably return after the sys_free_irq() call on line 259, otherwise it goes to cia_free_irq() as well and tries to free it as a CIA interrupt. 2) in amiga_enable_irq() some vaues in ami_ablecount[] seemed to go negative, which can't be right? I added a check so it'll never be decreased below zero. 3) the old ami_int3 change: reinserted it to the amiga_default_handler[] array and free the irq in amifb.c after ami_init_copper() call. I doubt this isn't the Right Way though. After those it boots, was up for over an hour. I compiled stuff, ran X etc and saw no crashes. Btw one thing about PPP: do you need a new pppd specifically for 2.3 kernels? I couldn't get ppp running. It says the kernel doesn't have ppp support. I don't think (?) it's because of the serial driver, i kludged amiserial.c to compile and as far as i can see serial i/o works. Jouko |