Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130607
b: refs/heads/master
c: 9d6aa4c
h: refs/heads/master
i:
  130605: 6166429
  130603: 347d00f
  130599: fb657e9
  130591: 4340a7a
v: v3
  • Loading branch information
Jaswinder Singh Rajput committed Jan 30, 2009
1 parent c4d3b1e commit 81f2e3a
Show file tree
Hide file tree
Showing 125 changed files with 866 additions and 1,361 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1347e965f5bcfffe82e56d2903ea4f32babaff4e
refs/heads/master: 9d6aa4c7ece26652fcbfe37bd45679eac5f69347
6 changes: 3 additions & 3 deletions trunk/Documentation/block/biodoc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -954,14 +954,14 @@ elevator_allow_merge_fn called whenever the block layer determines
results in some sort of conflict internally,
this hook allows it to do that.

elevator_dispatch_fn* fills the dispatch queue with ready requests.
elevator_dispatch_fn fills the dispatch queue with ready requests.
I/O schedulers are free to postpone requests by
not filling the dispatch queue unless @force
is non-zero. Once dispatched, I/O schedulers
are not allowed to manipulate the requests -
they belong to generic dispatch queue.

elevator_add_req_fn* called to add a new request into the scheduler
elevator_add_req_fn called to add a new request into the scheduler

elevator_queue_empty_fn returns true if the merge queue is empty.
Drivers shouldn't use this, but rather check
Expand Down Expand Up @@ -991,7 +991,7 @@ elevator_activate_req_fn Called when device driver first sees a request.
elevator_deactivate_req_fn Called when device driver decides to delay
a request by requeueing it.

elevator_init_fn*
elevator_init_fn
elevator_exit_fn Allocate and free any elevator specific storage
for a queue.

Expand Down
25 changes: 19 additions & 6 deletions trunk/Documentation/networking/alias.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
IP-Aliasing:
============

IP-aliases are an obsolete way to manage multiple IP-addresses/masks
per interface. Newer tools such as iproute2 support multiple
address/prefixes per interface, but aliases are still supported
for backwards compatibility.

An alias is formed by adding a colon and a string when running ifconfig.
IP-aliases are additional IP-addresses/masks hooked up to a base
interface by adding a colon and a string when running ifconfig.
This string is usually numeric, but this is not a must.

