Re: Updating old device drivers?
From: Måns Rullgård (mru_at_inprovide.com)
Date: 11/08/04
- Previous message: Charles Sullivan: "Re: Updating old device drivers?"
- In reply to: Charles Sullivan: "Re: Updating old device drivers?"
- Next in thread: Charles Sullivan: "Re: Updating old device drivers?"
- Reply: Charles Sullivan: "Re: Updating old device drivers?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 08 Nov 2004 16:03:15 +0100
Charles Sullivan <cwsulliv@triad.rr.com> writes:
> Is there some general area in the kernel source which deals with
> the device driver interface, or is it usually a matter of
> 'grep'ing the whole kernel tree?
It depends on what sort of device you are writing a driver for. If
the driver is for a PCI card, there are generic functions to locate
all devices in a list of PCI IDs, and other useful things. The driver
will also have to interface against one of the subsystems of the
kernel, like SCSI or Ethernet. These interfaces occasionally change,
of course. If you have unresolved symbols, I'd suggest locating those
symbols in the header files from the last working kernel version, and
then look in the same header files from the new kernel for similar
functions.
-- Måns Rullgård mru@inprovide.com
- Previous message: Charles Sullivan: "Re: Updating old device drivers?"
- In reply to: Charles Sullivan: "Re: Updating old device drivers?"
- Next in thread: Charles Sullivan: "Re: Updating old device drivers?"
- Reply: Charles Sullivan: "Re: Updating old device drivers?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|