RE: Registering device

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

 



Hi Greg,

No, I didn't mean that pci_register_driver() didn't work for me. I used
pci_find_device() as inheritance from older kernels :).
Now I'm writing another PCI driver for a new data processing board and I
will definitely "upgrade" it.

Thanks.


Regards,
Konstantyn

-----Original Message-----
From: Greg KH [mailto:greg@kroah.com]
Sent: Tuesday, February 03, 2004 4:53 PM
To: Prokopenko, Konstantyn
Cc: 'kernelnewbies'; 'S.Karthik'
Subject: Re: Registering device


On Tue, Feb 03, 2004 at 04:10:47PM -0500, Prokopenko, Konstantyn wrote:
> 
> Thanks for the warning :)
> Yes, we are using "old" 2.4 kernels for our developments and didn't
migrate
> to the newest kernels yet.

Um, 2.4 should also work just fine without using pci_find_device().  In
fact, that's the kernel series that it was created for (during 2.3).  It
is not a "new" interface by any means :)

> We are developing complicated medical machines with proprietary hardware.
> For our purpose pci_find_device() is ABSOLUTELY legitimate as probably for
> many "old timer" kernel module developers :).

Why is it legitimate?  Why would pci_register_driver() not work for you
now?

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux