Bring a new x86_64 device to Linux

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

 



Hello,

I am making a GPIO driver for a custom x86_64 motherboard.

It came with a windows driver which is fairly simple but before
reading or witting to a certain GPIO pin I have to keep reading an
other ioport with inb() until GPIO data is ready.

However, I need to make sure this is the right motherboard so I am
reading a 10 byte string where the model information is located, but
just before I read the last byte the kernel is killing my kernel
module and marking it as tainted. Why would this happen?

I also noticed that detection and probing is now done using platform
drivers on ARM platform. I would like to follow the same on x86_64 but
I don't find any documentation/examples to help me.


The kernel version I am working on is 3.12.21
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux