Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4642
b: refs/heads/master
c: 6328c0e
h: refs/heads/master
v: v3
  • Loading branch information
Denis Vlasenko authored and Greg Kroah-Hartman committed Jul 11, 2005
1 parent 4a74c64 commit 54a2a40
Show file tree
Hide file tree
Showing 156 changed files with 1,531 additions and 3,055 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: 9f02d6b7b43d46a74dd385f06090104ecd0fb807
refs/heads/master: 6328c0e163abfce679b1beffb166f72900bf0a22
3 changes: 0 additions & 3 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,6 @@ running once the system is up.
maxcpus= [SMP] Maximum number of processors that an SMP kernel
should make use of

max_addr=[KMG] [KNL,BOOT,ia64] All physical memory greater than or
equal to this physical address is ignored.

max_luns= [SCSI] Maximum number of LUNs to probe
Should be between 1 and 2^32-1.

Expand Down
4 changes: 0 additions & 4 deletions trunk/Documentation/usb/sn9c102.txt
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ Vendor ID Product ID
0x0c45 0x602a
0x0c45 0x602b
0x0c45 0x602c
0x0c45 0x602d
0x0c45 0x6030
0x0c45 0x6080
0x0c45 0x6082
Expand Down Expand Up @@ -334,7 +333,6 @@ Model Manufacturer
----- ------------
HV7131D Hynix Semiconductor, Inc.
MI-0343 Micron Technology, Inc.
OV7630 OmniVision Technologies, Inc.
PAS106B PixArt Imaging, Inc.
PAS202BCB PixArt Imaging, Inc.
TAS5110C1B Taiwan Advanced Sensor Corporation
Expand Down Expand Up @@ -472,11 +470,9 @@ order):
- Luca Capello for the donation of a webcam;
- Joao Rodrigo Fuzaro, Joao Limirio, Claudio Filho and Caio Begotti for the
donation of a webcam;
- Jon Hollstrom for the donation of a webcam;
- Carlos Eduardo Medaglia Dyonisio, who added the support for the PAS202BCB
image sensor;
- Stefano Mozzi, who donated 45 EU;
- Andrew Pearce for the donation of a webcam;
- Bertrik Sikken, who reverse-engineered and documented the Huffman compression
algorithm used in the SN9C10x controllers and implemented the first decoder;
- Mizuno Takafumi for the donation of a webcam;
Expand Down
29 changes: 8 additions & 21 deletions trunk/Documentation/usb/usbmon.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@ Here is the list of words, from left to right:
or 3 and 2 positions, correspondingly.
- URB Status. This field makes no sense for submissions, but is present
to help scripts with parsing. In error case, it contains the error code.
In case of a setup packet, it contains a Setup Tag. If scripts read a number
in this field, the proceed to read Data Length. Otherwise, they read
the setup packet before reading the Data Length.
- Setup packet, if present, consists of 5 words: one of each for bmRequestType,
bRequest, wValue, wIndex, wLength, as specified by the USB Specification 2.0.
These words are safe to decode if Setup Tag was 's'. Otherwise, the setup
packet was present, but not captured, and the fields contain filler.
- Data Length. This is the actual length in the URB.
- Data tag. The usbmon may not always capture data, even if length is nonzero.
Only if tag is '=', the data words are present.
Expand All @@ -132,31 +125,25 @@ class ParsedLine {
String data_str = st.nextToken();
int len = data_str.length() / 2;
int i;
int b; // byte is signed, apparently?! XXX
for (i = 0; i < len; i++) {
// data[data_len] = Byte.parseByte(
// data_str.substring(i*2, i*2 + 2),
// 16);
b = Integer.parseInt(
data_str.substring(i*2, i*2 + 2),
16);
if (b >= 128)
b *= -1;
data[data_len] = (byte) b;
data[data_len] = Byte.parseByte(
data_str.substring(i*2, i*2 + 2),
16);
data_len++;
}
}
}
}

This format may be changed in the future.
This format is obviously deficient. For example, the setup packet for control
transfers is not delivered. This will change in the future.

Examples:

An input control transfer to get a port status.
An input control transfer to get a port status:

d5ea89a0 3575914555 S Ci:001:00 s a3 00 0000 0003 0004 4 <
d5ea89a0 3575914560 C Ci:001:00 0 4 = 01050000
d74ff9a0 2640288196 S Ci:001:00 -115 4 <
d74ff9a0 2640288202 C Ci:001:00 0 4 = 01010100

An output bulk transfer to send a SCSI command 0x5E in a 31-byte Bulk wrapper
to a storage device at address 5:
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/alpha/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,6 @@ source "fs/Kconfig.binfmt"

