# drivers/p2pf/Kconfig
# $Id: Kconfig 41009 2014-12-10 01:37:18Z HORI TAKESHI $

menu "Panasonic P2PF Proprientary Modules"

config P2PF
	bool "P2PF platform"
	default y
	help
	  Select this option if you don't have magic firmware for drivers that
	  need it.

	  If unsure, say Y.

if P2PF

source "drivers/p2pf/buffer/Kconfig"

#-------------------------------------------------------------------------------


#
# SCSI extention for p2pf
#
menuconfig P2PF_SCSI
    bool "SCSI extention for p2pf"
	depends on SCSI
    default n

if P2PF_SCSI

# Extendig maximum number of the SCSI disk partition
config	P2PF_SCSI_DISK_PAT_EX
	bool "Extend maximum number of the disk partition (16-->32)"
	default n
	help
		This option extending maximum number of the SCSI disk partition
		to 32 from 16.

# Enabling 16bytes CDB with SG_IO
config  P2PF_SGIO_CDB16
	bool "Enabling 16bytes CDB with SG_IO"
	default n
	help
		This option enabling 16bytes CDB with SG_IO.

# Supporting SCSI Disk (USB/SATA)  hot-plug detection, disk maintenance
# functionalities, and data transfer beteen buffer and device.
# Modified 2008-sep-24:
config	P2PF_SCSI_DISK_FUNC
	bool "Functionality extentions for P2PF (SCSI Disk driver)"
	default n
	help
		Select this option enabling SCSI Disk (USB/SATA) hot-plug insertion
		and removal detection and other functionalities for user space
		applications.

		If unsure, say "N".

## We support two method of detecting a disk hotplug
##  *Use SCSI disk driver extention
##  *Use "sysfs" extention
#choice
#	bool "Select method of detecting hot-plug"
#	depends on P2PF_SCSI_DISK_FUNC
#	default P2PF_HOTPLUG_METH_SD
#	help
#		We support two method of detecting a disk hotplug, then
#		select one of two.
#
#config	P2PF_HOTPLUG_METH_SD
#	boolean "Use SCSI driver extention (default)"
#	help
#		No help available.
#
#config	P2PF_HOTPLUG_METH_SYSFS
#	boolean "Use sysfs extention (EXPERIMENTAL)"
#	help
#		No help available.
#
#endchoice

# detecting SCSI block device error
config P2PF_SCSI_DISK_BLK_ERROR
    bool "Enable detecting SCSI block device error"
    default n
    depends on P2PF_SCSI_DISK_FUNC
    help
	  Select this option if you would like to detect SCSI block device error.

	  If unsure, say Y.
        
# /proc file to debug SCSI DISK
config P2PF_SCSI_DISK_PROC_FS
    bool "Enable /proc file to debug SCSI DISK"
    default n
    depends on PROC_FS && P2PF_SCSI_DISK_FUNC
    help
	  Select this option if you need proc filesystem for scsi disk.

	  If unsure, say Y.


## 2013/12/16, added by Panasonic --->

# /proc file to debug SCSI DISK for USB-SDCARD device
config P2PF_SCSI_DISK_PROC_FS_USBSDC
    bool "Enable /proc file to debug SCSI DISK for USB-SDCARD device"
    default n
    depends on P2PF_SCSI_DISK_PROC_FS
    help
	  Select this option if you need proc filesystem for USB-SDCARD device.

if P2PF_SCSI_DISK_PROC_FS_USBSDC

config P2PF_SCSI_DISK_PROC_FS_USBSDC_VID
    hex "*** Vender ID of USB-SDCARD device"
    default 0x0000

config P2PF_SCSI_DISK_PROC_FS_USBSDC_PID
    hex "*** Product ID of USB-SDCARD device"
    default 0x0000

config P2PF_SCSI_DISK_PROC_FS_USBSDC_BUSNO
    int "*** Bus Number of USB-SDCARD device"
    default 0

config P2PF_SCSI_DISK_PROC_FS_USBSDC_LEVEL
    int "*** Level of USB-SDCARD device"
    default 0

config P2PF_SCSI_DISK_PROC_FS_USBSDC_PORT
    int "*** Port Number of USB-SDCARD device"
    default 0

endif # P2PF_SCSI_DISK_PROC_FS_USBSDC

## <--- 2013/12/16, added by Panasonic


# ## 2010/6/3, Added by Panasonic ==>
#
# # USB port test
# config P2PF_SCSI_DISK_USB_PORT_TEST
#    bool "Enable USB port test"
#    default n
#    depends on P2PF_SCSI_DISK_FUNC
#    help
#      This option enables USB port test function.
#
#	  If unsure, say Y.
#
# ## <== 2010/6/3, Added by Panasonic

endif # P2PF_SCSI

#-------------------------------------------------------------------------------

endif # P2PF

endmenu