IP-Aliases are avail if CONFIG_INET (`standard' IPv4 networking)
is configured in the kernel.


o Alias creation.
Alias creation is done by 'magic' interface naming: eg. to create a
200.1.1.1 alias for eth0 ...
Expand Down Expand Up @@ -38,3 +38,16 @@ o Relationship with main device

If the base device is shut down the added aliases will be deleted
too.


Contact
-------
Please finger or e-mail me:
Juan Jose Ciarlante <jjciarla@raiz.uncu.edu.ar>

Updated by Erik Schoenfelder <schoenfr@gaertner.DE>

; local variables:
; mode: indented-text
; mode: auto-fill
; end:
2 changes: 2 additions & 0 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2836,6 +2836,8 @@ S: Maintained
MAC80211
P: Johannes Berg
M: johannes@sipsolutions.net
P: Michael Wu
M: flamingice@sourmilk.net
L: linux-wireless@vger.kernel.org
W: http://linuxwireless.org/
T: git kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6.git
Expand Down
7 changes: 5 additions & 2 deletions trunk/arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ config SGI_IP27
select ARC64
select BOOT_ELF64
select DEFAULT_SGI_PARTITION
select DMA_COHERENT
select DMA_IP27
select SYS_HAS_EARLY_PRINTK
select HW_HAS_PCI
select NR_CPUS_DEFAULT_64
Expand Down Expand Up @@ -761,6 +761,9 @@ config CFE
config DMA_COHERENT
bool

config DMA_IP27
bool

config DMA_NONCOHERENT
bool
select DMA_NEED_PCI_MAP_STATE
Expand Down Expand Up @@ -1365,7 +1368,7 @@ config CPU_SUPPORTS_64BIT_KERNEL
#
config HARDWARE_WATCHPOINTS
bool
default y if CPU_MIPSR1 || CPU_MIPSR2
default y if CPU_MIPS32 || CPU_MIPS64

menu "Kernel type"

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/alchemy/common/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static struct clock_event_device au1x_rtcmatch2_clockdev = {
.irq = AU1000_RTC_MATCH2_INT,
.set_next_event = au1x_rtcmatch2_set_next_event,
.set_mode = au1x_rtcmatch2_set_mode,
.cpumask = CPU_MASK_ALL_PTR,
.cpumask = CPU_MASK_ALL,
};

static struct irqaction au1x_rtcmatch2_irqaction = {
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/mips/cavium-octeon/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
#include <linux/serial.h>
#include <linux/types.h>
#include <linux/string.h> /* for memset */
#include <linux/serial.h>
#include <linux/tty.h>
#include <linux/time.h>
#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/serial_8250.h>
#include <linux/string.h>

#include <asm/processor.h>
#include <asm/reboot.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/configs/ip27_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ CONFIG_GENERIC_TIME=y
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
CONFIG_ARC=y
CONFIG_DMA_COHERENT=y
CONFIG_DMA_IP27=y
CONFIG_EARLY_PRINTK=y
CONFIG_SYS_HAS_EARLY_PRINTK=y
# CONFIG_NO_IOPORT is not set
Expand Down
52 changes: 26 additions & 26 deletions trunk/arch/mips/include/asm/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
static __inline__ void atomic_add(int i, atomic_t * v)
{
if (cpu_has_llsc && R10000_LLSC_WAR) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -62,7 +62,7 @@ static __inline__ void atomic_add(int i, atomic_t * v)
: "=&r" (temp), "=m" (v->counter)
: "Ir" (i), "m" (v->counter));
} else if (cpu_has_llsc) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down Expand Up @@ -95,7 +95,7 @@ static __inline__ void atomic_add(int i, atomic_t * v)
static __inline__ void atomic_sub(int i, atomic_t * v)
{
if (cpu_has_llsc && R10000_LLSC_WAR) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -107,7 +107,7 @@ static __inline__ void atomic_sub(int i, atomic_t * v)
: "=&r" (temp), "=m" (v->counter)
: "Ir" (i), "m" (v->counter));
} else if (cpu_has_llsc) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down Expand Up @@ -135,12 +135,12 @@ static __inline__ void atomic_sub(int i, atomic_t * v)
*/
static __inline__ int atomic_add_return(int i, atomic_t * v)
{
int result;
unsigned long result;

smp_llsc_mb();

if (cpu_has_llsc && R10000_LLSC_WAR) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -154,7 +154,7 @@ static __inline__ int atomic_add_return(int i, atomic_t * v)
: "Ir" (i), "m" (v->counter)
: "memory");
} else if (cpu_has_llsc) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down Expand Up @@ -187,12 +187,12 @@ static __inline__ int atomic_add_return(int i, atomic_t * v)

static __inline__ int atomic_sub_return(int i, atomic_t * v)
{
int result;
unsigned long result;

smp_llsc_mb();

if (cpu_has_llsc && R10000_LLSC_WAR) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -206,7 +206,7 @@ static __inline__ int atomic_sub_return(int i, atomic_t * v)
: "Ir" (i), "m" (v->counter)
: "memory");
} else if (cpu_has_llsc) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down Expand Up @@ -247,12 +247,12 @@ static __inline__ int atomic_sub_return(int i, atomic_t * v)
*/
static __inline__ int atomic_sub_if_positive(int i, atomic_t * v)
{
int result;
unsigned long result;

smp_llsc_mb();

if (cpu_has_llsc && R10000_LLSC_WAR) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -270,7 +270,7 @@ static __inline__ int atomic_sub_if_positive(int i, atomic_t * v)
: "Ir" (i), "m" (v->counter)
: "memory");
} else if (cpu_has_llsc) {
int temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down Expand Up @@ -429,7 +429,7 @@ static __inline__ int atomic_add_unless(atomic_t *v, int a, int u)
static __inline__ void atomic64_add(long i, atomic64_t * v)
{
if (cpu_has_llsc && R10000_LLSC_WAR) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -441,7 +441,7 @@ static __inline__ void atomic64_add(long i, atomic64_t * v)
: "=&r" (temp), "=m" (v->counter)
: "Ir" (i), "m" (v->counter));
} else if (cpu_has_llsc) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down Expand Up @@ -474,7 +474,7 @@ static __inline__ void atomic64_add(long i, atomic64_t * v)
static __inline__ void atomic64_sub(long i, atomic64_t * v)
{
if (cpu_has_llsc && R10000_LLSC_WAR) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -486,7 +486,7 @@ static __inline__ void atomic64_sub(long i, atomic64_t * v)
: "=&r" (temp), "=m" (v->counter)
: "Ir" (i), "m" (v->counter));
} else if (cpu_has_llsc) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down Expand Up @@ -514,12 +514,12 @@ static __inline__ void atomic64_sub(long i, atomic64_t * v)
*/
static __inline__ long atomic64_add_return(long i, atomic64_t * v)
{
long result;
unsigned long result;

smp_llsc_mb();

if (cpu_has_llsc && R10000_LLSC_WAR) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -533,7 +533,7 @@ static __inline__ long atomic64_add_return(long i, atomic64_t * v)
: "Ir" (i), "m" (v->counter)
: "memory");
} else if (cpu_has_llsc) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down Expand Up @@ -566,12 +566,12 @@ static __inline__ long atomic64_add_return(long i, atomic64_t * v)

static __inline__ long atomic64_sub_return(long i, atomic64_t * v)
{
long result;
unsigned long result;

smp_llsc_mb();

if (cpu_has_llsc && R10000_LLSC_WAR) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -585,7 +585,7 @@ static __inline__ long atomic64_sub_return(long i, atomic64_t * v)
: "Ir" (i), "m" (v->counter)
: "memory");
} else if (cpu_has_llsc) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down Expand Up @@ -626,12 +626,12 @@ static __inline__ long atomic64_sub_return(long i, atomic64_t * v)
*/
static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v)
{
long result;
unsigned long result;

smp_llsc_mb();

if (cpu_has_llsc && R10000_LLSC_WAR) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand All @@ -649,7 +649,7 @@ static __inline__ long atomic64_sub_if_positive(long i, atomic64_t * v)
: "Ir" (i), "m" (v->counter)
: "memory");
} else if (cpu_has_llsc) {
long temp;
unsigned long temp;

__asm__ __volatile__(
" .set mips3 \n"
Expand Down
5 changes: 4 additions & 1 deletion trunk/arch/mips/include/asm/mach-rc32434/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,11 @@ struct rb532_gpio_reg {
/* Compact Flash GPIO pin */
#define CF_GPIO_NUM 13

extern void set_434_reg(unsigned reg_offs, unsigned bit, unsigned len, unsigned val);
extern unsigned get_434_reg(unsigned reg_offs);
extern void set_latch_u5(unsigned char or_mask, unsigned char nand_mask);
extern unsigned char get_latch_u5(void);
extern void rb532_gpio_set_ilevel(int bit, unsigned gpio);
extern void rb532_gpio_set_istat(int bit, unsigned gpio);
extern void rb532_gpio_set_func(unsigned gpio);

#endif /* _RC32434_GPIO_H_ */
3 changes: 0 additions & 3 deletions trunk/arch/mips/include/asm/mach-rc32434/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,4 @@
#define ETH0_RX_OVR_IRQ (GROUP3_IRQ_BASE + 9)
#define ETH0_TX_UND_IRQ (GROUP3_IRQ_BASE + 10)

#define GPIO_MAPPED_IRQ_BASE GROUP4_IRQ_BASE
#define GPIO_MAPPED_IRQ_GROUP 4

#endif /* __ASM_RC32434_IRQ_H */
3 changes: 0 additions & 3 deletions trunk/arch/mips/include/asm/mach-rc32434/rb.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,4 @@ struct mpmc_device {
void __iomem *base;
};

extern void set_latch_u5(unsigned char or_mask, unsigned char nand_mask);
extern unsigned char get_latch_u5(void);

#endif /* __ASM_RC32434_RB_H */
2 changes: 1 addition & 1 deletion trunk/arch/mips/include/asm/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ struct pt_watch_regs {
enum pt_watch_style style;
union {
struct mips32_watch_regs mips32;
struct mips64_watch_regs mips64;
struct mips32_watch_regs mips64;
};
};

Expand Down
Loading

0 comments on commit 81f2e3a

Please sign in to comment.