selfmade serial driver problem with chipset other than VIA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello people

this is my first attempt to the linux serial mailling list so i
apologize for my mistakes...

i am a newbie in kernel development.

i have made a serial driver cause i want to communicate with a serial
device ( a microcontroller ). I have programmed the driver in my
computer and everything is working ok. I have an AMD 1000Hz, MSI
motherboard with VIA chipset and kernel 2.4.31. I have found
informations from Linux Deveice Drivers book. Everything is working ok
in my computer but  the driver isn't working in computers with INTEL and
NVIDIA chipsets. The fact that makes me suspicious about that
is that although my driver is registered in /proc/interrupts
and /proc/ioports (irq 4-ioport 0x03f8) when ever i call outb from my
writer bottomhalf routine the interrupt isn't generated from the
hardware(in machines with inter or nvidia chipset). 

the flow chart is somethink like that:

1)user space write      (getting the data from user)

2)kernel space write    (generating the package that i want to send)

3)writer_bottomhalf     (i have the package in writer_buffer indexed by a 
		         bytes_send variable. Call "outb(writer_buffer[bytes_send],MY_UART+UART_TX)" )

4)interrupt handler     (bytes_send++ ,so i can send the next character variable, 
		         call "tasklet_schedule(&writer_bottomhalf)" to go to step 3)

in computers with chipsets other than VIA the 4th step (interrupt handler) is
never executed.

any ideas?

thank

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux