You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(165) |
Sep
(240) |
Oct
(424) |
Nov
(526) |
Dec
(293) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(242) |
Feb
(149) |
Mar
(143) |
Apr
(143) |
May
(76) |
Jun
(59) |
Jul
(20) |
Aug
(2) |
Sep
(49) |
Oct
(1) |
Nov
(4) |
Dec
|
| 2003 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(72) |
Jul
(36) |
Aug
(9) |
Sep
(16) |
Oct
(23) |
Nov
(9) |
Dec
(3) |
| 2010 |
Jan
|
Feb
(1) |
Mar
(35) |
Apr
(44) |
May
(56) |
Jun
(71) |
Jul
(41) |
Aug
(41) |
Sep
(22) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(25) |
Oct
(105) |
Nov
(15) |
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: James S. <jsi...@us...> - 2001-08-21 17:21:41
|
Update of /cvsroot/linux-mips/linux/include/asm-mips64
In directory usw-pr-cvs1:/tmp/cvs-serv16497
Added Files:
module.h
Log Message:
Support catching data bus errors also from withim modules.
--- NEW FILE: module.h ---
#ifndef _ASM_MIPS64_MODULE_H
#define _ASM_MIPS64_MODULE_H
/*
* This file contains the mips64 architecture specific module code.
*/
#include <linux/module.h>
#include <asm/uaccess.h>
#define module_map(x) vmalloc(x)
#define module_unmap(x) vfree(x)
#define module_arch_init(x) mips64_module_init(x)
#define arch_init_modules(x) mips64_init_modules(x)
/*
* This must match in size and layout the data created by
* modutils/obj/obj-mips64.c
*/
struct archdata {
const struct exception_table_entry *dbe_table_start;
const struct exception_table_entry *dbe_table_end;
};
static inline int
mips64_module_init(struct module *mod)
{
struct archdata *archdata;
if (!mod_member_present(mod, archdata_start) || !mod->archdata_start)
return 0;
archdata = (struct archdata *)(mod->archdata_start);
if (archdata->dbe_table_start > archdata->dbe_table_end ||
(archdata->dbe_table_start &&
!((unsigned long)archdata->dbe_table_start >=
((unsigned long)mod + mod->size_of_struct) &&
((unsigned long)archdata->dbe_table_end <
(unsigned long)mod + mod->size))) ||
(((unsigned long)archdata->dbe_table_start -
(unsigned long)archdata->dbe_table_end) %
sizeof(struct exception_table_entry))) {
printk(KERN_ERR
"arch_init_module: archdata->dbe_table_* invalid.\n");
return 1;
}
return 0;
}
static inline void
mips64_init_modules(struct module *mod)
{
extern const struct exception_table_entry __start___dbe_table[];
extern const struct exception_table_entry __stop___dbe_table[];
static struct archdata archdata = {
dbe_table_start: __start___dbe_table,
dbe_table_end: __stop___dbe_table,
};
mod->archdata_start = (char *)&archdata;
mod->archdata_end = mod->archdata_start + sizeof(archdata);
}
#endif /* _ASM_MIPS64_MODULE_H */
|
|
From: James S. <jsi...@us...> - 2001-08-21 17:21:00
|
Update of /cvsroot/linux-mips/linux/include/asm-mips
In directory usw-pr-cvs1:/tmp/cvs-serv16071
Added Files:
module.h
Log Message:
Support catching data bus errors also from withim modules.
--- NEW FILE: module.h ---
#ifndef _ASM_MIPS_MODULE_H
#define _ASM_MIPS_MODULE_H
/*
* This file contains the mips architecture specific module code.
*/
#include <linux/module.h>
#include <asm/uaccess.h>
#define module_map(x) vmalloc(x)
#define module_unmap(x) vfree(x)
#define module_arch_init(x) mips_module_init(x)
#define arch_init_modules(x) mips_init_modules(x)
/*
* This must match in size and layout the data created by
* modutils/obj/obj-mips.c
*/
struct archdata {
const struct exception_table_entry *dbe_table_start;
const struct exception_table_entry *dbe_table_end;
};
static inline int
mips_module_init(struct module *mod)
{
struct archdata *archdata;
if (!mod_member_present(mod, archdata_start) || !mod->archdata_start)
return 0;
archdata = (struct archdata *)(mod->archdata_start);
if (archdata->dbe_table_start > archdata->dbe_table_end ||
(archdata->dbe_table_start &&
!((unsigned long)archdata->dbe_table_start >=
((unsigned long)mod + mod->size_of_struct) &&
((unsigned long)archdata->dbe_table_end <
(unsigned long)mod + mod->size))) ||
(((unsigned long)archdata->dbe_table_start -
(unsigned long)archdata->dbe_table_end) %
sizeof(struct exception_table_entry))) {
printk(KERN_ERR
"arch_init_module: archdata->dbe_table_* invalid.\n");
return 1;
}
return 0;
}
static inline void
mips_init_modules(struct module *mod)
{
extern const struct exception_table_entry __start___dbe_table[];
extern const struct exception_table_entry __stop___dbe_table[];
static struct archdata archdata = {
dbe_table_start: __start___dbe_table,
dbe_table_end: __stop___dbe_table,
};
mod->archdata_start = (char *)&archdata;
mod->archdata_end = mod->archdata_start + sizeof(archdata);
}
#endif /* _ASM_MIPS_MODULE_H */
|
|
From: James S. <jsi...@us...> - 2001-08-20 17:41:22
|
Update of /cvsroot/linux-mips/linux/arch/mips/configs In directory usw-pr-cvs1:/tmp/cvs-serv23345 Modified Files: defconfig-ddb5476 Log Message: Don't use CONFIG_I8259 until DDB5476 gets converted to new style IRQs. Index: defconfig-ddb5476 =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/configs/defconfig-ddb5476,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** defconfig-ddb5476 2001/08/18 22:53:58 1.4 --- defconfig-ddb5476 2001/08/20 17:41:19 1.5 *************** *** 26,29 **** --- 26,30 ---- # CONFIG_MOMENCO_OCELOT is not set CONFIG_DDB5476=y + # CONFIG_DDB5477 is not set # CONFIG_OLIVETTI_M700 is not set # CONFIG_SGI_IP22 is not set *************** *** 31,34 **** --- 32,38 ---- # CONFIG_MIPS_ITE8172 is not set # CONFIG_MIPS_IVR is not set + # CONFIG_MIPS_PB1000 is not set + CONFIG_RWSEM_GENERIC_SPINLOCK=y + # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set # CONFIG_MCA is not set # CONFIG_SBUS is not set *************** *** 38,41 **** --- 42,47 ---- CONFIG_PC_KEYB=y CONFIG_ROTTEN_IRQ=y + CONFIG_HAVE_STD_PC_SERIAL_PORT=y + CONFIG_NEW_TIME_C=y CONFIG_EISA=y *************** *** 51,54 **** --- 57,61 ---- # CONFIG_CPU_R3912 is not set # CONFIG_CPU_R6000 is not set + # CONFIG_CPU_VR41XX is not set # CONFIG_CPU_R4300 is not set # CONFIG_CPU_R4X00 is not set *************** *** 59,65 **** --- 66,75 ---- # CONFIG_CPU_R8000 is not set # CONFIG_CPU_R10000 is not set + # CONFIG_CPU_SB1 is not set # CONFIG_CPU_MIPS32 is not set + # CONFIG_CPU_MIPS64 is not set # CONFIG_CPU_ADVANCED is not set CONFIG_CPU_HAS_LLSC=y + CONFIG_CPU_HAS_LLDSCD=y # CONFIG_CPU_HAS_WB is not set *************** *** 68,72 **** # CONFIG_CPU_LITTLE_ENDIAN=y - CONFIG_MIPS_FPU_EMULATOR=y CONFIG_KCORE_ELF=y CONFIG_ELF_KERNEL=y --- 78,81 ---- *************** *** 76,79 **** --- 85,90 ---- CONFIG_NET=y # CONFIG_PCI_NAMES is not set + # CONFIG_HOTPLUG is not set + # CONFIG_PCMCIA is not set CONFIG_SYSVIPC=y # CONFIG_BSD_PROCESS_ACCT is not set *************** *** 81,89 **** # - # Parallel port support - # - # CONFIG_PARPORT is not set - - # # Plug and Play configuration # --- 92,95 ---- *************** *** 98,101 **** --- 104,112 ---- # + # Parallel port support + # + # CONFIG_PARPORT is not set + + # # Block devices # *************** *** 135,138 **** --- 146,150 ---- # CONFIG_IP_ADVANCED_ROUTER is not set CONFIG_IP_PNP=y + # CONFIG_IP_PNP_DHCP is not set CONFIG_IP_PNP_BOOTP=y # CONFIG_IP_PNP_RARP is not set *************** *** 300,303 **** --- 312,316 ---- # CONFIG_EEPRO100_PM is not set # CONFIG_LNE390 is not set + # CONFIG_FEALNX is not set # CONFIG_NATSEMI is not set CONFIG_NE2K_PCI=y *************** *** 305,308 **** --- 318,324 ---- # CONFIG_ES3210 is not set # CONFIG_8139TOO is not set + # CONFIG_8139TOO_PIO is not set + # CONFIG_8139TOO_TUNE_TWISTER is not set + # CONFIG_8139TOO_8129 is not set # CONFIG_RTL8129 is not set # CONFIG_SIS900 is not set *************** *** 347,350 **** --- 363,376 ---- # + # Amateur Radio support + # + # CONFIG_HAMRADIO is not set + + # + # IrDA (infrared) support + # + # CONFIG_IRDA is not set + + # # ISDN subsystem # *************** *** 365,369 **** # CONFIG_SERIAL_EXTENDED is not set # CONFIG_SERIAL_NONSTANDARD is not set ! # CONFIG_UNIX98_PTYS is not set # --- 391,396 ---- # CONFIG_SERIAL_EXTENDED is not set # CONFIG_SERIAL_NONSTANDARD is not set ! CONFIG_UNIX98_PTYS=y ! CONFIG_UNIX98_PTY_COUNT=256 # *************** *** 434,441 **** --- 461,470 ---- # CONFIG_JFFS_FS is not set # CONFIG_CRAMFS is not set + # CONFIG_TMPFS is not set # CONFIG_RAMFS is not set # CONFIG_ISO9660_FS is not set # CONFIG_JOLIET is not set # CONFIG_MINIX_FS is not set + # CONFIG_VXFS_FS is not set # CONFIG_NTFS_FS is not set # CONFIG_NTFS_RW is not set *************** *** 445,449 **** # CONFIG_DEVFS_MOUNT is not set # CONFIG_DEVFS_DEBUG is not set ! # CONFIG_DEVPTS_FS is not set # CONFIG_QNX4FS_FS is not set # CONFIG_QNX4FS_RW is not set --- 474,478 ---- # CONFIG_DEVFS_MOUNT is not set # CONFIG_DEVFS_DEBUG is not set ! CONFIG_DEVPTS_FS=y # CONFIG_QNX4FS_FS is not set # CONFIG_QNX4FS_RW is not set *************** *** 502,505 **** --- 531,535 ---- # CONFIG_FB_PM2 is not set # CONFIG_FB_CYBER2000 is not set + # CONFIG_FB_E1355 is not set # CONFIG_FB_MATROX is not set # CONFIG_FB_ATY is not set *************** *** 537,540 **** --- 567,571 ---- CONFIG_CROSSCOMPILE=y # CONFIG_REMOTE_DEBUG is not set + # CONFIG_GDB_CONSOLE is not set # CONFIG_LL_DEBUG is not set # CONFIG_MAGIC_SYSRQ is not set |
|
From: James S. <jsi...@us...> - 2001-08-20 17:30:00
|
Update of /cvsroot/linux-mips/linux/include/asm-mips64
In directory usw-pr-cvs1:/tmp/cvs-serv20830
Modified Files:
ide.h
Log Message:
Use ide_init_hwif_ports member of ide_ops structure.
Index: ide.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/include/asm-mips64/ide.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** ide.h 2001/06/22 02:29:33 1.1.1.1
--- ide.h 2001/08/20 17:29:56 1.2
***************
*** 56,74 ****
ide_ioreg_t ctrl_port, int *irq)
{
! ide_ioreg_t reg = data_port;
! int i;
!
! for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) {
! hw->io_ports[i] = reg;
! reg += 1;
! }
! if (ctrl_port) {
! hw->io_ports[IDE_CONTROL_OFFSET] = ctrl_port;
! } else {
! hw->io_ports[IDE_CONTROL_OFFSET] = hw->io_ports[IDE_DATA_OFFSET] + 0x206;
! }
! if (irq != NULL)
! *irq = 0;
! hw->io_ports[IDE_IRQ_OFFSET] = 0;
}
--- 56,60 ----
ide_ioreg_t ctrl_port, int *irq)
{
! ide_ops->ide_init_hwif_ports(hw, data_port, ctrl_port, irq);
}
|
|
From: James S. <jsi...@us...> - 2001-08-20 17:29:12
|
Update of /cvsroot/linux-mips/linux/include/asm-mips In directory usw-pr-cvs1:/tmp/cvs-serv20657 Added Files: ide.h Log Message: Use ide_init_hwif_ports member of ide_ops structure. |
|
From: James S. <jsi...@us...> - 2001-08-20 17:27:07
|
Update of /cvsroot/linux-mips/linux/arch/mips64/lib
In directory usw-pr-cvs1:/tmp/cvs-serv20242
Added Files:
ide-std.c
Log Message:
Use ide_init_hwif_ports member of ide_ops structure.
--- NEW FILE: ide-std.c ---
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* IDE routines for typical pc-like standard configurations.
*
* Copyright (C) 1998, 1999, 2001 by Ralf Baechle
*/
#include <linux/sched.h>
#include <linux/ide.h>
#include <linux/ioport.h>
#include <linux/hdreg.h>
#include <asm/ptrace.h>
#include <asm/hdreg.h>
static int std_ide_default_irq(ide_ioreg_t base)
{
switch (base) {
case 0x1f0: return 14;
case 0x170: return 15;
case 0x1e8: return 11;
case 0x168: return 10;
case 0x1e0: return 8;
case 0x160: return 12;
default:
return 0;
}
}
static ide_ioreg_t std_ide_default_io_base(int index)
{
switch (index) {
case 0: return 0x1f0;
case 1: return 0x170;
case 2: return 0x1e8;
case 3: return 0x168;
case 4: return 0x1e0;
case 5: return 0x160;
default:
return 0;
}
}
static void std_ide_init_hwif_ports (hw_regs_t *hw, ide_ioreg_t data_port,
ide_ioreg_t ctrl_port, int *irq)
{
ide_ioreg_t reg = data_port;
int i;
for (i = IDE_DATA_OFFSET; i <= IDE_STATUS_OFFSET; i++) {
hw->io_ports[i] = reg;
reg += 1;
}
if (ctrl_port) {
hw->io_ports[IDE_CONTROL_OFFSET] = ctrl_port;
} else {
hw->io_ports[IDE_CONTROL_OFFSET] = hw->io_ports[IDE_DATA_OFFSET] + 0x206;
}
if (irq != NULL)
*irq = 0;
hw->io_ports[IDE_IRQ_OFFSET] = 0;
}
static int std_ide_request_irq(unsigned int irq,
void (*handler)(int,void *, struct pt_regs *),
unsigned long flags, const char *device,
void *dev_id)
{
return request_irq(irq, handler, flags, device, dev_id);
}
static void std_ide_free_irq(unsigned int irq, void *dev_id)
{
free_irq(irq, dev_id);
}
static int std_ide_check_region(ide_ioreg_t from, unsigned int extent)
{
return check_region(from, extent);
}
static void std_ide_request_region(ide_ioreg_t from, unsigned int extent,
const char *name)
{
request_region(from, extent, name);
}
static void std_ide_release_region(ide_ioreg_t from, unsigned int extent)
{
release_region(from, extent);
}
struct ide_ops std_ide_ops = {
&std_ide_default_irq,
&std_ide_default_io_base,
&std_ide_init_hwif_ports,
&std_ide_request_irq,
&std_ide_free_irq,
&std_ide_check_region,
&std_ide_request_region,
&std_ide_release_region
};
|
|
From: James S. <jsi...@us...> - 2001-08-20 17:25:15
|
Update of /cvsroot/linux-mips/linux/arch/mips/lib
In directory usw-pr-cvs1:/tmp/cvs-serv19784
Modified Files:
ide-std.c
Log Message:
Use ide_init_hwif_ports member of ide_ops structure.
Index: ide-std.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/arch/mips/lib/ide-std.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ide-std.c 2001/07/09 21:50:55 1.2
--- ide-std.c 2001/08/20 17:25:12 1.3
***************
*** 1,4 ****
! /* $Id$
! *
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
--- 1,3 ----
! /*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
***************
*** 7,13 ****
* IDE routines for typical pc-like standard configurations.
*
! * Copyright (C) 1998, 1999 by Ralf Baechle
*/
- #include <linux/config.h>
#include <linux/sched.h>
#include <linux/ide.h>
--- 6,11 ----
* IDE routines for typical pc-like standard configurations.
*
! * Copyright (C) 1998, 1999, 2001 by Ralf Baechle
*/
#include <linux/sched.h>
#include <linux/ide.h>
***************
*** 20,27 ****
{
#ifdef CONFIG_COBALT_MICRO_SERVER
! switch (base & 0x0fffffff) {
#else
switch (base) {
- #endif
case 0x1f0: return 14;
case 0x170: return 15;
--- 18,24 ----
{
#ifdef CONFIG_COBALT_MICRO_SERVER
! switch (base & 0x0fffffff) {
#else
switch (base) {
case 0x1f0: return 14;
case 0x170: return 15;
***************
*** 66,69 ****
--- 63,67 ----
if (irq != NULL)
*irq = 0;
+ hw->io_ports[IDE_IRQ_OFFSET] = 0;
}
|
|
From: James S. <jsi...@us...> - 2001-08-20 16:34:30
|
Update of /cvsroot/linux-mips/linux/drivers/sound
In directory usw-pr-cvs1:/tmp/cvs-serv6352
Modified Files:
nec_vrc5477.c
Log Message:
Change delay loop into udelay() call. Fix warning.
Index: nec_vrc5477.c
===================================================================
RCS file: /cvsroot/linux-mips/linux/drivers/sound/nec_vrc5477.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** nec_vrc5477.c 2001/06/22 02:29:32 1.1.1.1
--- nec_vrc5477.c 2001/08/20 16:34:26 1.2
***************
*** 87,91 ****
#undef VRC5477_AC97_VERBOSE_DEBUG
- // #define VRC5477_AC97_VERBOSE_DEBUG 1
/* one must turn on CONFIG_LL_DEBUG before VERBOSE_DEBUG is turned */
--- 87,90 ----
***************
*** 261,265 ****
unsigned long flags;
u32 result;
- int i;
spin_lock_irqsave(&s->lock, flags);
--- 260,263 ----
***************
*** 273,277 ****
/* get the return result */
! for (i=10000; i; i--); /* workaround hardware bug */
while ( (result = inl(s->io + VRC5477_CODEC_RD)) &
(VRC5477_CODEC_RD_RRDYA | VRC5477_CODEC_RD_RRDYD) ) {
--- 271,275 ----
/* get the return result */
! udelay(100); /* workaround hardware bug */
while ( (result = inl(s->io + VRC5477_CODEC_RD)) &
(VRC5477_CODEC_RD_RRDYA | VRC5477_CODEC_RD_RRDYD) ) {
***************
*** 1094,1098 ****
--- 1092,1098 ----
int totalCopyFragCount = 0;
unsigned long flags;
+ #if defined(VRC5477_AC97_VERBOSE_DEBUG)
int i;
+ #endif
/* adjust count to signel channel byte count */
***************
*** 1789,1793 ****
{
u32 result;
- u32 i;
/* wait until we can access codec registers */
--- 1789,1792 ----
***************
*** 1799,1803 ****
/* get the return result */
! for (i=10000; i; i--);
// dump_memory(0xbb000000, 48);
while ( ((result=myinl(VRC5477_CODEC_RD)) & 0xc0000000) != 0xc0000000);
--- 1798,1802 ----
/* get the return result */
! udelay(100); /* workaround hardware bug */
// dump_memory(0xbb000000, 48);
while ( ((result=myinl(VRC5477_CODEC_RD)) & 0xc0000000) != 0xc0000000);
|
|
From: James S. <jsi...@us...> - 2001-08-20 16:31:17
|
Update of /cvsroot/linux-mips/linux/include/asm-mips In directory usw-pr-cvs1:/tmp/cvs-serv5483 Added Files: hw_irq.h Log Message: Declare irq_err_count |
|
From: James S. <jsi...@us...> - 2001-08-20 16:27:36
|
Update of /cvsroot/linux-mips/linux/include/asm-mips
In directory usw-pr-cvs1:/tmp/cvs-serv4386
Modified Files:
pci_channel.h
Log Message:
Dropped in files for PCI handling.
Index: pci_channel.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/include/asm-mips/pci_channel.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** pci_channel.h 2001/07/07 19:37:24 1.1
--- pci_channel.h 2001/08/20 16:27:33 1.2
***************
*** 11,25 ****
#include <linux/pci.h>
- #ifdef CONFIG_LL_DEBUG
- #include <linux/kernel.h>
- #define MIPS_ASSERT(x) if (!(x)) { panic("MIPS_ASSERT failed at %s:%d\n", __FILE__, __LINE__); }
- #define MIPS_VERIFY(x, y) MIPS_ASSERT(x y)
- #define MIPS_DEBUG(x) do { x; } while (0)
- #else
- #define MIPS_ASSERT(x)
- #define MIPS_VERIFY(x, y) x
- #define MIPS_DEBUG(x)
- #endif
-
/*
* Each pci channel is a top-level PCI bus seem by CPU. A machine with
--- 11,14 ----
|
|
From: James S. <jsi...@us...> - 2001-08-20 16:12:33
|
Update of /cvsroot/linux-mips/linux/arch/mips/configs In directory usw-pr-cvs1:/tmp/cvs-serv586 Modified Files: defconfig-it8172 Log Message: PCI autoconfiguration code. Index: defconfig-it8172 =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/configs/defconfig-it8172,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** defconfig-it8172 2001/08/16 16:58:30 1.3 --- defconfig-it8172 2001/08/20 16:12:26 1.4 *************** *** 45,48 **** --- 45,50 ---- CONFIG_IT8712=y CONFIG_PC_KEYB=y + CONFIG_NEW_PCI=y + CONFIG_PCI_AUTO=y # CONFIG_ISA is not set # CONFIG_EISA is not set |
|
From: James S. <jsi...@us...> - 2001-08-20 16:11:49
|
Update of /cvsroot/linux-mips/linux/arch/mips/configs In directory usw-pr-cvs1:/tmp/cvs-serv410 Modified Files: defconfig-ev96100 Log Message: PCI autoconfiguration code. Index: defconfig-ev96100 =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/configs/defconfig-ev96100,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** defconfig-ev96100 2001/08/16 16:58:30 1.3 --- defconfig-ev96100 2001/08/20 16:11:46 1.4 *************** *** 40,43 **** --- 40,45 ---- CONFIG_MIPS_GT96100=y CONFIG_SWAP_IO_SPACE=y + CONFIG_NEW_PCI=y + CONFIG_PCI_AUTO=y # CONFIG_ISA is not set # CONFIG_EISA is not set |
|
From: James S. <jsi...@us...> - 2001-08-20 16:09:56
|
Update of /cvsroot/linux-mips/linux/arch/mips
In directory usw-pr-cvs1:/tmp/cvs-serv32254
Modified Files:
config.in
Log Message:
PCI autoconfiguration code.
Index: config.in
===================================================================
RCS file: /cvsroot/linux-mips/linux/arch/mips/config.in,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** config.in 2001/08/18 18:21:00 1.14
--- config.in 2001/08/20 16:09:51 1.15
***************
*** 19,23 ****
bool 'Support for Algorithmics P4032 (EXPERIMENTAL)' CONFIG_ALGOR_P4032
bool 'Support for BAGET MIPS series (EXPERIMENTAL)' CONFIG_BAGET_MIPS
! bool 'Support for Cobalt Server (EXPERIMENTAL)' CONFIG_COBALT_MICRO_SERVER
bool 'Support for DECstations (EXPERIMENTAL)' CONFIG_DECSTATION
bool 'Support for NEC DDB Vrc-5074 (EXPERIMENTAL)' CONFIG_DDB5074
--- 19,23 ----
bool 'Support for Algorithmics P4032 (EXPERIMENTAL)' CONFIG_ALGOR_P4032
bool 'Support for BAGET MIPS series (EXPERIMENTAL)' CONFIG_BAGET_MIPS
! bool 'Support for Cobalt Server (EXPERIMENTAL)' CONFIG_COBALT_MICRO_SERVER
bool 'Support for DECstations (EXPERIMENTAL)' CONFIG_DECSTATION
bool 'Support for NEC DDB Vrc-5074 (EXPERIMENTAL)' CONFIG_DDB5074
***************
*** 99,105 ****
define_bool CONFIG_PCI y
define_bool CONFIG_MIPS_GT96100 y
- define_bool CONFIG_NEW_PCI y
- define_bool CONFIG_PCI_AUTO y
define_bool CONFIG_SWAP_IO_SPACE y
fi
if [ "$CONFIG_MIPS_EV64120" = "y" ]; then
--- 99,105 ----
define_bool CONFIG_PCI y
define_bool CONFIG_MIPS_GT96100 y
define_bool CONFIG_SWAP_IO_SPACE y
+ define_bool CONFIG_NEW_PCI y
+ define_bool CONFIG_PCI_AUTO y
fi
if [ "$CONFIG_MIPS_EV64120" = "y" ]; then
***************
*** 211,214 ****
--- 211,216 ----
define_bool CONFIG_IT8712 y
define_bool CONFIG_PC_KEYB y
+ define_bool CONFIG_NEW_PCI y
+ define_bool CONFIG_PCI_AUTO y
fi
if [ "$CONFIG_MIPS_IVR" = "y" ]; then
***************
*** 223,226 ****
--- 225,238 ----
define_bool CONFIG_NEW_PCI y
fi
+ if [ "$CONFIG_COBALT_MICRO_SERVER" = "y" ]; then
+ define_bool COBALT_MICRO_SERVER y
+ define_bool CONFIG_NO_SWAPPER y
+ define_bool CONFIG_COBALT_27 y
+ define_bool CONFIG_NO_KEYBOARD y
+ define_bool CONFIG_NO_VIDEO_CONSOLE y
+ define_bool CONFIG_COBALT_LCD y
+ define_bool CONFIG_PCI y
+ define_bool CONFIG_OLD_TIME_C y
+ fi
if [ "$CONFIG_NINO" = "y" ]; then
define_bool CONFIG_PC_KEYB y
***************
*** 240,254 ****
if [ "$CONFIG_I8259" != "y" ]; then
define_bool CONFIG_I8259 n
- fi
-
- if [ "$CONFIG_COBALT_MICRO_SERVER" = "y" ]; then
- define_bool COBALT_MICRO_SERVER y
- define_bool CONFIG_NO_SWAPPER y
- define_bool CONFIG_COBALT_27 y
- define_bool CONFIG_NO_KEYBOARD y
- define_bool CONFIG_NO_VIDEO_CONSOLE y
- define_bool CONFIG_COBALT_LCD y
- define_bool CONFIG_PCI y
- define_bool CONFIG_OLD_TIME_C y
fi
endmenu
--- 252,255 ----
|
|
From: James S. <jsi...@us...> - 2001-08-20 16:03:16
|
Update of /cvsroot/linux-mips/linux/include/asm-mips64 In directory usw-pr-cvs1:/tmp/cvs-serv30466 Modified Files: mipsregs.h Log Message: Add RM7000 info cp0 register. Index: mipsregs.h =================================================================== RCS file: /cvsroot/linux-mips/linux/include/asm-mips64/mipsregs.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mipsregs.h 2001/07/09 19:28:48 1.2 --- mipsregs.h 2001/08/20 16:03:12 1.3 *************** *** 34,37 **** --- 34,38 ---- #define CP0_PAGEMASK $5 #define CP0_WIRED $6 + #define CP0_INFO $7 #define CP0_BADVADDR $8 #define CP0_COUNT $9 |
|
From: James S. <jsi...@us...> - 2001-08-20 15:55:15
|
Update of /cvsroot/linux-mips/linux
In directory usw-pr-cvs1:/tmp/cvs-serv28882
Added Files:
Makefile
Log Message:
Added main Makefile. This way we have a reference to which tree to use and we really need the -mips tag.
--- NEW FILE: Makefile ---
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 6
EXTRAVERSION = -mips
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi ; fi)
TOPDIR := $(shell /bin/pwd)
HPATH = $(TOPDIR)/include
FINDHPATH = $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net
HOSTCC = gcc
HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
CROSS_COMPILE =
#
# Include the make variables (CC, etc...)
#
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
CC = $(CROSS_COMPILE)gcc
CPP = $(CC) -E
AR = $(CROSS_COMPILE)ar
NM = $(CROSS_COMPILE)nm
STRIP = $(CROSS_COMPILE)strip
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
MAKEFILES = $(TOPDIR)/.config
GENKSYMS = /sbin/genksyms
DEPMOD = /sbin/depmod
MODFLAGS = -DMODULE
CFLAGS_KERNEL =
PERL = perl
export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION KERNELRELEASE ARCH \
CONFIG_SHELL TOPDIR HPATH HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC \
CPP AR NM STRIP OBJCOPY OBJDUMP MAKE MAKEFILES GENKSYMS MODFLAGS PERL
all: do-it-all
#
# Make "config" the default target if there is no configuration file or
# "depend" the target if there is no top-level dependency information.
#
ifeq (.config,$(wildcard .config))
include .config
ifeq (.depend,$(wildcard .depend))
include .depend
do-it-all: Version vmlinux
else
CONFIGURATION = depend
do-it-all: depend
endif
else
CONFIGURATION = config
do-it-all: config
endif
#
# INSTALL_PATH specifies where to place the updated kernel and system map
# images. Uncomment if you want to place them anywhere other than root.
#
#export INSTALL_PATH=/boot
#
# INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
# relocations required by build roots. This is not defined in the
# makefile but the arguement can be passed to make if needed.
#
MODLIB := $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
export MODLIB
#
# standard CFLAGS
#
CPPFLAGS := -D__KERNEL__ -I$(HPATH)
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wno-trigraphs -O2 \
-fomit-frame-pointer -fno-strict-aliasing
AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS)
#
# ROOT_DEV specifies the default root-device when making the image.
# This can be either FLOPPY, CURRENT, /dev/xxxx or empty, in which case
# the default of FLOPPY is used by 'build'.
# This is i386 specific.
#
export ROOT_DEV = CURRENT
#
# If you want to preset the SVGA mode, uncomment the next line and
# set SVGA_MODE to whatever number you want.
# Set it to -DSVGA_MODE=NORMAL_VGA if you just want the EGA/VGA mode.
# The number is the same as you would ordinarily press at bootup.
# This is i386 specific.
#
export SVGA_MODE = -DSVGA_MODE=NORMAL_VGA
#
# If you want the RAM disk device, define this to be the size in blocks.
# This is i386 specific.
#
#export RAMDISK = -DRAMDISK=512
CORE_FILES =kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o
NETWORKS =net/network.o
LIBS =$(TOPDIR)/lib/lib.a
SUBDIRS =kernel drivers mm fs net ipc lib
DRIVERS-n :=
DRIVERS-y :=
DRIVERS-m :=
DRIVERS- :=
DRIVERS-$(CONFIG_ACPI) += drivers/acpi/acpi.o
DRIVERS-$(CONFIG_PARPORT) += drivers/parport/driver.o
DRIVERS-y += drivers/char/char.o \
drivers/block/block.o \
drivers/misc/misc.o \
drivers/net/net.o \
drivers/media/media.o
DRIVERS-$(CONFIG_AGP) += drivers/char/agp/agp.o
DRIVERS-$(CONFIG_DRM) += drivers/char/drm/drm.o
DRIVERS-$(CONFIG_NUBUS) += drivers/nubus/nubus.a
DRIVERS-$(CONFIG_ISDN) += drivers/isdn/isdn.a
DRIVERS-$(CONFIG_NET_FC) += drivers/net/fc/fc.o
DRIVERS-$(CONFIG_APPLETALK) += drivers/net/appletalk/appletalk.o
DRIVERS-$(CONFIG_TR) += drivers/net/tokenring/tr.o
DRIVERS-$(CONFIG_WAN) += drivers/net/wan/wan.o
DRIVERS-$(CONFIG_ARCNET) += drivers/net/arcnet/arcnetdrv.o
DRIVERS-$(CONFIG_ATM) += drivers/atm/atm.o
DRIVERS-$(CONFIG_IDE) += drivers/ide/idedriver.o
DRIVERS-$(CONFIG_SCSI) += drivers/scsi/scsidrv.o
DRIVERS-$(CONFIG_IEEE1394) += drivers/ieee1394/ieee1394drv.o
ifneq ($(CONFIG_CD_NO_IDESCSI)$(CONFIG_BLK_DEV_IDECD)$(CONFIG_BLK_DEV_SR)$(CONFIG_PARIDE_PCD),)
DRIVERS-y += drivers/cdrom/driver.o
endif
DRIVERS-$(CONFIG_SOUND) += drivers/sound/sounddrivers.o
DRIVERS-$(CONFIG_PCI) += drivers/pci/driver.o
DRIVERS-$(CONFIG_MTD) += drivers/mtd/mtdlink.o
DRIVERS-$(CONFIG_PCMCIA) += drivers/pcmcia/pcmcia.o
DRIVERS-$(CONFIG_NET_PCMCIA) += drivers/net/pcmcia/pcmcia_net.o
DRIVERS-$(CONFIG_NET_WIRELESS) += drivers/net/wireless/wireless_net.o
DRIVERS-$(CONFIG_PCMCIA_CHRDEV) += drivers/char/pcmcia/pcmcia_char.o
DRIVERS-$(CONFIG_DIO) += drivers/dio/dio.a
DRIVERS-$(CONFIG_SBUS) += drivers/sbus/sbus_all.o
DRIVERS-$(CONFIG_ZORRO) += drivers/zorro/driver.o
DRIVERS-$(CONFIG_FC4) += drivers/fc4/fc4.a
DRIVERS-$(CONFIG_ALL_PPC) += drivers/macintosh/macintosh.o
DRIVERS-$(CONFIG_MAC) += drivers/macintosh/macintosh.o
DRIVERS-$(CONFIG_ISAPNP) += drivers/pnp/pnp.o
DRIVERS-$(CONFIG_SGI_IP22) += drivers/sgi/sgi.a
DRIVERS-$(CONFIG_VT) += drivers/video/video.o
DRIVERS-$(CONFIG_PARIDE) += drivers/block/paride/paride.a
DRIVERS-$(CONFIG_HAMRADIO) += drivers/net/hamradio/hamradio.o
DRIVERS-$(CONFIG_TC) += drivers/tc/tc.a
DRIVERS-$(CONFIG_USB) += drivers/usb/usbdrv.o
DRIVERS-$(CONFIG_INPUT) += drivers/input/inputdrv.o
DRIVERS-$(CONFIG_I2O) += drivers/i2o/i2o.o
DRIVERS-$(CONFIG_IRDA) += drivers/net/irda/irda.o
DRIVERS-$(CONFIG_I2C) += drivers/i2c/i2c.o
DRIVERS-$(CONFIG_PHONE) += drivers/telephony/telephony.o
DRIVERS-$(CONFIG_MD) += drivers/md/mddev.o
DRIVERS-$(CONFIG_BLUEZ) += drivers/bluetooth/bluetooth.o
DRIVERS := $(DRIVERS-y)
# files removed with 'make clean'
CLEAN_FILES = \
kernel/ksyms.lst include/linux/compile.h \
vmlinux System.map \
.tmp* \
drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c \
drivers/char/conmakehash \
drivers/char/drm/*-mod.c \
drivers/pci/devlist.h drivers/pci/classlist.h drivers/pci/gen-devlist \
drivers/zorro/devlist.h drivers/zorro/gen-devlist \
drivers/sound/bin2hex drivers/sound/hex2hex \
drivers/atm/fore200e_mkfirm drivers/atm/{pca,sba}*{.bin,.bin1,.bin2} \
net/khttpd/make_times_h \
net/khttpd/times.h \
submenu*
# directories removed with 'make clean'
CLEAN_DIRS = \
modules
# files removed with 'make mrproper'
MRPROPER_FILES = \
include/linux/autoconf.h include/linux/version.h \
drivers/net/hamradio/soundmodem/sm_tbl_{afsk1200,afsk2666,fsk9600}.h \
drivers/net/hamradio/soundmodem/sm_tbl_{hapn4800,psk4800}.h \
drivers/net/hamradio/soundmodem/sm_tbl_{afsk2400_7,afsk2400_8}.h \
drivers/net/hamradio/soundmodem/gentbl \
drivers/sound/*_boot.h drivers/sound/.*.boot \
drivers/sound/msndinit.c \
drivers/sound/msndperm.c \
drivers/sound/pndsperm.c \
drivers/sound/pndspini.c \
drivers/atm/fore200e_*_fw.c drivers/atm/.fore200e_*.fw \
.version .config* config.in config.old \
scripts/tkparse scripts/kconfig.tk scripts/kconfig.tmp \
scripts/lxdialog/*.o scripts/lxdialog/lxdialog \
.menuconfig.log \
include/asm \
.hdepend scripts/mkdep scripts/split-include scripts/docproc \
$(TOPDIR)/include/linux/modversions.h
# directories removed with 'make mrproper'
MRPROPER_DIRS = \
include/config \
$(TOPDIR)/include/linux/modules
include arch/$(ARCH)/Makefile
export CPPFLAGS CFLAGS AFLAGS
export NETWORKS DRIVERS LIBS HEAD LDFLAGS LINKFLAGS MAKEBOOT ASFLAGS
.S.s:
$(CPP) $(AFLAGS) -traditional -o $*.s $<
.S.o:
$(CC) $(AFLAGS) -traditional -c -o $*.o $<
Version: dummy
@rm -f include/linux/compile.h
boot: vmlinux
@$(MAKE) CFLAGS="$(CFLAGS) $(CFLAGS_KERNEL)" -C arch/$(ARCH)/boot
vmlinux: $(CONFIGURATION) init/main.o init/version.o linuxsubdirs
$(LD) $(LINKFLAGS) $(HEAD) init/main.o init/version.o \
--start-group \
$(CORE_FILES) \
$(DRIVERS) \
$(NETWORKS) \
$(LIBS) \
--end-group \
-o vmlinux
$(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
symlinks:
rm -f include/asm
( cd include ; ln -sf asm-$(ARCH) asm)
@if [ ! -d include/linux/modules ]; then \
mkdir include/linux/modules; \
fi
oldconfig: symlinks
$(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in
xconfig: symlinks
$(MAKE) -C scripts kconfig.tk
wish -f scripts/kconfig.tk
menuconfig: include/linux/version.h symlinks
$(MAKE) -C scripts/lxdialog all
$(CONFIG_SHELL) scripts/Menuconfig arch/$(ARCH)/config.in
config: symlinks
$(CONFIG_SHELL) scripts/Configure arch/$(ARCH)/config.in
include/config/MARKER: scripts/split-include include/linux/autoconf.h
scripts/split-include include/linux/autoconf.h include/config
@ touch include/config/MARKER
linuxsubdirs: $(patsubst %, _dir_%, $(SUBDIRS))
$(patsubst %, _dir_%, $(SUBDIRS)) : dummy include/linux/version.h include/config/MARKER
$(MAKE) CFLAGS="$(CFLAGS) $(CFLAGS_KERNEL)" -C $(patsubst _dir_%, %, $@)
$(TOPDIR)/include/linux/version.h: include/linux/version.h
$(TOPDIR)/include/linux/compile.h: include/linux/compile.h
newversion:
@if [ ! -f .version ]; then \
echo 1 > .version; \
else \
expr 0`cat .version` + 1 > .version; \
fi
include/linux/compile.h: $(CONFIGURATION) include/linux/version.h newversion
@echo -n \#define UTS_VERSION \"\#`cat .version` > .ver
@if [ -n "$(CONFIG_SMP)" ] ; then echo -n " SMP" >> .ver; fi
@if [ -f .name ]; then echo -n \-`cat .name` >> .ver; fi
@echo ' '`date`'"' >> .ver
@echo \#define LINUX_COMPILE_TIME \"`date +%T`\" >> .ver
@echo \#define LINUX_COMPILE_BY \"`whoami`\" >> .ver
@echo \#define LINUX_COMPILE_HOST \"`hostname`\" >> .ver
@if [ -x /bin/dnsdomainname ]; then \
echo \#define LINUX_COMPILE_DOMAIN \"`dnsdomainname`\"; \
elif [ -x /bin/domainname ]; then \
echo \#define LINUX_COMPILE_DOMAIN \"`domainname`\"; \
else \
echo \#define LINUX_COMPILE_DOMAIN ; \
fi >> .ver
@echo \#define LINUX_COMPILER \"`$(CC) $(CFLAGS) -v 2>&1 | tail -1`\" >> .ver
@mv -f .ver $@
include/linux/version.h: ./Makefile
@echo \#define UTS_RELEASE \"$(KERNELRELEASE)\" > .ver
@echo \#define LINUX_VERSION_CODE `expr $(VERSION) \\* 65536 + $(PATCHLEVEL) \\* 256 + $(SUBLEVEL)` >> .ver
@echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))' >>.ver
@mv -f .ver $@
init/version.o: init/version.c include/linux/compile.h include/config/MARKER
$(CC) $(CFLAGS) $(CFLAGS_KERNEL) -DUTS_MACHINE='"$(ARCH)"' -c -o init/version.o init/version.c
init/main.o: init/main.c include/config/MARKER
$(CC) $(CFLAGS) $(CFLAGS_KERNEL) $(PROFILING) -c -o $*.o $<
fs lib mm ipc kernel drivers net: dummy
$(MAKE) CFLAGS="$(CFLAGS) $(CFLAGS_KERNEL)" $(subst $@, _dir_$@, $@)
TAGS: dummy
etags `find include/asm-$(ARCH) -name '*.h'`
find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs etags -a
find $(SUBDIRS) init -name '*.c' | xargs etags -a
# Exuberant ctags works better with -I
tags: dummy
CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS"`; \
ctags $$CTAGSF `find include/asm-$(ARCH) -name '*.h'` && \
find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs ctags $$CTAGSF -a && \
find $(SUBDIRS) init -name '*.c' | xargs ctags $$CTAGSF -a
ifdef CONFIG_MODULES
ifdef CONFIG_MODVERSIONS
MODFLAGS += -DMODVERSIONS -include $(HPATH)/linux/modversions.h
endif
.PHONY: modules
modules: $(patsubst %, _mod_%, $(SUBDIRS))
.PHONY: $(patsubst %, _mod_%, $(SUBDIRS))
$(patsubst %, _mod_%, $(SUBDIRS)) : include/linux/version.h include/config/MARKER
$(MAKE) -C $(patsubst _mod_%, %, $@) CFLAGS="$(CFLAGS) $(MODFLAGS)" MAKING_MODULES=1 modules
.PHONY: modules_install
modules_install: _modinst_ $(patsubst %, _modinst_%, $(SUBDIRS)) _modinst_post
.PHONY: _modinst_
_modinst_:
@rm -rf $(MODLIB)/kernel
@rm -f $(MODLIB)/build
@mkdir -p $(MODLIB)/kernel
@ln -s $(TOPDIR) $(MODLIB)/build
# If System.map exists, run depmod. This deliberately does not have a
# dependency on System.map since that would run the dependency tree on
# vmlinux. This depmod is only for convenience to give the initial
# boot a modules.dep even before / is mounted read-write. However the
# boot script depmod is the master version.
ifeq "$(strip $(INSTALL_MOD_PATH))" ""
depmod_opts :=
else
depmod_opts := -b $(INSTALL_MOD_PATH) -r
endif
.PHONY: _modinst_post
_modinst_post: _modinst_post_pcmcia
if [ -r System.map ]; then $(DEPMOD) -ae -F System.map $(depmod_opts) $(KERNELRELEASE); fi
# Backwards compatibilty symlinks for people still using old versions
# of pcmcia-cs with hard coded pathnames on insmod. Remove
# _modinst_post_pcmcia for kernel 2.4.1.
.PHONY: _modinst_post_pcmcia
_modinst_post_pcmcia:
cd $(MODLIB); \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
.PHONY: $(patsubst %, _modinst_%, $(SUBDIRS))
$(patsubst %, _modinst_%, $(SUBDIRS)) :
$(MAKE) -C $(patsubst _modinst_%, %, $@) modules_install
# modules disabled....
else
modules modules_install: dummy
@echo
@echo "The present kernel configuration has modules disabled."
@echo "Type 'make config' and enable loadable module support."
@echo "Then build a kernel with module support enabled."
@echo
@exit 1
endif
clean: archclean
find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
| grep -v lxdialog/ | xargs rm -f
rm -f $(CLEAN_FILES)
rm -rf $(CLEAN_DIRS)
$(MAKE) -C Documentation/DocBook clean
mrproper: clean archmrproper
find . \( -size 0 -o -name .depend \) -type f -print | xargs rm -f
rm -f $(MRPROPER_FILES)
rm -rf $(MRPROPER_DIRS)
$(MAKE) -C Documentation/DocBook mrproper
distclean: mrproper
rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -type f -print` TAGS tags
backup: mrproper
cd .. && tar cf - linux/ | gzip -9 > backup.gz
sync
sgmldocs:
chmod 755 $(TOPDIR)/scripts/docgen
chmod 755 $(TOPDIR)/scripts/gen-all-syms
chmod 755 $(TOPDIR)/scripts/kernel-doc
$(MAKE) -C $(TOPDIR)/Documentation/DocBook books
psdocs: sgmldocs
$(MAKE) -C Documentation/DocBook ps
pdfdocs: sgmldocs
$(MAKE) -C Documentation/DocBook pdf
htmldocs: sgmldocs
$(MAKE) -C Documentation/DocBook html
sums:
find . -type f -print | sort | xargs sum > .SUMS
dep-files: scripts/mkdep archdep include/linux/version.h
scripts/mkdep -- init/*.c > .depend
scripts/mkdep -- `find $(FINDHPATH) -name SCCS -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
$(MAKE) $(patsubst %,_sfdep_%,$(SUBDIRS)) _FASTDEP_ALL_SUB_DIRS="$(SUBDIRS)"
ifdef CONFIG_MODVERSIONS
$(MAKE) update-modverfile
endif
ifdef CONFIG_MODVERSIONS
MODVERFILE := $(TOPDIR)/include/linux/modversions.h
else
MODVERFILE :=
endif
export MODVERFILE
depend dep: dep-files
checkconfig:
find * -name '*.[hcS]' -type f -print | sort | xargs $(PERL) -w scripts/checkconfig.pl
checkhelp:
find * -name [cC]onfig.in -print | sort | xargs $(PERL) -w scripts/checkhelp.pl
checkincludes:
find * -name '*.[hcS]' -type f -print | sort | xargs $(PERL) -w scripts/checkincludes.pl
ifdef CONFIGURATION
..$(CONFIGURATION):
@echo
@echo "You have a bad or nonexistent" .$(CONFIGURATION) ": running 'make" $(CONFIGURATION)"'"
@echo
$(MAKE) $(CONFIGURATION)
@echo
@echo "Successful. Try re-making (ignore the error that follows)"
@echo
exit 1
#dummy: ..$(CONFIGURATION)
dummy:
else
dummy:
endif
include Rules.make
#
# This generates dependencies for the .h files.
#
scripts/mkdep: scripts/mkdep.c
$(HOSTCC) $(HOSTCFLAGS) -o scripts/mkdep scripts/mkdep.c
scripts/split-include: scripts/split-include.c
$(HOSTCC) $(HOSTCFLAGS) -o scripts/split-include scripts/split-include.c
|