- 02 Aug, 2002 4 commits
-
-
Patrick Mochel authored
This defines struct driver_attribute so device drivers themselves can export attributes via driverfs. The macro DRIVER_ATTR is defined for declaring the attributes. driver_{create,remove}_file are implemented for creating and removing files.
-
bk://ldm.bkbits.net/linux-2.5-driverfsPatrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-driverfs
-
Patrick Mochel authored
These behave identically to device attribute files, but with different types. We get struct bus_attribute, and a macro, BUS_ATTR for declaring attributes. It takes the same parameters as DEVICE_ATTR, though the callbacks for bus attributes take a struct bus_type as the first parameter.
-
Patrick Mochel authored
This cleans up the drivers/base/ files, so they deal mainly with registration. It also provides a good place to put the glue needed for bus and driver files in driverfs.
-
- 01 Aug, 2002 36 commits
-
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
Dave Jones authored
Earlier Intel CPUs didn't have the cpuid namestring feature, so we have to look them up in tables.. Fix by Patrick Mochel.
-
Linus Torvalds authored
-
Linus Torvalds authored
-
bk://ldm.bkbits.net/linux-2.5-driverfs-apiLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Linus Torvalds authored
Cset exclude: torvalds@home.transmeta.com|ChangeSet|20020801011106|51286
-
Alexander Viro authored
we are starting to split gendisks - now we can do that. Done for ide, sd, pd, hd and mfm It's in transit - what we are aiming at is getting ->nr_real to 1 for all gendisks. Once that will be done we will be able to simplify a lot stuff and remove ad-hackery. First thing that will happen after that is death of ->nr_real, obviouslye. Then we (a) will merge ->major and ->first_minor into ->dev (b) strip one level of indirection from ->driverfs_dev_arr, ->de_arr and ->flags - they turn into single-element arrays and we will simply pull the (only) element into struct gendisk. Kills a lot of ad-hackery in splitup code (fewer things to allocate). (c) replace ->major_name with ->disk_name; kills most of the crap in disk_name(9) - it only has to care about adding partition number to the name.
-
Alexander Viro authored
now that gendisks don't have shared stuff (we used to set blk_size[] from ->sizes) we can start splitting them into per-disk ones. Step 1: we introduce a new field - ->first_minor (to be merged with ->major into dev_t of entire disk once all gendisks are split). All arrays are assumed to start at that minor (i.e. gd->part[minor] got replaced with gd->part[minor - gd->first_minor], etc.). get_gendisk() is taught to pick the right gendisk if there are several with the same major.
-
Alexander Viro authored
kills use of blk_size[] for partitioned devices, removes ->sizes from struct gendisk.
-
Linus Torvalds authored
-
bk://linux-input.bkbits.net/linux-inputLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Felipe Damasio authored
This patch corrects a comment on the 8139cp ethernet driver.
-
Ingo Molnar authored
This removes the TLS clear operation. I've left the flags mask and the writable flag just so that we have the option to introduce extensions without breaking the ABI.
-
Linus Torvalds authored
-
William Stinson authored
this is a small patch for boardergo.c linux driver for isdn HYSDN cards to 1) remove call to check_region using request_region instead 2) check the status of call to request_region 3) release allocated region resource in case of error. I don't have this hardware so compilation checked only.
-
Christoph Hellwig authored
from Debian's kernel package [ Typo fix, makes sense, please apply ]
-
James Mayer authored
-
Greg Banks authored
Symbols CONFIG_HISAX_ENTERNOW_PCI and CONFIG_HISAX_AMD7930 depend on CONFIG_EXPERIMENTAL but do not say so in their banners.
-
Greg Banks authored
Symbol CONFIG_PPPOATM doesn't depend on CONFIG_EXPERIMENTAL but claims to in its banner.
-
Marcus Alanen authored
Somebody noticed on #kernelnewbies. In the error path, so this is silly cleanup work...
-
Greg Banks authored
Some CML1 rule contributors seem to think that the "bool" statement takes a third argument which is the default value. It doesn't.
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-driverfs-api
-
rfjak@eircom.net authored
I am not sure if you are the actual maintainer for this, but your name adorns the source : 2.5.28 introduced video mode 1400x1050 twice into drivers/video/modedb.c Both instances use indentical timings, so I guess it's a mistake.
-
Greg Banks authored
Symbol CONFIG_EXT3_FS doesn't depend on CONFIG_EXPERIMENTAL but claims to in its banner.
-