endmenu

source "net/Kconfig"

source "drivers/Kconfig"

source "fs/Kconfig"
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -700,8 +700,6 @@ config APM

endmenu

source "net/Kconfig"

menu "Device Drivers"

source "drivers/base/Kconfig"
Expand Down Expand Up @@ -734,7 +732,7 @@ source "drivers/ieee1394/Kconfig"

source "drivers/message/i2o/Kconfig"

source "drivers/net/Kconfig"
source "net/Kconfig"

source "drivers/isdn/Kconfig"

Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/arm26/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,6 @@ source "mm/Kconfig"

endmenu

source "net/Kconfig"

source "drivers/base/Kconfig"

source "drivers/parport/Kconfig"
Expand All @@ -195,7 +193,7 @@ source "drivers/block/Kconfig"

source "drivers/md/Kconfig"

source "drivers/net/Kconfig"
source "net/Kconfig"

source "drivers/ide/Kconfig"

Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/cris/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ source arch/cris/arch-v10/Kconfig

endmenu

source "net/Kconfig"

# bring in ETRAX built-in drivers
menu "Drivers for built-in interfaces"
source arch/cris/arch-v10/drivers/Kconfig
Expand Down Expand Up @@ -151,7 +149,7 @@ source "drivers/ieee1394/Kconfig"

source "drivers/message/i2o/Kconfig"

source "drivers/net/Kconfig"
source "net/Kconfig"

source "drivers/isdn/Kconfig"

Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/frv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,6 @@ source "fs/Kconfig.binfmt"

endmenu

source "net/Kconfig"

source "drivers/Kconfig"

source "fs/Kconfig"
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/h8300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ source "fs/Kconfig.binfmt"

endmenu

source "net/Kconfig"

source "drivers/base/Kconfig"

source "drivers/mtd/Kconfig"
Expand All @@ -67,7 +65,7 @@ source "drivers/ide/Kconfig"

source "arch/h8300/Kconfig.ide"

source "drivers/net/Kconfig"
source "net/Kconfig"

#
# input - input/joystick depends on it. As does USB.
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/i386/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1285,8 +1285,6 @@ source "fs/Kconfig.binfmt"

endmenu

source "net/Kconfig"

source "drivers/Kconfig"

source "fs/Kconfig"
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/ia64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,6 @@ endmenu

endif

source "net/Kconfig"

source "drivers/Kconfig"

source "fs/Kconfig"
Expand Down
6 changes: 2 additions & 4 deletions trunk/arch/ia64/hp/sim/simeth.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ simeth_probe1(void)
unsigned char mac_addr[ETH_ALEN];
struct simeth_local *local;
struct net_device *dev;
int fd, i, err, rc;
int fd, i, err;

/*
* XXX Fix me
Expand Down Expand Up @@ -228,9 +228,7 @@ simeth_probe1(void)
return err;
}

if ((rc = assign_irq_vector(AUTO_ASSIGN)) < 0)
panic("%s: out of interrupt vectors!\n", __FUNCTION__);
dev->irq = rc;
dev->irq = assign_irq_vector(AUTO_ASSIGN);

/*
* attach the interrupt in the simulator, this does enable interrupts
Expand Down
7 changes: 2 additions & 5 deletions trunk/arch/ia64/hp/sim/simserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ static struct tty_operations hp_ops = {
static int __init
simrs_init (void)
{
int i, rc;
int i;
struct serial_state *state;

if (!ia64_platform_is("hpsim"))
Expand Down Expand Up @@ -1017,10 +1017,7 @@ simrs_init (void)
if (state->type == PORT_UNKNOWN) continue;

if (!state->irq) {
if ((rc = assign_irq_vector(AUTO_ASSIGN)) < 0)
panic("%s: out of interrupt vectors!\n",
__FUNCTION__);
state->irq = rc;
state->irq = assign_irq_vector(AUTO_ASSIGN);
ia64_ssc_connect_irq(KEYBOARD_INTR, state->irq);
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ia64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ ENTRY(sys_rt_sigreturn)
stf.spill [r17]=f11
adds out0=16,sp // out0 = &sigscratch
br.call.sptk.many rp=ia64_rt_sigreturn
.ret19: .restore sp,0
.ret19: .restore sp 0
adds sp=16,sp
;;
ld8 r9=[sp] // load new ar.unat
Expand Down
13 changes: 4 additions & 9 deletions trunk/arch/ia64/kernel/iosapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ static int iosapic_find_sharable_vector (unsigned long trigger, unsigned long po
}
}
}
if (vector < 0)
panic("%s: out of interrupt vectors!\n", __FUNCTION__);

return vector;
}
Expand All @@ -504,8 +506,6 @@ iosapic_reassign_vector (int vector)

if (!list_empty(&iosapic_intr_info[vector].rtes)) {
new_vector = assign_irq_vector(AUTO_ASSIGN);
if (new_vector < 0)
panic("%s: out of interrupt vectors!\n", __FUNCTION__);
printk(KERN_INFO "Reassigning vector %d to %d\n", vector, new_vector);
memcpy(&iosapic_intr_info[new_vector], &iosapic_intr_info[vector],
sizeof(struct iosapic_intr_info));
Expand Down Expand Up @@ -734,12 +734,9 @@ iosapic_register_intr (unsigned int gsi,
spin_unlock_irqrestore(&iosapic_lock, flags);

/* If vector is running out, we try to find a sharable vector */
vector = assign_irq_vector(AUTO_ASSIGN);
if (vector < 0) {
vector = assign_irq_vector_nopanic(AUTO_ASSIGN);
if (vector < 0)
vector = iosapic_find_sharable_vector(trigger, polarity);
if (vector < 0)
panic("%s: out of interrupt vectors!\n", __FUNCTION__);
}

