driver devel: have to start over from scratch???
From: Dan Miller (dan_at_invalid.net)
Date: 06/23/05
- Next message: Bill Waddington: "Re: driver devel: have to start over from scratch???"
- Previous message: Chris Friesen: "Re: spin_lock_irqsave in functions"
- Next in thread: Bill Waddington: "Re: driver devel: have to start over from scratch???"
- Reply: Bill Waddington: "Re: driver devel: have to start over from scratch???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Jun 2005 12:22:10 -0500
some two years ago, I worked extensively on a pseudo-ethernet (i.e., it
used network/ethernet api, but hardware underneath had nothing to do with
Ethernet) driver for kernel 2.2. Towards the end of my time there, I
converted the driver to kernel 2.4, but didn't give it alot of testing.
Suddenly now, I'm back on the same project again, but I need to port it to
kernel 2.6.
The interface seems to have *completely* changed now. I found some hints
on general k2.6 driver issues from an article at LinuxDevices.com, but much
is still missing. In the old days, I used Rubini as reference, but that
wasn't entirely useful for K2.4, and of course it has nothing about k2.6 at
all.
In particular, the pci-enumeration process seems to be completely
different; the pcibios_present/pcibios_find_device functions no longer
exist, and request_irq doesn't seem to exist either...
What do people use for reference now, if they want to create correct kernel
2.6 drivers (rather than hacking old drivers to sorta work)??? I'm willing
to take the time to do this right, but a tutorial or something would sure
reduce the pain. Any advice from anyone??
Dan Miller
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
- Next message: Bill Waddington: "Re: driver devel: have to start over from scratch???"
- Previous message: Chris Friesen: "Re: spin_lock_irqsave in functions"
- Next in thread: Bill Waddington: "Re: driver devel: have to start over from scratch???"
- Reply: Bill Waddington: "Re: driver devel: have to start over from scratch???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|