Sponsored Content
Operating Systems Linux Fedora Is Kernel module is the same as a device driver? Post 302519639 by Perderabo on Wednesday 4th of May 2011 01:22:56 PM
Old 05-04-2011
Well I didn't really "need" any particular major number. Somehow "1" just came quickly to mind as something to use as an example. Then I was just showing the link betwen the driver and the device file (which is major number). As I said, the drivers are listed in that /usr/include/linux/major.h file so I guess you could say that "maps it out". I really don't know what info you're looking for... Smilie
 

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Kernel and Device Driver Programming

I am looking for a guide on how to program for either the Linux or FreeBSD (includes 4.4BSD, NetBSD or OpenBSD) kernel. I would prefer to learn how to write device drivers, but anything would help. If you know, please email me at *removed* or leave a post here Regards, Farhan (0 Replies)
Discussion started by: Farhan
0 Replies

2. Solaris

SUNWglmr -- rasctrl environment monitoring driver for i2c or SCSI device driver ?

I've been researching minimizeing Solaris 8 and found that on the web page http://www.sun.com/bigadmin/content/packagelist/s8u7PkgList/p2.html the package SUNWglmr is listed as "rasctrl environment monitoring driver for i2c, (Root) (32-bit)" while in the document "Solaris 8 minimize-updt1.pdf"... (1 Reply)
Discussion started by: roygoodwin
1 Replies

3. Linux

Linux Device Driver: avoid mem copy from/to user/kernel space

I recently started working with Linux and wrote my first device driver for a hardware chip controlled by a host CPU running Linux 2.6.x kernel. 1. The user space process makes an IOCTL call with pointer to a user memory buffer. 2. The kernel device driver in the big switch-case of IOCTL,... (1 Reply)
Discussion started by: agaurav
1 Replies

4. UNIX for Advanced & Expert Users

Get pointer for existing device class (struct class) in Linux kernel module

Hi all! I am trying to register a device in an existing device class, but I am having trouble getting the pointer to an existing class. I can create a class in a module, get the pointer to it and then use it to register the device with: *cl = class_create(THIS_MODULE, className);... (0 Replies)
Discussion started by: hdaniel@ualg.pt
0 Replies
IWNFW(4)						   BSD Kernel Interfaces Manual 						  IWNFW(4)

NAME
iwnfw -- Firmware Module for Intel Wireless driver SYNOPSIS
To compile this module into the kernel, place the following line in your kernel configuration file: device iwnfw This will include firmware images for all iwn(4) devices inside the kernel. If you want to pick only the firmware image for your network adapter choose one of the following: device iwn1000fw device iwn100fw device iwn105fw device iwn135fw device iwn2000fw device iwn2030fw device iwn4965fw device iwn5000fw device iwn5150fw device iwn6000fw device iwn6000g2afw device iwn6000g2bfw device iwn6050fw Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): iwn1000fw_load="YES" iwn100fw_load="YES" iwn105fw_load="YES" iwn135fw_load="YES" iwn2000fw_load="YES" iwn2030fw_load="YES" iwn4965fw_load="YES" iwn5000fw_load="YES" iwn5150fw_load="YES" iwn6000fw_load="YES" iwn6000g2afw_load="YES" iwn6000g2bfw_load="YES" iwn6050fw_load="YES" DESCRIPTION
This module provides access to firmware sets for the Intel Wireless WiFi Link 100, 105, 135, 1000, 2000, 2030, 4965, 5000 and 6000 series of IEEE 802.11n adapters. It may be statically linked into the kernel, or loaded as a module. SEE ALSO
iwn(4), firmware(9) BSD
August 30, 2014 BSD
All times are GMT -4. The time now is 11:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy