You can subscribe to this list here.
| 2001 |
Jan
|
Feb
(4) |
Mar
(47) |
Apr
(27) |
May
(113) |
Jun
|
Jul
|
Aug
(1) |
Sep
(15) |
Oct
(25) |
Nov
|
Dec
(34) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(17) |
Feb
(5) |
Mar
(5) |
Apr
(2) |
May
(16) |
Jun
|
Jul
|
Aug
(15) |
Sep
(28) |
Oct
(78) |
Nov
(39) |
Dec
|
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 12:27:29
|
Update of /cvsroot/linuxdc/linux-sh-dc
In directory usw-pr-cvs1:/tmp/cvs-serv30413
Modified Files:
Tag: linux-sh-dc-2_4-branch
ChangeLog.dc
Log Message:
Dreamcast internal flash support (read tested only)
Index: ChangeLog.dc
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/ChangeLog.dc,v
retrieving revision 1.56.2.12
retrieving revision 1.56.2.13
diff -u -d -r1.56.2.12 -r1.56.2.13
--- ChangeLog.dc 3 Nov 2002 08:02:33 -0000 1.56.2.12
+++ ChangeLog.dc 3 Nov 2002 12:27:26 -0000 1.56.2.13
@@ -1,3 +1,14 @@
+2002-11-03 M. R. Brown <mr...@li...>
+
+ Dreamcast internal flash support (read tested only).
+
+ * drivers/mtd/chips/jedec_probe.c: New file, imported from stock
+ 2.4.20-pre11. Add device and chip type for the Fujitsu MBM29LV002TC.
+
+ * drivers/mtd/maps/dreamcast-flash.c: New file.
+ * drivers/mtd/maps/Config.in: Add CONFIG_MTD_DREAMCAST.
+ * drivers/mtd/maps/Makefile: Add target for CONFIG_MTD_DREAMCAST.
+
2002-11-03 Paul Mundt <le...@li...>
* fs/vmufs/super.c (vmufs_read_super): Free up the root inode
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 12:22:35
|
Update of /cvsroot/linuxdc/linux-sh-dc/drivers/mtd/chips In directory usw-pr-cvs1:/tmp/cvs-serv29388/drivers/mtd/chips Log Message: Directory /cvsroot/linuxdc/linux-sh-dc/drivers/mtd/chips added to the repository --> Using per-directory sticky tag `linux-sh-dc-2_4-branch' |
|
From: M. R. B. <mr...@us...> - 2002-11-03 04:34:32
|
Update of /cvsroot/linuxdc/linux-sh-dc
In directory usw-pr-cvs1:/tmp/cvs-serv30195
Modified Files:
Tag: linux-sh-dc-2_4-branch
ChangeLog.dc
Log Message:
Fix struct declarations
Index: ChangeLog.dc
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/ChangeLog.dc,v
retrieving revision 1.56.2.9
retrieving revision 1.56.2.10
diff -u -d -r1.56.2.9 -r1.56.2.10
--- ChangeLog.dc 3 Nov 2002 04:05:36 -0000 1.56.2.9
+++ ChangeLog.dc 3 Nov 2002 04:34:28 -0000 1.56.2.10
@@ -8,6 +8,9 @@
2002-11-02 M. R. Brown <mr...@li...>
+ * fs/vmufs/vmufs.h: Add extern to struct declaration so that they
+ won't be multiply defined.
+
* fs/Config.in, fs/vmufs/Makefile: Fix typos.
* fs/Config.in: Add CONFIG_VMU_FS.
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 04:34:31
|
Update of /cvsroot/linuxdc/linux-sh-dc/fs/vmufs
In directory usw-pr-cvs1:/tmp/cvs-serv30195/fs/vmufs
Modified Files:
Tag: linux-sh-dc-2_4-branch
vmufs.h
Log Message:
Fix struct declarations
Index: vmufs.h
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/fs/vmufs/Attic/vmufs.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- vmufs.h 3 Nov 2002 00:35:51 -0000 1.1.2.1
+++ vmufs.h 3 Nov 2002 04:34:28 -0000 1.1.2.2
@@ -6,10 +6,10 @@
* Copyright Adrian McMenamin, 2002
* ad...@mc... */
-struct inode_operations vmufs_inode_operations;
-struct inode_operations vmufs_file_inode_operations;
-struct file_operations vmufs_file_dir_operations;
-struct file_operations vmufs_file_operations;
+extern struct inode_operations vmufs_inode_operations;
+extern struct inode_operations vmufs_file_inode_operations;
+extern struct file_operations vmufs_file_dir_operations;
+extern struct file_operations vmufs_file_operations;
/* Memory card details */
typedef struct memcard_s {
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 04:09:38
|
Update of /cvsroot/linuxdc/linux-sh-dc/fs/vmufs
In directory usw-pr-cvs1:/tmp/cvs-serv24963/fs/vmufs
Modified Files:
Tag: linux-sh-dc-2_4-branch
Makefile
Log Message:
Lay off the cherry-flavored crack...
Index: Makefile
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/fs/vmufs/Attic/Makefile,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- Makefile 3 Nov 2002 04:05:36 -0000 1.1.2.2
+++ Makefile 3 Nov 2002 04:09:36 -0000 1.1.2.3
@@ -3,7 +3,7 @@
#
O_TARGET := vmufs.o
-obj-y := vmufs_inode.c vmufs_sblock.c
+obj-y := vmufs_inode.o vmufs_sblock.o
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 04:05:39
|
Update of /cvsroot/linuxdc/linux-sh-dc/fs
In directory usw-pr-cvs1:/tmp/cvs-serv24322/fs
Modified Files:
Tag: linux-sh-dc-2_4-branch
Config.in
Log Message:
Fix typos
Index: Config.in
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/fs/Attic/Config.in,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- Config.in 3 Nov 2002 03:58:55 -0000 1.1.2.2
+++ Config.in 3 Nov 2002 04:05:36 -0000 1.1.2.3
@@ -93,7 +93,7 @@
tristate 'UFS file system support (read only)' CONFIG_UFS_FS
dep_mbool ' UFS file system write support (DANGEROUS)' CONFIG_UFS_FS_WRITE $CONFIG_UFS_FS $CONFIG_EXPERIMENTAL
-dep_tristate 'SEGA Dreamcast VMU file system support' CONFIG_VMU_FS $CONFIG_EXPERIMENTAL
+dep_tristate 'SEGA Dreamcast VMU file system support (EXPERIMENTAL)' CONFIG_VMU_FS $CONFIG_EXPERIMENTAL
if [ "$CONFIG_NET" = "y" ]; then
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 04:05:39
|
Update of /cvsroot/linuxdc/linux-sh-dc
In directory usw-pr-cvs1:/tmp/cvs-serv24322
Modified Files:
Tag: linux-sh-dc-2_4-branch
ChangeLog.dc
Log Message:
Fix typos
Index: ChangeLog.dc
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/ChangeLog.dc,v
retrieving revision 1.56.2.8
retrieving revision 1.56.2.9
diff -u -d -r1.56.2.8 -r1.56.2.9
--- ChangeLog.dc 3 Nov 2002 03:58:55 -0000 1.56.2.8
+++ ChangeLog.dc 3 Nov 2002 04:05:36 -0000 1.56.2.9
@@ -8,6 +8,8 @@
2002-11-02 M. R. Brown <mr...@li...>
+ * fs/Config.in, fs/vmufs/Makefile: Fix typos.
+
* fs/Config.in: Add CONFIG_VMU_FS.
* fs/Makefile.in: Add target for CONFIG_VMU_FS.
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 04:05:39
|
Update of /cvsroot/linuxdc/linux-sh-dc/fs/vmufs
In directory usw-pr-cvs1:/tmp/cvs-serv24322/fs/vmufs
Modified Files:
Tag: linux-sh-dc-2_4-branch
Makefile
Log Message:
Fix typos
Index: Makefile
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/fs/vmufs/Attic/Makefile,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- Makefile 3 Nov 2002 03:58:55 -0000 1.1.2.1
+++ Makefile 3 Nov 2002 04:05:36 -0000 1.1.2.2
@@ -3,7 +3,7 @@
#
O_TARGET := vmufs.o
-obj-y := vmufs_inode.c vmufs_super.c
+obj-y := vmufs_inode.c vmufs_sblock.c
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 03:58:59
|
Update of /cvsroot/linuxdc/linux-sh-dc/fs/vmufs
In directory usw-pr-cvs1:/tmp/cvs-serv22940/fs/vmufs
Added Files:
Tag: linux-sh-dc-2_4-branch
Makefile
Log Message:
Add glue to allow vmufs to build
--- NEW FILE: Makefile ---
#
# Makefile for the Dreamcast VMU file system.
#
O_TARGET := vmufs.o
obj-y := vmufs_inode.c vmufs_super.c
obj-m := $(O_TARGET)
include $(TOPDIR)/Rules.make
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 03:58:59
|
Update of /cvsroot/linuxdc/linux-sh-dc/fs
In directory usw-pr-cvs1:/tmp/cvs-serv22940/fs
Modified Files:
Tag: linux-sh-dc-2_4-branch
Config.in Makefile
Log Message:
Add glue to allow vmufs to build
Index: Config.in
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/fs/Attic/Config.in,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- Config.in 3 Nov 2002 03:52:38 -0000 1.1.2.1
+++ Config.in 3 Nov 2002 03:58:55 -0000 1.1.2.2
@@ -93,6 +93,8 @@
tristate 'UFS file system support (read only)' CONFIG_UFS_FS
dep_mbool ' UFS file system write support (DANGEROUS)' CONFIG_UFS_FS_WRITE $CONFIG_UFS_FS $CONFIG_EXPERIMENTAL
+dep_tristate 'SEGA Dreamcast VMU file system support' CONFIG_VMU_FS $CONFIG_EXPERIMENTAL
+
if [ "$CONFIG_NET" = "y" ]; then
mainmenu_option next_comment
Index: Makefile
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/fs/Attic/Makefile,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- Makefile 3 Nov 2002 03:52:38 -0000 1.1.2.1
+++ Makefile 3 Nov 2002 03:58:55 -0000 1.1.2.2
@@ -68,6 +68,7 @@
subdir-$(CONFIG_SUN_OPENPROMFS) += openpromfs
subdir-$(CONFIG_BEFS_FS) += befs
subdir-$(CONFIG_JFS_FS) += jfs
+subdir-$(CONFIG_VMU_FS) += vmufs
obj-$(CONFIG_BINFMT_AOUT) += binfmt_aout.o
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 03:58:59
|
Update of /cvsroot/linuxdc/linux-sh-dc
In directory usw-pr-cvs1:/tmp/cvs-serv22940
Modified Files:
Tag: linux-sh-dc-2_4-branch
ChangeLog.dc
Log Message:
Add glue to allow vmufs to build
Index: ChangeLog.dc
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/ChangeLog.dc,v
retrieving revision 1.56.2.7
retrieving revision 1.56.2.8
diff -u -d -r1.56.2.7 -r1.56.2.8
--- ChangeLog.dc 3 Nov 2002 03:52:38 -0000 1.56.2.7
+++ ChangeLog.dc 3 Nov 2002 03:58:55 -0000 1.56.2.8
@@ -8,6 +8,11 @@
2002-11-02 M. R. Brown <mr...@li...>
+ * fs/Config.in: Add CONFIG_VMU_FS.
+ * fs/Makefile.in: Add target for CONFIG_VMU_FS.
+
+ * fs/vmufs/Makefile: New file.
+
* fs/Config.in, fs/Makefile: Add files from Linux 2.4.20-pre11.
2002-11-01 M. R. Brown <mr...@li...>
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 03:52:41
|
Update of /cvsroot/linuxdc/linux-sh-dc
In directory usw-pr-cvs1:/tmp/cvs-serv21759
Modified Files:
Tag: linux-sh-dc-2_4-branch
ChangeLog.dc
Log Message:
Import fs/Config.in and fs/Makefile
Index: ChangeLog.dc
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/ChangeLog.dc,v
retrieving revision 1.56.2.6
retrieving revision 1.56.2.7
diff -u -d -r1.56.2.6 -r1.56.2.7
--- ChangeLog.dc 3 Nov 2002 00:35:51 -0000 1.56.2.6
+++ ChangeLog.dc 3 Nov 2002 03:52:38 -0000 1.56.2.7
@@ -6,6 +6,9 @@
* fs/vmufs/vmufs_sblock.c: New file
* fs/vmufs: Directory added
+2002-11-02 M. R. Brown <mr...@li...>
+
+ * fs/Config.in, fs/Makefile: Add files from Linux 2.4.20-pre11.
2002-11-01 M. R. Brown <mr...@li...>
@@ -13,7 +16,6 @@
* drivers/maple/maple.c (maple_dma_irq): Make sure
maple_detect_callback() is called if the previous command was
MAPLE_COMMAND_DEVINFO.
-
2002-10-26 M. R. Brown <mr...@li...>
|
|
From: M. R. B. <mr...@us...> - 2002-11-03 03:52:41
|
Update of /cvsroot/linuxdc/linux-sh-dc/fs
In directory usw-pr-cvs1:/tmp/cvs-serv21759/fs
Added Files:
Tag: linux-sh-dc-2_4-branch
Config.in Makefile
Log Message:
Import fs/Config.in and fs/Makefile
--- NEW FILE: Config.in ---
#
# File system configuration
#
mainmenu_option next_comment
comment 'File systems'
bool 'Quota support' CONFIG_QUOTA
tristate 'Kernel automounter support' CONFIG_AUTOFS_FS
tristate 'Kernel automounter version 4 support (also supports v3)' CONFIG_AUTOFS4_FS
tristate 'Reiserfs support' CONFIG_REISERFS_FS
dep_mbool ' Enable reiserfs debug mode' CONFIG_REISERFS_CHECK $CONFIG_REISERFS_FS
dep_mbool ' Stats in /proc/fs/reiserfs' CONFIG_REISERFS_PROC_INFO $CONFIG_REISERFS_FS
dep_tristate 'ADFS file system support (EXPERIMENTAL)' CONFIG_ADFS_FS $CONFIG_EXPERIMENTAL
dep_mbool ' ADFS write support (DANGEROUS)' CONFIG_ADFS_FS_RW $CONFIG_ADFS_FS $CONFIG_EXPERIMENTAL
dep_tristate 'Amiga FFS file system support (EXPERIMENTAL)' CONFIG_AFFS_FS $CONFIG_EXPERIMENTAL
dep_tristate 'Apple Macintosh file system support (EXPERIMENTAL)' CONFIG_HFS_FS $CONFIG_EXPERIMENTAL
dep_tristate 'BeOS file systemv(BeFS) support (read only) (EXPERIMENTAL)' CONFIG_BEFS_FS $CONFIG_EXPERIMENTAL
dep_mbool ' Debug Befs' CONFIG_BEFS_DEBUG $CONFIG_BEFS_FS
dep_tristate 'BFS file system support (EXPERIMENTAL)' CONFIG_BFS_FS $CONFIG_EXPERIMENTAL
tristate 'Ext3 journalling file system support' CONFIG_EXT3_FS
# CONFIG_JBD could be its own option (even modular), but until there are
# other users than ext3, we will simply make it be the same as CONFIG_EXT3_FS
# dep_tristate ' Journal Block Device support (JBD for ext3)' CONFIG_JBD $CONFIG_EXT3_FS
define_bool CONFIG_JBD $CONFIG_EXT3_FS
dep_mbool ' JBD (ext3) debugging support' CONFIG_JBD_DEBUG $CONFIG_JBD
# msdos file systems
tristate 'DOS FAT fs support' CONFIG_FAT_FS
dep_tristate ' MSDOS fs support' CONFIG_MSDOS_FS $CONFIG_FAT_FS
dep_tristate ' UMSDOS: Unix-like file system on top of standard MSDOS fs' CONFIG_UMSDOS_FS $CONFIG_MSDOS_FS
dep_tristate ' VFAT (Windows-95) fs support' CONFIG_VFAT_FS $CONFIG_FAT_FS
dep_tristate 'EFS file system support (read only) (EXPERIMENTAL)' CONFIG_EFS_FS $CONFIG_EXPERIMENTAL
dep_tristate 'Journalling Flash File System (JFFS) support' CONFIG_JFFS_FS $CONFIG_MTD
if [ "$CONFIG_JFFS_FS" = "y" -o "$CONFIG_JFFS_FS" = "m" ] ; then
int 'JFFS debugging verbosity (0 = quiet, 3 = noisy)' CONFIG_JFFS_FS_VERBOSE 0
bool 'JFFS stats available in /proc filesystem' CONFIG_JFFS_PROC_FS
fi
dep_tristate 'Journalling Flash File System v2 (JFFS2) support' CONFIG_JFFS2_FS $CONFIG_MTD
if [ "$CONFIG_JFFS2_FS" = "y" -o "$CONFIG_JFFS2_FS" = "m" ] ; then
int 'JFFS2 debugging verbosity (0 = quiet, 2 = noisy)' CONFIG_JFFS2_FS_DEBUG 0
fi
tristate 'Compressed ROM file system support' CONFIG_CRAMFS
bool 'Virtual memory file system support (former shm fs)' CONFIG_TMPFS
define_bool CONFIG_RAMFS y
tristate 'ISO 9660 CDROM file system support' CONFIG_ISO9660_FS
dep_mbool ' Microsoft Joliet CDROM extensions' CONFIG_JOLIET $CONFIG_ISO9660_FS
dep_mbool ' Transparent decompression extension' CONFIG_ZISOFS $CONFIG_ISO9660_FS
tristate 'JFS filesystem support' CONFIG_JFS_FS
dep_mbool ' JFS debugging' CONFIG_JFS_DEBUG $CONFIG_JFS_FS
dep_mbool ' JFS statistics' CONFIG_JFS_STATISTICS $CONFIG_JFS_FS
tristate 'Minix fs support' CONFIG_MINIX_FS
tristate 'FreeVxFS file system support (VERITAS VxFS(TM) compatible)' CONFIG_VXFS_FS
tristate 'NTFS file system support (read only)' CONFIG_NTFS_FS
dep_mbool ' NTFS write support (DANGEROUS)' CONFIG_NTFS_RW $CONFIG_NTFS_FS $CONFIG_EXPERIMENTAL
tristate 'OS/2 HPFS file system support' CONFIG_HPFS_FS
bool '/proc file system support' CONFIG_PROC_FS
dep_bool '/dev file system support (EXPERIMENTAL)' CONFIG_DEVFS_FS $CONFIG_EXPERIMENTAL
dep_bool ' Automatically mount at boot' CONFIG_DEVFS_MOUNT $CONFIG_DEVFS_FS
dep_bool ' Debug devfs' CONFIG_DEVFS_DEBUG $CONFIG_DEVFS_FS
# It compiles as a module for testing only. It should not be used
# as a module in general. If we make this "tristate", a bunch of people
# who don't know what they are doing turn it on and complain when it
# breaks.
dep_bool '/dev/pts file system for Unix98 PTYs' CONFIG_DEVPTS_FS $CONFIG_UNIX98_PTYS
tristate 'QNX4 file system support (read only)' CONFIG_QNX4FS_FS
dep_mbool ' QNX4FS write support (DANGEROUS)' CONFIG_QNX4FS_RW $CONFIG_QNX4FS_FS $CONFIG_EXPERIMENTAL
tristate 'ROM file system support' CONFIG_ROMFS_FS
tristate 'Second extended fs support' CONFIG_EXT2_FS
tristate 'System V/Xenix/V7/Coherent file system support' CONFIG_SYSV_FS
tristate 'UDF file system support (read only)' CONFIG_UDF_FS
dep_mbool ' UDF write support (DANGEROUS)' CONFIG_UDF_RW $CONFIG_UDF_FS $CONFIG_EXPERIMENTAL
tristate 'UFS file system support (read only)' CONFIG_UFS_FS
dep_mbool ' UFS file system write support (DANGEROUS)' CONFIG_UFS_FS_WRITE $CONFIG_UFS_FS $CONFIG_EXPERIMENTAL
if [ "$CONFIG_NET" = "y" ]; then
mainmenu_option next_comment
comment 'Network File Systems'
dep_tristate 'Coda file system support (advanced network fs)' CONFIG_CODA_FS $CONFIG_INET
dep_tristate 'InterMezzo file system support (replicating fs) (EXPERIMENTAL)' CONFIG_INTERMEZZO_FS $CONFIG_INET $CONFIG_EXPERIMENTAL
dep_tristate 'NFS file system support' CONFIG_NFS_FS $CONFIG_INET
dep_mbool ' Provide NFSv3 client support' CONFIG_NFS_V3 $CONFIG_NFS_FS
dep_bool ' Root file system on NFS' CONFIG_ROOT_NFS $CONFIG_NFS_FS $CONFIG_IP_PNP
dep_tristate 'NFS server support' CONFIG_NFSD $CONFIG_INET
dep_mbool ' Provide NFSv3 server support' CONFIG_NFSD_V3 $CONFIG_NFSD
dep_mbool ' Provide NFS server over TCP support (EXPERIMENTAL)' CONFIG_NFSD_TCP $CONFIG_NFSD $CONFIG_EXPERIMENTAL
if [ "$CONFIG_NFS_FS" = "y" -o "$CONFIG_NFSD" = "y" ]; then
define_tristate CONFIG_SUNRPC y
define_tristate CONFIG_LOCKD y
else
if [ "$CONFIG_NFS_FS" = "m" -o "$CONFIG_NFSD" = "m" ]; then
define_tristate CONFIG_SUNRPC m
define_tristate CONFIG_LOCKD m
else
define_tristate CONFIG_SUNRPC n
define_tristate CONFIG_LOCKD n
fi
fi
if [ "$CONFIG_NFSD_V3" = "y" -o "$CONFIG_NFS_V3" = "y" ]; then
define_bool CONFIG_LOCKD_V4 y
fi
dep_tristate 'SMB file system support (to mount Windows shares etc.)' CONFIG_SMB_FS $CONFIG_INET
if [ "$CONFIG_SMB_FS" != "n" ]; then
bool ' Use a default NLS' CONFIG_SMB_NLS_DEFAULT
if [ "$CONFIG_SMB_NLS_DEFAULT" = "y" ]; then
string ' Default Remote NLS Option' CONFIG_SMB_NLS_REMOTE "cp437"
fi
fi
if [ "$CONFIG_IPX" != "n" -o "$CONFIG_INET" != "n" ]; then
tristate 'NCP file system support (to mount NetWare volumes)' CONFIG_NCP_FS
source fs/ncpfs/Config.in
else
# for fs/nls/Config.in
define_bool CONFIG_NCPFS_NLS n
fi
endmenu
else
# for fs/nls/Config.in
define_bool CONFIG_NCPFS_NLS n
define_bool CONFIG_SMB_FS n
fi
#
# Do we need the compression support?
#
if [ "$CONFIG_ZISOFS" = "y" ]; then
define_tristate CONFIG_ZISOFS_FS $CONFIG_ISO9660_FS
else
define_tristate CONFIG_ZISOFS_FS n
fi
mainmenu_option next_comment
comment 'Partition Types'
source fs/partitions/Config.in
endmenu
source fs/nls/Config.in
endmenu
--- NEW FILE: Makefile ---
#
# Makefile for the Linux filesystems.
#
# 14 Sep 2000, Christoph Hellwig <hc...@in...>
# Rewritten to use lists instead of if-statements.
#
O_TARGET := fs.o
export-objs := filesystems.o open.o dcache.o buffer.o
mod-subdirs := nls
obj-y := open.o read_write.o devices.o file_table.o buffer.o \
super.o block_dev.o char_dev.o stat.o exec.o pipe.o namei.o \
fcntl.o ioctl.o readdir.o select.o fifo.o locks.o \
dcache.o inode.o attr.o bad_inode.o file.o iobuf.o dnotify.o \
filesystems.o namespace.o seq_file.o xattr.o
ifeq ($(CONFIG_QUOTA),y)
obj-y += dquot.o
else
obj-y += noquot.o
endif
subdir-$(CONFIG_PROC_FS) += proc
subdir-y += partitions
# Do not add any filesystems before this line
subdir-$(CONFIG_EXT3_FS) += ext3 # Before ext2 so root fs can be ext3
subdir-$(CONFIG_JBD) += jbd
subdir-$(CONFIG_EXT2_FS) += ext2
subdir-$(CONFIG_CRAMFS) += cramfs
subdir-$(CONFIG_RAMFS) += ramfs
subdir-$(CONFIG_CODA_FS) += coda
subdir-$(CONFIG_INTERMEZZO_FS) += intermezzo
subdir-$(CONFIG_MINIX_FS) += minix
subdir-$(CONFIG_FAT_FS) += fat
subdir-$(CONFIG_UMSDOS_FS) += umsdos
subdir-$(CONFIG_MSDOS_FS) += msdos
subdir-$(CONFIG_VFAT_FS) += vfat
subdir-$(CONFIG_BFS_FS) += bfs
subdir-$(CONFIG_ISO9660_FS) += isofs
subdir-$(CONFIG_DEVFS_FS) += devfs
subdir-$(CONFIG_HFS_FS) += hfs
subdir-$(CONFIG_VXFS_FS) += freevxfs
subdir-$(CONFIG_NFS_FS) += nfs
subdir-$(CONFIG_NFSD) += nfsd
subdir-$(CONFIG_LOCKD) += lockd
subdir-$(CONFIG_NLS) += nls
subdir-$(CONFIG_SYSV_FS) += sysv
subdir-$(CONFIG_SMB_FS) += smbfs
subdir-$(CONFIG_NCP_FS) += ncpfs
subdir-$(CONFIG_HPFS_FS) += hpfs
subdir-$(CONFIG_NTFS_FS) += ntfs
subdir-$(CONFIG_UFS_FS) += ufs
subdir-$(CONFIG_EFS_FS) += efs
subdir-$(CONFIG_JFFS_FS) += jffs
subdir-$(CONFIG_JFFS2_FS) += jffs2
subdir-$(CONFIG_AFFS_FS) += affs
subdir-$(CONFIG_ROMFS_FS) += romfs
subdir-$(CONFIG_QNX4FS_FS) += qnx4
subdir-$(CONFIG_UDF_FS) += udf
subdir-$(CONFIG_AUTOFS_FS) += autofs
subdir-$(CONFIG_AUTOFS4_FS) += autofs4
subdir-$(CONFIG_ADFS_FS) += adfs
subdir-$(CONFIG_REISERFS_FS) += reiserfs
subdir-$(CONFIG_DEVPTS_FS) += devpts
subdir-$(CONFIG_SUN_OPENPROMFS) += openpromfs
subdir-$(CONFIG_BEFS_FS) += befs
subdir-$(CONFIG_JFS_FS) += jfs
obj-$(CONFIG_BINFMT_AOUT) += binfmt_aout.o
obj-$(CONFIG_BINFMT_EM86) += binfmt_em86.o
obj-$(CONFIG_BINFMT_MISC) += binfmt_misc.o
# binfmt_script is always there
obj-y += binfmt_script.o
obj-$(CONFIG_BINFMT_ELF) += binfmt_elf.o
# persistent filesystems
obj-y += $(join $(subdir-y),$(subdir-y:%=/%.o))
include $(TOPDIR)/Rules.make
|
|
From: Adrian M. <zx8...@us...> - 2002-11-03 00:35:55
|
Update of /cvsroot/linuxdc/linux-sh-dc/fs/vmufs
In directory usw-pr-cvs1:/tmp/cvs-serv32754/fs/vmufs
Added Files:
Tag: linux-sh-dc-2_4-branch
vmufs.h vmufs_inode.c vmufs_sblock.c
Log Message:
VMU File System support
--- NEW FILE: vmufs.h ---
/******************************
* VMU File System Headers *
*****************************/
/* Licenced under the GPL v2
* Copyright Adrian McMenamin, 2002
* ad...@mc... */
struct inode_operations vmufs_inode_operations;
struct inode_operations vmufs_file_inode_operations;
struct file_operations vmufs_file_dir_operations;
struct file_operations vmufs_file_operations;
/* Memory card details */
typedef struct memcard_s {
long partitions;
long blocklen;
long writecnt;
long readcnt;
long removable;
long numblocks;
struct mtd_info *mtd;
} memcard_t;
struct vmufs_file_info {
struct vmufs_file_info *prev;
struct vmufs_file_info *next;
__u8 ftype;
__u8 copy_pro;
__u16 fblk;
char fname[12];
int date[8];
__u16 blk_cnt;
__u16 hd_off;
};
int int_from_bcd(__u8 bcd);
#ifndef MTD_BLOCK_MAJOR
#define MTD_BLOCK_MAJOR 31
#endif
#define ROOT_BLOCK 255
--- NEW FILE: vmufs_inode.c ---
#include <linux/module.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/locks.h>
#include <linux/blkdev.h>
#include <linux/mtd/mtd.h>
#include "vmufs.h"
struct dentry *vmufs_inode_lookup(struct inode *in, struct dentry *dent)
{
struct super_block *sb = in->i_sb;
struct buffer_head *bh;
bh = bread(sb->s_dev, 253, 512);
struct vmufs_file_info *first_one = NULL;
struct vmufs_file_info *last_one = NULL;
int i, fno = 0;
do {
struct vmufs_file_info *saved_file =
kmalloc(sizeof(struct vmufs_file_info), GFP_KERNEL);
saved_file->prev = last_one;
saved_file->ftype = ((__u8 *) bh->b_data)[0 + fno * 0x20];
if (saved_file->ftype == 0) {
/* no file */
if (last_one)
last_one->next = NULL;
kfree(saved_file);
break;
}
if (first_one == NULL)
first_one = saved_file;
if (last_one)
last_one->next = saved_file;
last_one = saved_file;
saved_file->copy_pro =
((__u8 *) bh->b_data)[1 + fno * 0x20];
saved_file->fblk = ((__u16 *) bh->b_data)[1 + fno * 0x10];
memcpy(saved_file->fname, bh->b_data + 4 + fno * 0x20, 12);
for (i = 0; i < 8; i++) {
saved_file->date[i] =
int_from_bcd(((__u8 *) bh->b_data)[i + 16 +
fno *
0x20]);
}
fno++;
} while (1);
brelse(bh);
/*Got the list - does one match? */
int error;
struct inode *ino;
do {
if (first_one == NULL) {
error = -ENOENT;
return ERR_PTR(error);
}
if (memcmp(dent->d_name.name, first_one->fname, 12) != 0) {
if (first_one->next) {
first_one = first_one->next;
kfree(first_one->prev);
} else {
kfree(first_one);
error = -ENOENT;
return ERR_PTR(error);
}
} else {
ino = iget(sb, le16_to_cpu(first_one->fblk));
break;
}
} while (1);
d_add(dent, ino);
do {
if (first_one->next) {
first_one = first_one->next;
kfree(first_one->prev);
} else {
kfree(first_one);
first_one = NULL;
}
} while (first_one);
return NULL;
}
struct inode_operations vmufs_inode_operations = {
/* int (*create) (struct inode *,struct dentry *,int);
struct dentry * (*lookup) (struct inode *,struct dentry *);
int (*link) (struct dentry *,struct inode *,struct dentry *);
int (*unlink) (struct inode *,struct dentry *);
int (*symlink) (struct inode *,struct dentry *,const char *);
int (*mkdir) (struct inode *,struct dentry *,int);
int (*rmdir) (struct inode *,struct dentry *);
int (*mknod) (struct inode *,struct dentry *,int,int);
int (*rename) (struct inode *, struct dentry *,
struct inode *, struct dentry *);
int (*readlink) (struct dentry *, char *,int);
int (*follow_link) (struct dentry *, struct nameidata *);
void (*truncate) (struct inode *);
int (*permission) (struct inode *, int);
int (*revalidate) (struct dentry *);
int (*setattr) (struct dentry *, struct iattr *);
int (*getattr) (struct dentry *, struct iattr *);
*/
lookup:vmufs_inode_lookup,
};
int vmufs_readdir(struct file *filp, void *dirent, filldir_t filldir)
{
/* readdir is given: */
/* VFS inode */
/* VFS file */
/* VFS dirent */
/* readdir must: */
/* wander through the directory */
/* find next after VFS file's position */
/* call dcache_add */
/* call filldir with dirent with as many dir entries as we like?? */
/* read in the contents of the directory - there is only one */
int i;
i = filp->f_pos;
struct inode *inode = filp->f_dentry->d_inode;
struct super_block *sb = inode->i_sb;
struct buffer_head *bh;
bh = bread(sb->s_dev, 253, 512);
/* Special cases first */
if (i == 0) {
if (filldir(dirent, ".", 1, i, inode->i_ino, DT_DIR) < 0)
goto finish;
i++;
filp->f_pos++;
}
if (i == 1) {
if (filldir(dirent, "..", 2, 2, inode->i_ino, DT_DIR) < 0)
goto finish;
i++;
filp->f_pos++;
}
/* wander through the Directory and find files */
if (i > 200) {
brelse(bh);
return -1; /* Cannot be more than 200 */
}
struct vmufs_file_info *saved_file =
kmalloc(sizeof(struct vmufs_file_info), GFP_KERNEL);
do {
saved_file->ftype =
((__u8 *) bh->b_data)[0 + (i - 2) * 0x20];
if (saved_file->ftype == 0) {
goto finish;
}
saved_file->fblk =
le16_to_cpu(((__u16 *) bh->b_data)[1 + (i - 2) * 0x10]);
memcpy(saved_file->fname, bh->b_data + 4 + (i - 2) * 0x20,
12);
if (filldir
(dirent, saved_file->fname, 12, i, saved_file->fblk,
DT_REG) < 0) {
goto finish;
}
i++;
filp->f_pos++;
} while (1);
finish:
i++;
filp->f_pos++;
kfree(saved_file);
brelse(bh);
return 0;
}
struct file_operations vmufs_file_dir_operations = {
/*
struct module *owner;
loff_t (*llseek) (struct file *, loff_t, int);
ssize_t (*read) (struct file *, char *, size_t, loff_t *);
ssize_t (*write) (struct file *, const char *, size_t, loff_t *);
int (*readdir) (struct file *, void *, filldir_t);
unsigned int (*poll) (struct file *, struct poll_table_struct *);
int (*ioctl) (struct inode *, struct file *, unsigned int, unsigned long);
int (*mmap) (struct file *, struct vm_area_struct *);
int (*open) (struct inode *, struct file *);
int (*flush) (struct file *);
int (*release) (struct inode *, struct file *);
int (*fsync) (struct file *, struct dentry *, int datasync);
int (*fasync) (int, struct file *, int);
int (*lock) (struct file *, int, struct file_lock *);
ssize_t (*readv) (struct file *, const struct iovec *, unsigned long, loff_t *);
ssize_t (*writev) (struct file *, const struct iovec *, unsigned long, loff_t *);
ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int);
unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long);
*/
owner:THIS_MODULE,
read:generic_read_dir,
readdir:vmufs_readdir,
fsync:file_fsync,
};
ssize_t vmufs_file_read(struct file* file, char* buf, size_t count, loff_t* ppos)
{
char * readbuf = NULL;
struct buffer_head *bh;
unsigned long blcks_to_read, x;
/* Get the inode */
struct inode *in = file->f_dentry->d_inode;
long file_len = in->i_size;
if (*ppos > file_len) return -EINVAL;
/* Read in the file */
unsigned long blksize = in->i_blksize;
unsigned long blkoffset = *ppos >> in->i_sb->s_blocksize_bits;
if (*ppos + count > file_len) count = file_len - *ppos;
blcks_to_read = count >> in->i_sb->s_blocksize_bits;
readbuf = kmalloc(count, GFP_KERNEL);
for (x = 0; x < blcks_to_read; x++)
{
bh = bread(in->i_sb->s_dev, in->i_ino - blkoffset - x, blksize);
memcpy(readbuf + x * blksize, bh->b_data, blksize);
brelse(bh);
}
/* Copy to user space */
copy_to_user(buf, readbuf, count);
kfree(readbuf);
*ppos += count;
return count;
}
struct file_operations vmufs_file_operations = {
read: vmufs_file_read,
};
struct inode_operations vmufs_file_inode_operations = {
};
--- NEW FILE: vmufs_sblock.c ---
/*******************************************
* *
* VMUFS - file system support *
* for Sega Dreamcast visual *
* memory unit flash memory *
* on Linux. *
* http://linuxdc.org *
* http://sourceforge.net/projects/linuxdc *
* *
* This software is copyright, 2002, *
* Adrian McMenamin *
* ad...@mc... *
* *
* This software is licencsed under the *
* terms of the GNU General Public *
* Licence version 2. *
* http://www.fsf.org *
* *
* This software draws on various other *
* bits of fs code - especially BFS and *
* JFFS2. All copyrights acknowledged *
******************************************/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/locks.h>
#include <linux/blkdev.h>
#include <linux/mtd/mtd.h>
#include <linux/maple.h>
#include <linux/time.h>
#include "vmufs.h"
int int_from_bcd(__u8 bcd)
{
int topnib = (bcd >> 4) & 0x000f;
int botnib = bcd & 0x000f;
return (topnib * 10) + botnib;
}
static struct super_block *vmufs_read_super(struct super_block *, void *,
int);
static DECLARE_FSTYPE(vmufs_fs_type, "vmufs", vmufs_read_super,
FS_REQUIRES_DEV | FS_SINGLE);
void vmufs_read_inode(struct inode *in)
{
/* From the HOWTO */
/*read_inode must:
fill in the VFS inode:
i_mode
i_uid
i_gid
i_nlink
i_size
i_mtime
i_atime
i_ctime
i_blocks
i_blksize = PAGE_SIZE
i_version = ++event (scheduler event count)
i_op // depends on filetype!
set rdev (for block & char filetypes)
set any flags
initialize any data */
/*Populate the inode */
struct super_block *sb = in->i_sb;
if (in->i_ino == 255){
in->i_mode |= S_IFDIR;
in->i_atime = CURRENT_TIME;
/*Read in creation time */
struct buffer_head *bh;
bh = sb_bread(sb, 255);
int century = int_from_bcd((bh->b_data)[0x30]);
int year = int_from_bcd((bh->b_data)[0x31]);
int month = int_from_bcd((bh->b_data)[0x32]);
int day = int_from_bcd((bh->b_data)[0x33]);
int hour = int_from_bcd((bh->b_data)[0x34]);
int minute = int_from_bcd((bh->b_data)[0x35]);
int second = int_from_bcd((bh->b_data)[0x36]);
in->i_ctime = in->i_mtime =
mktime(century * 100 + year, month, day, hour, minute, second);
in->i_mode |= S_IRUGO | S_IXUGO; /* This is read only at present */
in->i_uid = in->i_gid = 0;
in->i_op = &vmufs_inode_operations;
in->i_fop = &vmufs_file_dir_operations;
/*Not in FAT table */
in->i_size = 512;
/* Times */
in->i_blocks = 1;
in->i_blksize = 512;
in->i_version = ++event;
brelse(bh);
/* break; */
/* default: */
/* printk("Some other mode\n"); */
/* } */
}
else
{
if (in->i_ino > 199)
{
/* Not here */
return;
}
/* a file, not a directory */
struct buffer_head *bh;
in->i_mode |= S_IFREG;
/* Scan through the directory to find the matching file */
bh = bread(sb->s_dev, 253, 512);
int y;
for (y = 0; y < 200; y++)
{
if (((__u16 *)bh->b_data)[y * 0x10 + 0x01] == in->i_ino) break;
}
if (y >= 200){
brelse(bh);
/* TO DO: error return required */
return;
}
/* identified the correct directory entry */
int century = int_from_bcd((bh->b_data)[0x10 + y * 0x20]);
int year = int_from_bcd((bh->b_data)[0x11 + y * 0x20]);
int month = int_from_bcd((bh->b_data)[0x12 + y * 0x20]);
int day = int_from_bcd((bh->b_data)[0x13 + y * 0x20]);
int hour = int_from_bcd((bh->b_data)[0x14 + y * 0x20]);
int minute = int_from_bcd((bh->b_data)[0x15 + y * 0x20]);
int second = int_from_bcd((bh->b_data)[0x16 + y * 0x20]);
in->i_ctime = in->i_mtime =
mktime(century * 100 + year, month, day, hour, minute, second);
in->i_mode |= S_IRUGO;
/* Mode - is the file copiable? */
if (((__u8 *) bh->b_data)[0x01 + y * 0x20] == 0x00) in->i_mode |= S_IWUGO;
/* Is file executible - ie a game */
if (((__u8 *)bh->b_data)[y * 0x20] == 0xcc) in->i_mode |= S_IXUGO;
in->i_uid = in->i_gid = 0;
in->i_op = &vmufs_file_inode_operations;
in->i_fop = &vmufs_file_operations;
in->i_blocks = le16_to_cpu(((__u16 *)bh->b_data)[y * 0x10 + 0x0C]);
in->i_size = in->i_blocks * 512;
in->i_blksize = 512;
brelse(bh);
}
return;
}
void vmufs_put_super(struct super_block *sb)
{
/*
put_super is given:
VFS sb to umount
put_super must:
lock_super
s_dev = 0
free any structures allocated
mark super buffer dirty?
brelse super buffer
unlock_super
decrement MOD count */
sb->s_dev = 0;
}
static int vmufs_statfs(struct super_block *sb, struct statfs *buf)
{
/* 12 struct statfs {
13 long f_type;
14 long f_bsize;
15 long f_blocks;
16 long f_bfree;
17 long f_bavail;
18 long f_files;
19 long f_ffree;
20 __kernel_fsid_t f_fsid;
21 long f_namelen;
22 long f_spare[6];
23 };
*/
int minor = MINOR(sb->s_dev);
struct mtd_info *mtd = get_mtd_device(NULL, minor);
struct maple_driver_data *d =
(struct maple_driver_data *) (mtd->priv);
memcard_t *memcard = (memcard_t *) (d->private_data);
buf->f_type = 0x55555555;
buf->f_bsize = mtd->erasesize;
buf->f_bfree = memcard->numblocks;
buf->f_bavail = 0;
buf->f_ffree = 0;
buf->f_namelen = 12;
put_mtd_device(mtd);
return 0;
}
static struct super_operations vmufs_super_operations = {
read_inode:vmufs_read_inode,
/* delete_inode: jffs2_delete_inode, */
put_super:vmufs_put_super,
/* write_super: vmufs_write_super, */
statfs:vmufs_statfs,
/* remount_fs: vmufs_remount_fs,
clear_inode: vmufs_clear_inode */
};
static struct super_block *vmufs_read_super(struct super_block *sb,
void *data, int silent)
{
int log_2 = 0;
int erasesize;
struct inode *root_i;
kdev_t dev = sb->s_dev;
/* Read off the details of this device */
if (MAJOR(sb->s_dev) != MTD_BLOCK_MAJOR) {
printk(KERN_ERR
"vmufs: attempt to mount non-MTD device %s\n as vmu filesystem",
kdevname(sb->s_dev));
return NULL;
}
int minor = MINOR(dev);
struct mtd_info *mtd = get_mtd_device(NULL, minor);
/*sb tasks - from draft HOWTO (http://collective.cpoint.net/lfs/notes/howto.txt)
read_super must:
increment MOD count
lock_super
fill in the VFS sb:
s_blocksize
s_blocksize_bits
s_magic
s_dev
s_op
s_mounted // the VFS inode for the root dir
s_dirt
initialize everything it needs for it's data structures
(can use s_generic_sbp in VFS sb)
unlock_super */
sb->s_blocksize = mtd->erasesize;
erasesize = mtd->erasesize;
while ((erasesize /= 2) != 0)
log_2++; /* thanks to MR Brown */
sb->s_blocksize_bits = log_2;
sb->s_magic = 0x55555555; /* Nearest thing vmu has */
sb->s_op = &vmufs_super_operations;
struct maple_driver_data *d =
(struct maple_driver_data *) (mtd->priv);
memcard_t *memcard = (memcard_t *) (d->private_data);
put_mtd_device(mtd);
struct buffer_head *bh;
bh = sb_bread(sb, memcard->numblocks - 1);
/* Check a formatted vmu */
if (!((((__u32 *) bh->b_data)[0] == sb->s_magic)
&& (((__u32 *) bh->b_data)[1] == sb->s_magic)
&& (((__u32 *) bh->b_data)[2] == sb->s_magic)
&& (sb->s_magic == ((__u32 *) bh->b_data)[3]))) {
printk("Attempted to mount non-vmufs filesystem as vmufs\n");
return NULL;
}
brelse(bh);
root_i = iget(sb, memcard->numblocks - 1);
/* Some details for root inode */
/*Where is the inode? */
//__u16 dirloc = le16_to_cpu(((__u16 *)(bh->b_data))[0x25]);
//(sb->s_root)->d_inode = iget(sb, dirloc);
if (is_bad_inode(root_i)) {
printk("VMUFS: get root inode failed\n");
return NULL;
}
/* Find root dentry */
sb->s_root = d_alloc_root(root_i);
return sb;
}
static int __init init_vmufs_fs(void)
{
printk("Virtual Memory Unit file system for SEGA Dreamcast Linux\n");
return register_filesystem(&vmufs_fs_type);
}
static void __exit exit_vmufs_fs(void)
{
unregister_filesystem(&vmufs_fs_type);
}
module_init(init_vmufs_fs)
module_exit(exit_vmufs_fs)
MODULE_DESCRIPTION("Filesystem for Sega Dreamcast VMU");
MODULE_AUTHOR("Adrian McMenamin");
MODULE_LICENSE("GPL");
|
|
From: Adrian M. <zx8...@us...> - 2002-11-03 00:35:54
|
Update of /cvsroot/linuxdc/linux-sh-dc
In directory usw-pr-cvs1:/tmp/cvs-serv32754
Modified Files:
Tag: linux-sh-dc-2_4-branch
ChangeLog.dc
Log Message:
VMU File System support
Index: ChangeLog.dc
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/ChangeLog.dc,v
retrieving revision 1.56.2.5
retrieving revision 1.56.2.6
diff -u -d -r1.56.2.5 -r1.56.2.6
--- ChangeLog.dc 3 Nov 2002 00:28:02 -0000 1.56.2.5
+++ ChangeLog.dc 3 Nov 2002 00:35:51 -0000 1.56.2.6
@@ -1,7 +1,9 @@
2002-11-03 Adrian McMenamin <ad...@mc...>
Initial VMU File System Support added:
-
+ * fs/vmufs/vmufs.h: New file
+ * fs/vmufs/vmufs_inode.c: New file
+ * fs/vmufs/vmufs_sblock.c: New file
* fs/vmufs: Directory added
|
|
From: Adrian M. <zx8...@us...> - 2002-11-03 00:28:04
|
Update of /cvsroot/linuxdc/linux-sh-dc
In directory usw-pr-cvs1:/tmp/cvs-serv30010
Modified Files:
Tag: linux-sh-dc-2_4-branch
ChangeLog.dc
Log Message:
Adding vmu file system support
Index: ChangeLog.dc
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/ChangeLog.dc,v
retrieving revision 1.56.2.4
retrieving revision 1.56.2.5
diff -u -d -r1.56.2.4 -r1.56.2.5
--- ChangeLog.dc 1 Nov 2002 19:24:03 -0000 1.56.2.4
+++ ChangeLog.dc 3 Nov 2002 00:28:02 -0000 1.56.2.5
@@ -1,3 +1,10 @@
+2002-11-03 Adrian McMenamin <ad...@mc...>
+
+ Initial VMU File System Support added:
+
+ * fs/vmufs: Directory added
+
+
2002-11-01 M. R. Brown <mr...@li...>
From Mike Barnett:
|
|
From: Adrian M. <zx8...@us...> - 2002-11-03 00:23:50
|
Update of /cvsroot/linuxdc/linux-sh-dc/fs/vmufs In directory usw-pr-cvs1:/tmp/cvs-serv28389/fs/vmufs Log Message: Directory /cvsroot/linuxdc/linux-sh-dc/fs/vmufs added to the repository --> Using per-directory sticky tag `linux-sh-dc-2_4-branch' |
|
From: M. R. B. <mr...@us...> - 2002-11-01 19:24:09
|
Update of /cvsroot/linuxdc/linux-sh-dc
In directory usw-pr-cvs1:/tmp/cvs-serv2946
Modified Files:
Tag: linux-sh-dc-2_4-branch
ChangeLog.dc
Log Message:
Make sure maple_detect_callback() is called if the previous command was MAPLE_COMMAND_DEVINFO
Index: ChangeLog.dc
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/ChangeLog.dc,v
retrieving revision 1.56.2.3
retrieving revision 1.56.2.4
diff -u -d -r1.56.2.3 -r1.56.2.4
--- ChangeLog.dc 26 Oct 2002 14:18:26 -0000 1.56.2.3
+++ ChangeLog.dc 1 Nov 2002 19:24:03 -0000 1.56.2.4
@@ -1,3 +1,11 @@
+2002-11-01 M. R. Brown <mr...@li...>
+
+ From Mike Barnett:
+ * drivers/maple/maple.c (maple_dma_irq): Make sure
+ maple_detect_callback() is called if the previous command was
+ MAPLE_COMMAND_DEVINFO.
+
+
2002-10-26 M. R. Brown <mr...@li...>
* Documentation/Configure.help, drivers/sound/Config.in: Fix merge
|
|
From: M. R. B. <mr...@us...> - 2002-11-01 19:24:09
|
Update of /cvsroot/linuxdc/linux-sh-dc/drivers/maple
In directory usw-pr-cvs1:/tmp/cvs-serv2946/drivers/maple
Modified Files:
Tag: linux-sh-dc-2_4-branch
maple.c
Log Message:
Make sure maple_detect_callback() is called if the previous command was MAPLE_COMMAND_DEVINFO
Index: maple.c
===================================================================
RCS file: /cvsroot/linuxdc/linux-sh-dc/drivers/maple/maple.c,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -d -r1.7 -r1.7.2.1
--- maple.c 1 May 2002 16:01:26 -0000 1.7
+++ maple.c 1 Nov 2002 19:24:04 -0000 1.7.2.1
@@ -189,8 +189,10 @@
mq->port, mq->unit,
mq->command, mq->recvbuf[0]);
- if(mq->recvbuf[0] == MAPLE_RESPONSE_NONE)
- maple_detect_callback(mq);
+ if(mq->recvbuf[0] == MAPLE_RESPONSE_NONE) {
+ if (mq->command == MAPLE_COMMAND_DEVINFO)
+ maple_detect_callback(mq);
+ }
else if(mq->callback)
mq->callback(mq);
|
|
From: M. R. B. <mr...@us...> - 2002-10-29 21:50:40
|
Update of /cvsroot/linuxdc/linux-sh-dc/arch/sh/boards/dreamcast
In directory usw-pr-cvs1:/tmp/cvs-serv570/arch/sh/boards/dreamcast
Added Files:
Makefile io.c irq.c mach.c pci.c rtc.c setup.c
Log Message:
Linux-SH 2.5.44 switchover (complete)
--- NEW FILE: Makefile ---
#
# Makefile for the Sega Dreamcast specific parts of the kernel
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
obj-y := mach.o setup.o io.o irq.o rtc.o
obj-$(CONFIG_PCI) += pci.o
include $(TOPDIR)/Rules.make
--- NEW FILE: io.c ---
/*
* $Id: io.c,v 1.1 2002/10/29 21:50:36 mrbrown Exp $
* I/O routines for SEGA Dreamcast
*/
#include <asm/io.h>
#include <asm/machvec.h>
unsigned long dreamcast_isa_port2addr(unsigned long offset)
{
return offset + 0xa0000000;
}
--- NEW FILE: irq.c ---
/*
* arch/sh/boards/dreamcast/irq.c
*
* Holly IRQ support for the Sega Dreamcast.
*
* Copyright (c) 2001, 2002 M. R. Brown <mr...@0x...>
*
* This file is part of the LinuxDC project (www.linuxdc.org)
* Released under the terms of the GNU GPL v2.0
*/
#include <linux/irq.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/dreamcast/sysasic.h>
/* Dreamcast System ASIC Hardware Events -
The Dreamcast's System ASIC (a.k.a. Holly) is responsible for receiving
hardware events from system peripherals and triggering an SH7750 IRQ.
Hardware events can trigger IRQs 13, 11, or 9 depending on which bits are
set in the Event Mask Registers (EMRs). When a hardware event is
triggered, it's corresponding bit in the Event Status Registers (ESRs)
is set, and that bit should be rewritten to the ESR to acknowledge that
event.
There are three 32-bit ESRs located at 0xa05f8900 - 0xa05f6908. Event
types can be found in include/asm-sh/dc_sysasic.h. There are three groups
of EMRs that parallel the ESRs. Each EMR group corresponds to an IRQ, so
0xa05f6910 - 0xa05f6918 triggers IRQ 13, 0xa05f6920 - 0xa05f6928 triggers
IRQ 11, and 0xa05f6930 - 0xa05f6938 triggers IRQ 9.
In the kernel, these events are mapped to virtual IRQs so that drivers can
respond to them as they would a normal interrupt. In order to keep this
mapping simple, the events are mapped as:
6900/6910 - Events 0-31, IRQ 13
6904/6924 - Events 32-63, IRQ 11
6908/6938 - Events 64-95, IRQ 9
*/
#define ESR_BASE 0x005f6900 /* Base event status register */
#define EMR_BASE 0x005f6910 /* Base event mask register */
/* Helps us determine the EMR group that this event belongs to: 0 = 0x6910,
1 = 0x6920, 2 = 0x6930; also determine the event offset */
#define LEVEL(event) (((event) - HW_EVENT_IRQ_BASE) / 32)
/* Return the hardware event's bit positon within the EMR/ESR */
#define EVENT_BIT(event) (((event) - HW_EVENT_IRQ_BASE) & 31)
/* For each of these *_irq routines, the IRQ passed in is the virtual IRQ
(logically mapped to the corresponding bit for the hardware event). */
/* Disable the hardware event by masking its bit in its EMR */
static inline void disable_systemasic_irq(unsigned int irq)
{
unsigned long flags;
__u32 emr = EMR_BASE + (LEVEL(irq) << 4) + (LEVEL(irq) << 2);
__u32 mask;
save_and_cli(flags);
mask = inl(emr);
mask &= ~(1 << EVENT_BIT(irq));
outl(mask, emr);
restore_flags(flags);
}
/* Enable the hardware event by setting its bit in its EMR */
static inline void enable_systemasic_irq(unsigned int irq)
{
unsigned long flags;
__u32 emr = EMR_BASE + (LEVEL(irq) << 4) + (LEVEL(irq) << 2);
__u32 mask;
save_and_cli(flags);
mask = inl(emr);
mask |= (1 << EVENT_BIT(irq));
outl(mask, emr);
restore_flags(flags);
}
/* Acknowledge a hardware event by writing its bit back to its ESR */
static void ack_systemasic_irq(unsigned int irq)
{
__u32 esr = ESR_BASE + (LEVEL(irq) << 2);
disable_systemasic_irq(irq);
outl((1 << EVENT_BIT(irq)), esr);
}
/* After a IRQ has been ack'd and responded to, it needs to be renabled */
static void end_systemasic_irq(unsigned int irq)
{
if (!(irq_desc[irq].status & (IRQ_DISABLED|IRQ_INPROGRESS)))
enable_systemasic_irq(irq);
}
static unsigned int startup_systemasic_irq(unsigned int irq)
{
enable_systemasic_irq(irq);
return 0;
}
static void shutdown_systemasic_irq(unsigned int irq)
{
disable_systemasic_irq(irq);
}
struct hw_interrupt_type systemasic_int = {
typename: "System ASIC",
startup: startup_systemasic_irq,
shutdown: shutdown_systemasic_irq,
enable: enable_systemasic_irq,
disable: disable_systemasic_irq,
ack: ack_systemasic_irq,
end: end_systemasic_irq,
};
/*
* Map the hardware event indicated by the processor IRQ to a virtual IRQ.
*/
int systemasic_irq_demux(int irq)
{
__u32 emr, esr, status, level;
__u32 j, bit;
switch (irq) {
case 13:
level = 0;
break;
case 11:
level = 1;
break;
case 9:
level = 2;
break;
default:
return irq;
}
emr = EMR_BASE + (level << 4) + (level << 2);
esr = ESR_BASE + (level << 2);
/* Mask the ESR to filter any spurious, unwanted interrtupts */
status = inl(esr);
status &= inl(emr);
/* Now scan and find the first set bit as the event to map */
for (bit = 1, j = 0; j < 32; bit <<= 1, j++) {
if (status & bit) {
irq = HW_EVENT_IRQ_BASE + j + (level << 5);
return irq;
}
}
/* Not reached */
return irq;
}
--- NEW FILE: mach.c ---
/*
* $Id: mach.c,v 1.1 2002/10/29 21:50:36 mrbrown Exp $
* SEGA Dreamcast machine vector
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/time.h>
#include <asm/machvec.h>
#include <asm/machvec_init.h>
#include <asm/io_generic.h>
#include <asm/dreamcast/io.h>
#include <asm/irq.h>
void __init dreamcast_pcibios_init(void);
/*
* The Machine Vector
*/
struct sh_machine_vector mv_dreamcast __initmv = {
mv_nr_irqs: NR_IRQS,
mv_inb: generic_inb,
mv_inw: generic_inw,
mv_inl: generic_inl,
mv_outb: generic_outb,
mv_outw: generic_outw,
mv_outl: generic_outl,
mv_inb_p: generic_inb_p,
mv_inw_p: generic_inw,
mv_inl_p: generic_inl,
mv_outb_p: generic_outb_p,
mv_outw_p: generic_outw,
mv_outl_p: generic_outl,
mv_insb: generic_insb,
mv_insw: generic_insw,
mv_insl: generic_insl,
mv_outsb: generic_outsb,
mv_outsw: generic_outsw,
mv_outsl: generic_outsl,
mv_readb: generic_readb,
mv_readw: generic_readw,
mv_readl: generic_readl,
mv_writeb: generic_writeb,
mv_writew: generic_writew,
mv_writel: generic_writel,
mv_ioremap: generic_ioremap,
mv_iounmap: generic_iounmap,
mv_isa_port2addr: dreamcast_isa_port2addr,
mv_irq_demux: systemasic_irq_demux,
mv_hw_dreamcast: 1,
};
ALIAS_MV(dreamcast)
--- NEW FILE: pci.c ---
/*
$ $Id: pci.c,v 1.1 2002/10/29 21:50:36 mrbrown Exp $
* Dreamcast PCI: Supports SEGA Broadband Adaptor only.
*/
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/pci.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/dreamcast/sysasic.h>
#define GAPSPCI_REGS 0x01001400
#define GAPSPCI_DMA_BASE 0x01840000
#define GAPSPCI_DMA_SIZE 32768
#define GAPSPCI_BBA_CONFIG 0x01001600
#define GAPSPCI_IRQ HW_EVENT_EXTERNAL
static int gapspci_dma_used;
/* XXX: Uh... */
static struct resource gapspci_io_resource = {
"GAPSPCI IO",
0x01001600,
0x010016ff,
IORESOURCE_IO
};
static struct resource gapspci_mem_resource = {
"GAPSPCI mem",
0x01840000,
0x01847fff,
IORESOURCE_MEM
};
static struct pci_ops gapspci_pci_ops;
struct pci_channel board_pci_channels[] = {
{&gapspci_pci_ops, &gapspci_io_resource, &gapspci_mem_resource, 0, 1},
{NULL, NULL, NULL, 0, 0},
};
struct pci_fixup pcibios_fixups[] = {
{0, 0, 0, NULL}
};
#define BBA_SELECTED(bus,devfn) (bus->number==0 && devfn==0)
static int gapspci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 * val)
{
switch (size) {
case 1:
if (BBA_SELECTED(bus, devfn))
*val = (u8)inb(GAPSPCI_BBA_CONFIG+where);
else
*val = (u8)0xff;
break;
case 2:
if (BBA_SELECTED(bus, devfn))
*val = (u16)inw(GAPSPCI_BBA_CONFIG+where);
else
*val = (u16)0xffff;
break;
case 4:
if (BBA_SELECTED(bus, devfn))
*val = inl(GAPSPCI_BBA_CONFIG+where);
else
*val = 0xffffffff;
break;
}
return PCIBIOS_SUCCESSFUL;
}
static int gapspci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val)
{
if (BBA_SELECTED(bus, devfn)) {
switch (size) {
case 1:
if (BBA_SELECTED(bus, devfn))
outb((u8)val, GAPSPCI_BBA_CONFIG+where);
break;
case 2:
if (BBA_SELECTED(bus, devfn))
outw((u16)val, GAPSPCI_BBA_CONFIG+where);
break;
case 4:
if (BBA_SELECTED(bus, devfn))
outl(val, GAPSPCI_BBA_CONFIG+where);
break;
}
}
return PCIBIOS_SUCCESSFUL;
}
static struct pci_ops gapspci_pci_ops = {
.read = gapspci_read,
.write = gapspci_write,
};
void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size,
dma_addr_t * dma_handle)
{
unsigned long buf;
if (gapspci_dma_used+size > GAPSPCI_DMA_SIZE)
return NULL;
buf = GAPSPCI_DMA_BASE+gapspci_dma_used;
gapspci_dma_used = PAGE_ALIGN(gapspci_dma_used+size);
printk("pci_alloc_consistent: %ld bytes at 0x%lx\n", (long)size, buf);
*dma_handle = (dma_addr_t)buf;
return (void *)P2SEGADDR(buf);
}
void pci_free_consistent(struct pci_dev *hwdev, size_t size,
void *vaddr, dma_addr_t dma_handle)
{
/* XXX */
gapspci_dma_used = 0;
}
void __init pcibios_fixup_pbus_ranges(struct pci_bus *bus, struct pbus_set_ranges_data *ranges)
{
}
void __init pcibios_fixup_bus(struct pci_bus *bus)
{
struct list_head *ln;
struct pci_dev *dev;
for (ln=bus->devices.next; ln != &bus->devices; ln=ln->next) {
dev = pci_dev_b(ln);
if (!BBA_SELECTED(bus, dev->devfn)) continue;
printk("PCI: MMIO fixup to %s\n", dev->name);
dev->resource[1].start=0x01001700;
dev->resource[1].end=0x010017ff;
}
}
static u8 __init no_swizzle(struct pci_dev *dev, u8 * pin)
{
return PCI_SLOT(dev->devfn);
}
static int __init map_dc_irq(struct pci_dev *dev, u8 slot, u8 pin)
{
return GAPSPCI_IRQ;
}
void __init pcibios_fixup(void) { /* Do nothing. */ }
void __init pcibios_fixup_irqs(void)
{
pci_fixup_irqs(no_swizzle, map_dc_irq);
}
int __init gapspci_init(void)
{
int i;
char idbuf[16];
for(i=0; i<16; i++)
idbuf[i]=inb(GAPSPCI_REGS+i);
if(strncmp(idbuf, "GAPSPCI_BRIDGE_2", 16))
return -1;
outl(0x5a14a501, GAPSPCI_REGS+0x18);
for(i=0; i<1000000; i++);
if(inl(GAPSPCI_REGS+0x18)!=1)
return -1;
outl(0x01000000, GAPSPCI_REGS+0x20);
outl(0x01000000, GAPSPCI_REGS+0x24);
outl(GAPSPCI_DMA_BASE, GAPSPCI_REGS+0x28);
outl(GAPSPCI_DMA_BASE+GAPSPCI_DMA_SIZE, GAPSPCI_REGS+0x2c);
outl(1, GAPSPCI_REGS+0x14);
outl(1, GAPSPCI_REGS+0x34);
gapspci_dma_used=0;
/* Setting Broadband Adapter */
outw(0xf900, GAPSPCI_BBA_CONFIG+0x06);
outl(0x00000000, GAPSPCI_BBA_CONFIG+0x30);
outb(0x00, GAPSPCI_BBA_CONFIG+0x3c);
outb(0xf0, GAPSPCI_BBA_CONFIG+0x0d);
outw(0x0006, GAPSPCI_BBA_CONFIG+0x04);
outl(0x00002001, GAPSPCI_BBA_CONFIG+0x10);
outl(0x01000000, GAPSPCI_BBA_CONFIG+0x14);
return 0;
}
/* Haven't done anything here as yet */
char * __devinit pcibios_setup(char *str)
{
return str;
}
--- NEW FILE: rtc.c ---
/* arch/sh/kernel/rtc-aica.c
*
* Dreamcast AICA RTC routines.
*
* Copyright (c) 2001, 2002 M. R. Brown <mr...@0x...>
* Copyright (c) 2002 Paul Mundt <le...@ch...>
*
* Released under the terms of the GNU GPL v2.0.
*
*/
#include <linux/time.h>
#include <asm/io.h>
extern void (*rtc_get_time)(struct timespec *);
extern int (*rtc_set_time)(const time_t);
/* The AICA RTC has an Epoch of 1/1/1950, so we must subtract 20 years (in
seconds to get the standard Unix Epoch when getting the time, and add 20
years when setting the time. */
#define TWENTY_YEARS ((20 * 365LU + 5) * 86400)
/* The AICA RTC is represented by a 32-bit seconds counter stored in 2 16-bit
registers.*/
#define AICA_RTC_SECS_H 0xa0710000
#define AICA_RTC_SECS_L 0xa0710004
/**
* aica_rtc_gettimeofday - Get the time from the AICA RTC
* @tv: pointer to resulting timeval
*
* Grabs the current RTC seconds counter and adjusts it to the Unix Epoch.
*/
void aica_rtc_gettimeofday(struct timespec *ts) {
unsigned long val1, val2;
do {
val1 = ((ctrl_inl(AICA_RTC_SECS_H) & 0xffff) << 16) |
(ctrl_inl(AICA_RTC_SECS_L) & 0xffff);
val2 = ((ctrl_inl(AICA_RTC_SECS_H) & 0xffff) << 16) |
(ctrl_inl(AICA_RTC_SECS_L) & 0xffff);
} while (val1 != val2);
ts->tv_sec = val1 - TWENTY_YEARS;
/* Can't get nanoseconds with just a seconds counter. */
ts->tv_nsec = 0;
}
/**
* aica_rtc_settimeofday - Set the AICA RTC to the current time
* @tv: contains the timeval to set
*
* Adjusts the given @tv to the AICA Epoch and sets the RTC seconds counter.
*/
int aica_rtc_settimeofday(const time_t secs) {
unsigned long val1, val2;
unsigned long adj = secs + TWENTY_YEARS;
do {
ctrl_outl((adj & 0xffff0000) >> 16, AICA_RTC_SECS_H);
ctrl_outl((adj & 0xffff), AICA_RTC_SECS_L);
val1 = ((ctrl_inl(AICA_RTC_SECS_H) & 0xffff) << 16) |
(ctrl_inl(AICA_RTC_SECS_L) & 0xffff);
val2 = ((ctrl_inl(AICA_RTC_SECS_H) & 0xffff) << 16) |
(ctrl_inl(AICA_RTC_SECS_L) & 0xffff);
} while (val1 != val2);
return 0;
}
void aica_time_init(void)
{
rtc_get_time = aica_rtc_gettimeofday;
rtc_set_time = aica_rtc_settimeofday;
}
--- NEW FILE: setup.c ---
/* arch/sh/kernel/setup_dc.c
*
* Hardware support for the Sega Dreamcast.
*
* Copyright (c) 2001, 2002 M. R. Brown <mr...@li...>
* Copyright (c) 2002 Paul Mundt <le...@ch...>
*
* This file is part of the LinuxDC project (www.linuxdc.org)
*
* Released under the terms of the GNU GPL v2.0.
*
* This file originally bore the message (with enclosed-$):
* Id: setup_dc.c,v 1.5 2001/05/24 05:09:16 mrbrown Exp
* SEGA Dreamcast support
*/
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/dreamcast/sysasic.h>
extern struct hw_interrupt_type systemasic_int;
/* XXX: Move this into it's proper header. */
extern void (*board_time_init)(void);
extern void aica_time_init(void);
const char *get_system_type(void)
{
return "Sega Dreamcast";
}
#ifdef CONFIG_PCI
extern int gapspci_init(void);
#endif
int __init platform_setup(void)
{
int i;
/* Mask all hardware events */
/* XXX */
/* Acknowledge any previous events */
/* XXX */
/* Assign all virtual IRQs to the System ASIC int. handler */
for (i = HW_EVENT_IRQ_BASE; i < HW_EVENT_IRQ_MAX; i++)
irq_desc[i].handler = &systemasic_int;
board_time_init = aica_time_init;
#ifdef CONFIG_PCI
if (gapspci_init() < 0)
printk(KERN_WARNING "GAPSPCI was not detected.\n");
#endif
return 0;
}
|
|
From: M. R. B. <mr...@us...> - 2002-10-29 21:50:40
|
Update of /cvsroot/linuxdc/linux-sh-dc In directory usw-pr-cvs1:/tmp/cvs-serv570 Modified Files: ChangeLog.dc Added Files: AGAINST-2.5.44 Removed Files: AGAINST-2.4.18 Log Message: Linux-SH 2.5.44 switchover (complete) --- NEW FILE: AGAINST-2.5.44 --- Index: ChangeLog.dc =================================================================== RCS file: /cvsroot/linuxdc/linux-sh-dc/ChangeLog.dc,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- ChangeLog.dc 29 Oct 2002 21:38:12 -0000 1.60 +++ ChangeLog.dc 29 Oct 2002 21:50:36 -0000 1.61 @@ -1,5 +1,19 @@ 2002-10-29 M. R. Brown <mr...@li...> + Linux-SH 2.5.44 switchover. + + * AGAINST-2.5.44: New file. + * AGAINST-2.4.18: Remove. + + * arch/sh/config.in: Obsolete. + + * arch/sh/boards/dreamcast/Makefile, arch/sh/boards/dreamcast/io.c, + arch/sh/boards/dreamcast/irq.c, arch/sh/boards/dreamcast/mach.c, + arch/sh/boards/dreamcast/pci.c, arch/sh/boards/dreamcast/rtc.c, + arch/sh/boards/dreamcast/setup.c, include/asm-sh/dreamcast/io.h, + include/asm-sh/dreamcast/sysasic.h: Import from Linux-SH 2.5 + restructure. + * drivers/char/Makefile: Remove. * drivers/char/maple_keyb.c, drivers/char/maple_lg.c, drivers/char/maplemouse.c: Move to drivers/input/ heirarchy. @@ -14,8 +28,6 @@ * drivers/sound/*: Move to sound/oss/. * drivers/sound/aica/*: Move to sound/oss/. - - Linux-SH 2.5.44 switchover. * Documentation/Configure.help, arch/sh/config.in, arch/sh/kernel/pci-dc.c, arch/sh/kernel/setup_dc.c, --- AGAINST-2.4.18 DELETED --- |
|
From: M. R. B. <mr...@us...> - 2002-10-29 21:50:39
|
Update of /cvsroot/linuxdc/linux-sh-dc/arch/sh In directory usw-pr-cvs1:/tmp/cvs-serv570/arch/sh Removed Files: config.in Log Message: Linux-SH 2.5.44 switchover (complete) --- config.in DELETED --- |
|
From: M. R. B. <mr...@us...> - 2002-10-29 21:50:39
|
Update of /cvsroot/linuxdc/linux-sh-dc/include/asm-sh/dreamcast In directory usw-pr-cvs1:/tmp/cvs-serv570/include/asm-sh/dreamcast Added Files: io.h sysasic.h Log Message: Linux-SH 2.5.44 switchover (complete) --- NEW FILE: io.h --- /* * $Id: io.h,v 1.1 2002/10/29 21:50:36 mrbrown Exp $ * IO functions for SEGA Dreamcast */ #ifndef _ASM_SH_IO_DREAMCAST_H #define _ASM_SH_IO_DREAMCAST_H #include <asm/io_generic.h> unsigned long dreamcast_isa_port2addr(unsigned long offset); #ifdef __WANT_IO_DEF # define __inb generic_inb # define __inw generic_inw # define __inl generic_inl # define __outb generic_outb # define __outw generic_outw # define __outl generic_outl # define __inb_p generic_inb_p # define __inw_p generic_inw # define __inl_p generic_inl # define __outb_p generic_outb_p # define __outw_p generic_outw # define __outl_p generic_outl # define __insb generic_insb # define __insw generic_insw # define __insl generic_insl # define __outsb generic_outsb # define __outsw generic_outsw # define __outsl generic_outsl # define __readb generic_readb # define __readw generic_readw # define __readl generic_readl # define __writeb generic_writeb # define __writew generic_writew # define __writel generic_writel # define __isa_port2addr dreamcast_isa_port2addr # define __ioremap generic_ioremap # define __iounmap generic_iounmap #endif #endif /* _ASM_SH_IO_DREAMCAST_H */ --- NEW FILE: sysasic.h --- /* include/asm-sh/dc_sysasic.h * * Definitions for the Dreamcast System ASIC and related peripherals. * * Copyright (c) 2001 M. R. Brown <mr...@li...> * * This file is part of the LinuxDC project (www.linuxdc.org) * * Released under the terms of the GNU GPL v2.0. * */ #include <asm/irq.h> /* Hardware events - Each of these events correspond to a bit within the Event Mask Registers/ Event Status Registers. Because of the virtual IRQ numbering scheme, a base offset must be used when calculating the virtual IRQ that each event takes. */ #define HW_EVENT_IRQ_BASE OFFCHIP_IRQ_BASE /* 48 */ /* IRQ 13 */ #define HW_EVENT_VSYNC (HW_EVENT_IRQ_BASE + 5) /* VSync */ #define HW_EVENT_MAPLE_DMA (HW_EVENT_IRQ_BASE + 12) /* Maple DMA complete */ #define HW_EVENT_GDROM_DMA (HW_EVENT_IRQ_BASE + 14) /* GD-ROM DMA complete */ /* IRQ 11 */ #define HW_EVENT_GDROM_CMD (HW_EVENT_IRQ_BASE + 32) /* GD-ROM cmd. complete */ #define HW_EVENT_AICA_SYS (HW_EVENT_IRQ_BASE + 33) /* AICA-related */ #define HW_EVENT_EXTERNAL (HW_EVENT_IRQ_BASE + 35) /* Ext. (expansion) */ #define HW_EVENT_IRQ_MAX (HW_EVENT_IRQ_BASE + 95) |
|
From: M. R. B. <mr...@us...> - 2002-10-29 21:41:49
|
Update of /cvsroot/linuxdc/linux-sh-dc/include/asm-sh/dreamcast In directory usw-pr-cvs1:/tmp/cvs-serv27218/dreamcast Log Message: Directory /cvsroot/linuxdc/linux-sh-dc/include/asm-sh/dreamcast added to the repository |
|
From: M. R. B. <mr...@us...> - 2002-10-29 21:40:29
|
Update of /cvsroot/linuxdc/linux-sh-dc/arch/sh/boards/dreamcast In directory usw-pr-cvs1:/tmp/cvs-serv26741/dreamcast Log Message: Directory /cvsroot/linuxdc/linux-sh-dc/arch/sh/boards/dreamcast added to the repository |