spin_lock_irqsave(&irq_descp(vector)->lock, flags);
spin_lock(&iosapic_lock);
Expand Down Expand Up @@ -887,8 +884,6 @@ iosapic_register_platform_intr (u32 int_type, unsigned int gsi,
break;
case ACPI_INTERRUPT_INIT:
vector = assign_irq_vector(AUTO_ASSIGN);
if (vector < 0)
panic("%s: out of interrupt vectors!\n", __FUNCTION__);
delivery = IOSAPIC_INIT;
break;
case ACPI_INTERRUPT_CPEI:
Expand Down
15 changes: 13 additions & 2 deletions trunk/arch/ia64/kernel/irq_ia64.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,30 @@ EXPORT_SYMBOL(isa_irq_to_vector_map);
static unsigned long ia64_vector_mask[BITS_TO_LONGS(IA64_NUM_DEVICE_VECTORS)];

int
assign_irq_vector (int irq)
assign_irq_vector_nopanic (int irq)
{
int pos, vector;
again:
pos = find_first_zero_bit(ia64_vector_mask, IA64_NUM_DEVICE_VECTORS);
vector = IA64_FIRST_DEVICE_VECTOR + pos;
if (vector > IA64_LAST_DEVICE_VECTOR)
return -ENOSPC;
return -1;
if (test_and_set_bit(pos, ia64_vector_mask))
goto again;
return vector;
}

int
assign_irq_vector (int irq)
{
int vector = assign_irq_vector_nopanic(irq);

if (vector < 0)
panic("assign_irq_vector: out of interrupt vectors!");

return vector;
}

void
free_irq_vector (int vector)
{
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/ia64/kernel/perfmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include <linux/vfs.h>
#include <linux/pagemap.h>
#include <linux/mount.h>
#include <linux/version.h>
#include <linux/bitops.h>

#include <asm/errno.h>
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/ia64/sn/kernel/tiocx.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/version.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/proc_fs.h>
Expand Down
16 changes: 11 additions & 5 deletions trunk/arch/ia64/sn/kernel/xpc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
#include <linux/cache.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <asm/sn/intr.h>
#include <asm/sn/sn_sal.h>
#include <asm/uaccess.h>
Expand Down Expand Up @@ -309,7 +308,8 @@ xpc_make_first_contact(struct xpc_partition *part)
"partition %d\n", XPC_PARTID(part));

/* wait a 1/4 of a second or so */
msleep_interruptible(250);
set_current_state(TASK_INTERRUPTIBLE);
(void) schedule_timeout(0.25 * HZ);

if (part->act_state == XPC_P_DEACTIVATING) {
return part->reason;
Expand Down Expand Up @@ -841,7 +841,9 @@ xpc_do_exit(void)
down(&xpc_discovery_exited);


msleep_interruptible(300);
set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(0.3 * HZ);
set_current_state(TASK_RUNNING);


/* wait for all partitions to become inactive */
Expand All @@ -858,8 +860,12 @@ xpc_do_exit(void)
}
}

if (active_part_count)
msleep_interruptible(300);
if (active_part_count) {
set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(0.3 * HZ);
set_current_state(TASK_RUNNING);
}

} while (active_part_count > 0);


Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/m32r/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,6 @@ source "fs/Kconfig.binfmt"

endmenu

source "net/Kconfig"

source "drivers/Kconfig"

source "fs/Kconfig"
Expand Down
Loading

0 comments on commit 54a2a40

Please sign in to comment.