Obsolete files in 2.6 tree
Subsystems (2)
Are these files obsolete and could be deleted from tree. Does anybody use them? Could anybody compile them?
drivers/char/drm/gamma_dma.cdrivers/char/drm/gamma_drv.cdrivers/char/scan_keyb.cdrivers/char/scan_keyb.hdrivers/input/power.cdrivers/isdn/hisax/elsa_ser.cdrivers/media/video/zr36120.cdrivers/media/video/zr36120_i2c.cdrivers/media/video/zr36120_mem.cdrivers/net/wan/sdladrv.cdrivers/scsi/aic7xxx_old*drivers/scsi/NCR5380.cdrivers/scsi/NCR5380.hdrivers/scsi/scsi_module.cdrivers/video/pm3fb.cfs/befs/attribute.cfs/binfmt_som.cfs/binfmt_flat.csound/oss/skeleton.c
Signature · 3 lines
Jiri Slaby www.fi.muni.cz/~xslaby ~\-/~ [email protected] ~\-/~ 241B347EC88228DE51EE A49C4A73A25004CB2A10
Quoted 7 lines · Jiri Slaby
Are these files obsolete and could be deleted from tree. Does anybody use them? Could anybody compile them?
(...)
drivers/scsi/NCR5380.cdrivers/scsi/NCR5380.h
(...)
The above are used by (at least) the PAS16 SCSI driver. The PAS16 is a 16-bit ISA soundcard that, in its "studio" incarnation, has a slow- speed (intended for the CD-ROM drives of the time) SCSI interface based on the NCR 5380. As I recall, the Linux driver operated in polled mode
only: no interrupt handling capability. That deficiency was never corrected while I was a user of that card, and I quit using the card somewhere in the 2.2 kernel version timeframe.
Signature · 4 lines
----------------------------------------------------------------------- Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org [email protected] -----------------------------------------------------------------------
Bob Tracy napsal(a):
Quoted 13 lines
Quoted 9 lines · Jiri Slaby
Are these files obsolete and could be deleted from tree. Does anybody use them? Could anybody compile them?
(...)
drivers/scsi/NCR5380.cdrivers/scsi/NCR5380.h
(...)
Quoted 9 lines
The above are used by (at least) the PAS16 SCSI driver. The PAS16 is a 16-bit ISA soundcard that, in its "studio" incarnation, has a slow- speed (intended for the CD-ROM drives of the time) SCSI interface based on the NCR 5380. As I recall, the Linux driver operated in polled mode
only: no interrupt handling capability. That deficiency was never corrected while I was a user of that card, and I quit using the card somewhere in the 2.2 kernel version timeframe.
I think, that this driver uses g_NCR5380.c and g_NCR5380.h, doesn't it?
Signature · 3 lines
Jiri Slaby www.fi.muni.cz/~xslaby ~\-/~ [email protected] ~\-/~ 241B347EC88228DE51EE A49C4A73A25004CB2A10
Jiri Slaby napsal(a):
Quoted 2 lines
Are these files obsolete and could be deleted from tree. Does anybody use them? Could anybody compile them?
New list should be:drivers/char/drm/gamma_dma.cdrivers/char/drm/gamma_drv.cdrivers/char/scan_keyb.cdrivers/char/scan_keyb.hdrivers/input/power.cdrivers/isdn/hisax/elsa_ser.cdrivers/media/video/zr36120.cdrivers/media/video/zr36120_i2c.cdrivers/media/video/zr36120_mem.cdrivers/net/wan/sdladrv.cdrivers/scsi/NCR5380.cdrivers/scsi/NCR5380.hdrivers/scsi/scsi_module.cdrivers/video/pm3fb.cfs/befs/attribute.cfs/binfmt_som.csound/oss/skeleton.c
Quoted 2 lines · Jiri Slaby
drivers/scsi/NCR5380.cdrivers/scsi/NCR5380.h
These files are used by many older SCSI drivers:
rainbow@pentium:/usr/src/linux/drivers/scsi$ grep -l NCR5380\[.\]\[ch\] * Kconfig NCR5380.c NCR5380.h atari_scsi.c dmx3191d.c dtc.c g_NCR5380.c g_NCR5380.h g_NCR5380.ko g_NCR5380.o g_NCR5380_mmio.c mac_scsi.c mac_scsi.h pas16.c sun3_NCR5380.c sun3_scsi.c sun3_scsi.h sun3_scsi_vme.c t128.c t128.h
Signature · 1 line
Ondrej Zary
Quoted 5 lines · Jiri Slaby
Jiri Slaby napsal(a):
Quoted 2 lines
Are these files obsolete and could be deleted from tree. Does anybody use them? Could anybody compile them?
New list should be:
[...]
Quoted 1 line
sound/oss/skeleton.c
I think skeleton.* files are there as examples, not for real use. Sure, they should be checked that they are up to date and fixed as required.
OSS is obsolete, so this could probably be axed when/if it finally is deleted.
Signature · 4 lines
Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
Quoted 2 lines · Jiri Slaby
drivers/char/scan_keyb.cdrivers/char/scan_keyb.h
These still work, but are meant to be used by other drivers and not standalone. There's a few users of this that haven't been merged yet anyways.
Quoted 9 lines · Jiri Slaby
Bob Tracy napsal(a):
Quoted 8 lines
Quoted 6 lines · Jiri Slaby
Are these files obsolete and could be deleted from tree. Does anybody use them? Could anybody compile them? (...)
drivers/scsi/NCR5380.cdrivers/scsi/NCR5380.h
(...)
Quoted 3 lines
Quoted 1 line
The above are used by (at least) the PAS16 SCSI driver.
I think, that this driver uses
g_NCR5380.candg_NCR5380.h, doesn't it?
grep include pas16.c | grep NCR5380
produces...
#include "NCR5380.h"
#include "NCR5380.c"
Signature · 4 lines
----------------------------------------------------------------------- Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org [email protected] -----------------------------------------------------------------------
Quoted 5 lines · Jiri Slaby
Jiri Slaby napsal(a):
Quoted 2 lines
Are these files obsolete and could be deleted from tree. Does anybody use them? Could anybody compile them?
Quoted 7 lines
New list should be:
drivers/char/drm/gamma_dma.cdrivers/char/drm/gamma_drv.cdrivers/char/scan_keyb.cdrivers/char/scan_keyb.h
drivers/input/power.c
This one is partly obsolete and partly a work in progress. It's not referenced from Kconfig at the moment, but will later in time.
Quoted 12 lines
drivers/isdn/hisax/elsa_ser.cdrivers/media/video/zr36120.cdrivers/media/video/zr36120_i2c.cdrivers/media/video/zr36120_mem.cdrivers/net/wan/sdladrv.cdrivers/scsi/NCR5380.cdrivers/scsi/NCR5380.hdrivers/scsi/scsi_module.cdrivers/video/pm3fb.cfs/befs/attribute.cfs/binfmt_som.csound/oss/skeleton.c
Signature · 2 lines
Vojtech Pavlik SuSE Labs, SuSE CR
Quoted 2 lines
Quoted 2 lines
drivers/char/drm/gamma_dma.cdrivers/char/drm/gamma_drv.c
Gamma is defunct certainly
Quoted 3 lines
Quoted 3 lines
drivers/media/video/zr36120.cdrivers/media/video/zr36120_i2c.cdrivers/media/video/zr36120_mem.c
Being discussed on the V4L list
Quoted 2 lines
Quoted 2 lines
drivers/scsi/NCR5380.cdrivers/scsi/NCR5380.h
These are used - check your scripts handle .c includes
Quoted 1 line
Quoted 1 line
fs/binfmt_som.c
pa-risc
Quoted 1 line
Quoted 1 line
sound/oss/skeleton.c
Reference for writing drivers
Quoted 3 lines · Alan Cox
Quoted 1 line
Quoted 1 line
sound/oss/skeleton.cReference for writing drivers
But we're not taking new OSS drivers, right?
Lee
Quoted 6 lines · Lee Revell
Quoted 3 lines · Alan Cox
Quoted 1 line
Quoted 1 line
sound/oss/skeleton.cReference for writing drivers
But we're not taking new OSS drivers, right?
Fair comment
Quoted 7 lines · Alan Cox
Quoted 4 lines
Quoted 4 lines
drivers/media/video/zr36120.cdrivers/media/video/zr36120_i2c.cdrivers/media/video/zr36120_mem.cBeing discussed on the V4L list
It seems that nobody are interested on maintaining it. No answer from
V4L list subscribers.
I think it may be removed.
Mauro.
Quoted 10 lines · Mauro Carvalho Chehab
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
drivers/media/video/zr36120.cdrivers/media/video/zr36120_i2c.cdrivers/media/video/zr36120_mem.cBeing discussed on the V4L list
It seems that nobody are interested on maintaining it. No answer from
V4L list subscribers.I think it may be removed.
Please no, I'll get to it, I have one to play with. Grant.
Alan Cox napsal(a):
Quoted 9 lines · Lee Revell
Quoted 8 lines · Alan Cox
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
sound/oss/skeleton.c
Quoted 10 lines
Quoted 6 lines
Quoted 3 lines
Reference for writing drivers
But we're not taking new OSS drivers, right?
Fair comment
Removed by Adrian Bunk.
Signature · 3 lines
Jiri Slaby www.fi.muni.cz/~xslaby ~\-/~ [email protected] ~\-/~ 241B347EC88228DE51EE A49C4A73A25004CB2A10
Jiri Slaby napsal(a):
Quoted 1 line
fs/befs/attribute.c
And what about entire befs? Is it used?
Last change was made on 2002 and many features are still missing.
Signature · 3 lines
Jiri Slaby www.fi.muni.cz/~xslaby ~\-/~ [email protected] ~\-/~ 241B347EC88228DE51EE A49C4A73A25004CB2A10
Alan Cox napsal(a):
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
drivers/char/drm/gamma_dma.cdrivers/char/drm/gamma_drv.cGamma is defunct certainly
Removes gamma sources, headers and pointers from Kconfig and Makefile.
patch is here (about 70 KiB):
http://www.fi.muni.cz/~xslaby/lnx/gamma.txt
Signature · 3 lines
Jiri Slaby www.fi.muni.cz/~xslaby ~\-/~ [email protected] ~\-/~ 241B347EC88228DE51EE A49C4A73A25004CB2A10
Quoted 6 lines · Jiri Slaby
Jiri Slaby napsal(a):
Quoted 1 line
fs/befs/attribute.cAnd what about entire befs? Is it used?
Last change was made on 2002 and many features are still missing.
Well, don't know about anyone else, but I certainly don't use it anymore. If anyone needs a fully-functional befs driver, the easiest route to that would probably be getting Haiku's befs driver to compile in userland as a FUSE fs.
At any rate, attribute.c can go. It is easy enough to add back in if anyone ever wants to do the (relativly minor) refactoring nessisary to get it working.
fs/befs/attribute.c deleted +0 -117
@@ -1,117 +0,0 @@ -/* -* linux/fs/befs/attribute.c -* -* Copyright (C) 2002 Will Dyson <[email protected]> -* -* Many thanks to Dominic Giampaolo, author of "Practical File System -* Design with the Be File System", for such a helpful book. -* -*/ - -#include <linux/fs.h> -#include <linux/kernel.h> -#include <linux/string.h> - -#include "befs.h" -#include "endian.h" - -#define SD_DATA (sd)\ - (void*)((char*)sd + sizeof(*sd) + (sd->name_size - sizeof(sd->name))) - -#define SD_NEXT (sd)\ - (befs_small_data*)((char*)sd + sizeof(*sd) + (sd->name_size - \ - sizeof(sd->name) + sd->data_size)) - -int -list_small_data (struct super_block *sb,befs_inode * inode,filldir_t filldir); - -befs_small_data * -find_small_data (struct super_block *sb,befs_inode * inode, -const char *name); -int -read_small_data (struct super_block *sb,befs_inode * inode, -befs_small_data * sdata,void *buf,size_t bufsize); - -/** -* -* -* -* -* -*/ -befs_small_data * -find_small_data (struct super_block *sb,befs_inode * inode,const char *name) -{ -befs_small_data *sdata = inode->small_data; - -while (sdata->type !=0 ) { -if (strcmp (name, sdata->name) !=0 ) { -return sdata; - } - sdata =SD_NEXT (sdata); - } -return NULL ; -} - -/** -* -* -* -* -* -*/ -int -read_small_data (struct super_block *sb,befs_inode * inode, -const char *name,void *buf,size_t bufsize) -{ -befs_small_data *sdata; - - sdata =find_small_data (sb, inode, name); -if (sdata ==NULL ) -return BEFS_ERR ; -else if (sdata->data_size > bufsize) -return BEFS_ERR ; - -memcpy (buf,SD_DATA (sdata), sdata->data_size); - -return BEFS_OK ; -} - -/** -* -* -* -* -* -*/ -int -list_small_data (struct super_block *sb,befs_inode * inode) -{ - -} - -/** -* -* -* -* -* -*/ -int -list_attr (struct super_block *sb,befs_inode * inode) -{ - -} - -/** -* -* -* -* -* -*/ -int -read_attr (struct super_block *sb,befs_inode * inode) -{ - -}
Signature · 1 line
Will Dyson
fs/befs/attribute.c deleted +0 -117
117 lines not on this page · raw message
Quoted 4 lines
Well, don't know about anyone else, but I certainly don't use it anymore. If anyone needs a fully-functional befs driver, the easiest route to that would probably be getting Haiku's befs driver to compile in userland as a FUSE fs.
That has already been done:
http://prdownloads.sourceforge.net/fuse/mountlo-i386-0.1.tar.gz
All is needed is a working FUSE installation, and the above binary, to be able to mount any filesystem image/partition.
Miklos
Jiri Slaby napsal(a):
Quoted 10 lines
Alan Cox napsal(a):
Quoted 8 lines
Quoted 4 lines
Quoted 3 lines
drivers/char/drm/gamma_dma.cdrivers/char/drm/gamma_drv.cGamma is defunct certainly
Quoted 7 lines
Removes gamma sources, headers and pointers from
KconfigandMakefile.Signed-off-by Jiri Slaby <[email protected]>patch is here (about 70 KiB):
http://www.fi.muni.cz/~xslaby/lnx/gamma.txt
Removes gamma line from Documentation/kernel-parameters.txt
Documentation/kernel-parameters.txt +0 -2
@@ -497,8 +497,6 @@ running once the system is up. Format: <port#>,<pad1>,<pad2>,<pad3>,<pad4>,<pad5> See also Documentation/input/joystick-parport.txt - gamma= [HW,DRM] - gdth= [HW,SCSI] See header of drivers/scsi/gdth.c.
Signature · 3 lines
Jiri Slaby www.fi.muni.cz/~xslaby ~\-/~ [email protected] ~\-/~ 241B347EC88228DE51EE A49C4A73A25004CB2A10
Documentation/kernel-parameters.txt +0 -2
@@ -497,8 +497,6 @@ running once the system is up. Format: <port#>,<pad1>,<pad2>,<pad3>,<pad4>,<pad5> See also Documentation/input/joystick-parport.txt - gamma= [HW,DRM] - gdth= [HW,SCSI] See header of drivers/scsi/gdth.c.
Quoted 11 lines · Miklos Szeredi
Quoted 4 lines
Well, don't know about anyone else, but I certainly don't use it anymore. If anyone needs a fully-functional befs driver, the easiest route to that would probably be getting Haiku's befs driver to compile in userland as a FUSE fs.
That has already been done:
http://prdownloads.sourceforge.net/fuse/mountlo-i386-0.1.tar.gz
All is needed is a working FUSE installation, and the above binary, to be able to mount any filesystem image/partition.
I think you mis-understand. Mountlo seems to allow one to mount (through FUSE) any filesystem image for which there is a linux kernel kernel driver available. This is a very nice capability.
But what I speak of is to port the 100% feature-complete (and well-tested) befs driver from the Haiku project's kernel to the FUSE interface. This should be a considerably easier task than porting it to the linux kernel vfs interface. Among other reasons for this, parts of Haiku's kernel (including their befs driver) are written in c++.
Signature · 1 line
Will Dyson
Quoted 9 lines
I think you mis-understand. Mountlo seems to allow one to mount (through FUSE) any filesystem image for which there is a linux kernel kernel driver available. This is a very nice capability.
But what I speak of is to port the 100% feature-complete (and well-tested) befs driver from the Haiku project's kernel to the FUSE interface. This should be a considerably easier task than porting it to the linux kernel vfs interface. Among other reasons for this, parts of Haiku's kernel (including their befs driver) are written in c++.
OK, thanks for the clarification.
Miklos