Remove useless stub driver.
* There are already ways to mount disk images of various formats, no need for this one which doesn't have anything implemented.
This commit is contained in:
parent
6dee50beeb
commit
3deab26b88
|
@ -1,6 +1,5 @@
|
||||||
SubDir HAIKU_TOP src add-ons kernel drivers disk virtual ;
|
SubDir HAIKU_TOP src add-ons kernel drivers disk virtual ;
|
||||||
|
|
||||||
#SubInclude HAIKU_TOP src add-ons kernel drivers disk virtual fmap ;
|
|
||||||
SubInclude HAIKU_TOP src add-ons kernel drivers disk virtual nbd ;
|
SubInclude HAIKU_TOP src add-ons kernel drivers disk virtual nbd ;
|
||||||
SubInclude HAIKU_TOP src add-ons kernel drivers disk virtual ram_disk ;
|
SubInclude HAIKU_TOP src add-ons kernel drivers disk virtual ram_disk ;
|
||||||
SubInclude HAIKU_TOP src add-ons kernel drivers disk virtual remote_disk ;
|
SubInclude HAIKU_TOP src add-ons kernel drivers disk virtual remote_disk ;
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
SubDir HAIKU_TOP src add-ons kernel drivers disk virtual fmap ;
|
|
||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
|
||||||
|
|
||||||
if $(TARGET_PLATFORM) != haiku {
|
|
||||||
# Needed for <ACPI.h>. Unfortunately we also get the other headers there,
|
|
||||||
# that we don't really want.
|
|
||||||
UsePublicHeaders drivers ;
|
|
||||||
}
|
|
||||||
|
|
||||||
KernelAddon fmap : kernel drivers bin :
|
|
||||||
fmap.c
|
|
||||||
;
|
|
|
@ -1,62 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2006, François Revol. All rights reserved.
|
|
||||||
* Distributed under the terms of the MIT License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
fmap driver for Haiku
|
|
||||||
|
|
||||||
Maps BEOS/IMAGE.BE files as virtual partitions.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <KernelExport.h>
|
|
||||||
#include <Drivers.h>
|
|
||||||
#include <Errors.h>
|
|
||||||
|
|
||||||
#define MAX_FMAPS 4
|
|
||||||
#define DEVNAME_FMT "disk/virtual/fmap/%2d"
|
|
||||||
|
|
||||||
int32 api_version = B_CUR_DRIVER_API_VERSION;
|
|
||||||
|
|
||||||
status_t
|
|
||||||
init_hardware (void)
|
|
||||||
{
|
|
||||||
return B_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
status_t
|
|
||||||
init_driver (void)
|
|
||||||
{
|
|
||||||
return B_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
uninit_driver (void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static const char *fmap_name[MAX_FMAPS+1] = {
|
|
||||||
NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
device_hooks fmap_hooks = {
|
|
||||||
NULL, /* open */
|
|
||||||
NULL, /* close */
|
|
||||||
NULL, /* free */
|
|
||||||
NULL, /* control */
|
|
||||||
NULL, /* read */
|
|
||||||
NULL, /* write */
|
|
||||||
NULL, NULL, NULL, NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
const char**
|
|
||||||
publish_devices()
|
|
||||||
{
|
|
||||||
return fmap_name;
|
|
||||||
}
|
|
||||||
|
|
||||||
device_hooks*
|
|
||||||
find_device(const char* name)
|
|
||||||
{
|
|
||||||
return &fmap_hooks;
|
|
||||||
}
|
|
Loading…
Reference in New Issue