Peter Xu <pet...@redhat.com> 于2019年5月11日周六 上午7:53写道:
> On Fri, May 10, 2019 at 09:43:46AM -0700, Li Qiang wrote: > > Recently I am considering write a driver for edu device. > > I don't know why you wanted to write it, but there's one (though I > don't even remember whether it's working or not)... > > This is a simple device, once I used it to debug and make clear some hardware-related stuff of PCI device, such as PCI interrupt routing, interrupt linking device, interrupt raise and the process of injecting. I think if there is a driver, I can do this inspection more easily. > > https://github.com/xzpeter/clibs/blob/master/gpl/linux_kernel/edu_device_driver/edu.c > > Great! Thanks, Li Qiang > Regards, > > -- > Peter Xu >