summaryrefslogtreecommitdiff
path: root/linux/src
AgeCommit message (Collapse)Author
2011-09-02Remove set but unused variablesGuillem Jover
* linux/dev/drivers/block/floppy.c (setup_rw_floppy): Remove `dflags'. (floppy_eject): Remove `dummy'. * linux/src/drivers/net/8390.c (ethdev_init): Remove `ei_local'. * linux/src/drivers/scsi/ppa.c (ppa_detect): Remove `ppb'.
2011-08-31Fix undefined operation on assigning self pre-incremented variableGuillem Jover
* linux/src/drivers/scsi/wd7000.c (mail_out): Add `1' instead of pre-incrementing self assigned variable. * linux/src/drivers/net/de4x5.c (de4x5_sw_reset, de4x5_queue_pkt, de4x5_rx) (de4x5_tx, de4x5_rx_ovfc, set_multicast_list, ping_media, mii_get_phy) (de4x5_ioctl): Likewise. * linux/src/drivers/net/depca.c (depca_rx, depca_tx, load_packet): Likewise.
2011-08-31Denote __exit symbols as usedGuillem Jover
* linux/src/include/linux/init.h: Include <linux/compiler.h>. (__exitused): New macro. (__exit): Define to ` __exitused __cold notrace'. * linux/src/include/linux/kcomp.h (__exit): Remove.
2011-08-31Move <linux/init.h> from linux/pcmcia-cs to linux/srcGuillem Jover
* linux/pcmcia-cs/include/linux/init.h: Move to ... * linux/src/include/linux/init.h: ... here.
2011-08-31Import Linux 3.1 compiler definitionsGuillem Jover
* linux/src/include/linux/compiler.h: New file. * linux/src/include/linux/compiler-gcc.h: Likewise. * linux/src/include/linux/compiler-gcc3.h: Likewise. * linux/src/include/linux/compiler-gcc4.h: Likewise. * linux/dev/include/linux/kernel.h (barrier): Remove definition and include <linux/compiler.h> instead.
2011-08-31Import Linux 3.1 ctype codeGuillem Jover
* linux/src/include/linux/ctype.h: Update file. * linux/src/lib/ctype.c: Likewise.
2011-08-31Remove unused and non-functional string specialization headerGuillem Jover
* linux/src/include/asm-i386/string-486.h: Remove.
2011-08-31Fix declarationsSamuel Thibault
* device/ds_routines.h (io_done_list): Add variable declaration. (device_io_map): Keep variable declaration and move definition to... * device/ds_routines.c: ... here. * i386/i386/fpu.c: Include <i386/pic.h> (curr_ipl): Remove declaration. (fpintr): Add int unit parameter. * linux/dev/glue/glue.h: New header. * i386/i386/fpu.h (fpintr): Add function prototype. * i386/i386/hardclock.c (clock_interrupt, linux_timer_intr): Remove prototypes. [LINUX_DEV]: Include <linux/dev/glue/glue.h> * i386/i386/ipl.h (curr_ipl): Add declaration. * i386/i386/pic.h (curr_pic_mask, pic_mask, prtnull, intnull): Add declarations. * i386/i386at/kd.h (kdintr): Add declaration. * i386/i386at/pic_isa.c: Include <i386/fpu.h> and <i386at/kd.h> (intnull, fpintr, hardclock, kdintr, prtnull): Remove prototypes. * i386/xen/xen.c: Include <kern/mach_clock.h> (clock_interrupt): Remove prototype. * linux/dev/arch/i386/kernel/irq.c: Include <linux/dev/glue/glue.h> and <machine/machspl.h> (linux_timer_intr, splhigh, spl0, curr_ipl, curr_pic_mask, pic_mask, get_options): Remove declarations. * linux/dev/drivers/block/floppy.c: Include <linux/dev/glue/glue.h> (issig, get_options): Remove declarations. * linux/dev/drivers/block/genhd.c: Include <linux/dev/glue/glue.h> (linux_intr_pri): Remove declaration. * linux/dev/glue/block.c: Include <devices/ds_routines.h> and <linux/dev/glue/glue.h>. (device_io_map, blksize_size): Remove declarations. * linux/dev/glue/kmem.c: Include <kern/printf.h> and <linux/dev/glue/glue.h> (alloc_contig_mem, printf): Remove declarations. * linux/dev/glue/misc.c: Include <printf.h> and <linux/dev/glue/glue.h> (vm_map_lookup_entry, printf): Remove prototypes. * linux/dev/glue/net.c: Include <kern/printf.h>, <device/ds_routines.h> and <linux/dev/glue/glue.h>. (linux_intr_pri, io_done_list): Remove declarations. * linux/dev/init/main.c: Include <machine/model_dep.h> and <linux/dev/glue/glue.h>. (phys_last_addr, alloc_contig_mem, free_contig_mem, init_IRQ, restore_IRQ, startrtclock, linux_version_init, linux_kmem_init, pci_init, linux_net_emulation_init, device_setup, linux_printk, linux_timer_intr, spl0, splhigh, form_pic_mask, linux_bad_intr, prtnull, intnull, linux_sched_init, pcmcia_init): Remove declarations. * linux/dev/kernel/sched.c: Include <kern/printf.h>, <machine/machspl.h> and <linux/dev/glue/glue.h>. (alloc_contig_mem, free_contig_mem, splhigh, splx, linux_soft_intr, issig, printf, linux_auto_config): Remove prototypes. * linux/dev/kernel/softirq.c: Include <linux/dev/glue/glue.h>. * linux/src/drivers/block/floppy.c: Include <linux/dev/glue/glue.h>. (get_options): Remove prototype. * linux/src/init/main.c: Include <linux/dev/glue/glue.h> (init_IRQ): Remove prototype.
2011-08-30Move Linux module macros to their original headerGuillem Jover
* linux/pcmcia-cs/glue/wireless_glue.h (EXPORT_SYMBOL) (SET_MODULE_OWNER): Move to ... * linux/src/include/linux/module.h [!MODULE]: ... here.
2011-08-30Move cdrom_sleep() definition to its original source fileGuillem Jover
* linux/dev/kernel/sched.c (cdrom_sleep): Move to ... * linux/src/drivers/block/ide-cd.c [MACH]: ... here, make it static. Include <kern/sched_prim.h>.
2011-08-27Match signedness of char pointer comparisons and assignmentsGuillem Jover
* linux/dev/drivers/block/genhd.c (msdos_partition): Cast `data' assignment to `unsigned char *'. * linux/src/drivers/block/ide-cd.c (cdrom_queue_request_sense): Cast `buffer' assignment to `unsigned char *'. (cdrom_transfer_packet_command): Change `cmd_buf' argument type to `unsigned char *'. (cdrom_read_capacity): Cast `pc.buffer' assignments to `unsigned char *'. Use temporary `model' and `fw_rev' `const char *' variables to compare against literal strings and characters. * linux/src/drivers/block/ide.c (execute_drive_cmd): Cast `args' assignment to `byte *'. (ide_open): Cast `rq.buffer' assignment to `char *'. (ide_release): Likewise. (ide_ioctl): Likewise. (do_identify): Cast variables being compared against literal string to `char *'. (probe_for_drive): Likewise. * linux/src/drivers/block/ide.h (struct packet_command): Change `buffer' type to `unsigned char *'.
2011-08-27Disable unused variablesGuillem Jover
* i386/i386at/com.c (comstart): Disable `i' variable. * linux/src/drivers/net/at1700.c (net_close): Disable `lp' variable. * linux/dev/include/linux/blk.h (end_request): Disable `nsect' variable on MACH.
2011-08-27Remove ident tags producing preprocessor warningsGuillem Jover
* linux/src/drivers/scsi/FlashPoint.c: Remove #ident tags.
2011-07-21Whitelist QEMU Hard-Drive for DMA.Samuel Thibault
PIO has become very slow in Linux 2.6.35+, so we do not really have the choice any more. * linux/src/drivers/block/triton.c (good_dma_drives): Re-whitelist QEMU hard drive.
2011-05-19Fix gcc 4.6 buildSamuel Thibault
* linux/dev/include/linux/skbuff.h (skb_put, skb_push): Do not print the address of a local label, gcc 4.6 does not build this and the debugger can output it anyway. * linux/src/include/linux/skbuff.h (skb_put, skb_push): Likewise.
2011-05-18Merge two asm constraintsSamuel Thibault
* linux/src/drivers/scsi/ultrastor.c (find_and_clear_bit_16): Use + modifier instead of using both a read and a write constraint.
2010-09-08Fix non-contiguous PCI functionsSamuel Thibault
* linux/src/drivers/pci/pci.c (scan_bus): Do not set `is_multi' to 0 when a hole is encountered. Detect 0000:ffff and ffff:0000 vendor ID as holes too.
2010-08-01Fix unexpected irq + irq timeout on writeSamuel Thibault
* linux/src/drivers/block/ide.c (do_rw_disk): Set IRQ handler before issuing write command.
2010-07-31Un-whitelist the QEMU harddisk for DMA supportSamuel Thibault
* linux/src/drivers/block/triton.c (good_dma_drives): Remove "QEMU HARDDISK".
2010-03-02whitelist the QEMU harddisk for DMA supportSamuel Thibault
* linux/src/drivers/block/triton.c (good_dma_drives): Add "QEMU HARDDISK".
2010-01-04ignore bogus FDPT information from BIOSSamuel Thibault
2009-12-18Use `unsigned char *' for byte buffersGuillem Jover
* linux/src/drivers/net/apricot.c (struct i596_tbd): Change `data' member type to `unsigned char *'. (struct i596_rfd): Change `data' member type to `unsigned char'. (print_eth): Change argument type to `unsigned char'. Remove unneeded casts. (set_multicast_list): Change cast for print_eth to `unsigned char *'.
2009-12-18Missing `*' in assembler indirect lcallGuillem Jover
* linux/src/arch/i386/kernel/bios32.c (bios32_service): Add `*' in indirect lcall. (check_pcibios, pci_bios_find_class, pci_bios_find_device): Likewise. (pci_bios_read_config_byte, pci_bios_read_config_word): Likewise. (pci_bios_read_config_dword, pci_bios_write_config_byte): Likewise. (pci_bios_write_config_word, pci_bios_write_config_dword): Likewise.
2009-12-18Use selector definitions from Mach for Linux codeGuillem Jover
* linux/src/include/asm-i386/segment.h [MACH]: Include <machine/gdt.h> and <machine/ldt.h>. [MACH && MACH_HYP] (KERNEL_CS, KERNEL_DS): Remove macros. [MACH && !MACH_HYP] (KERNEL_CS, KERNEL_DS): Likewise. [MACH] (USER_CS, USER_DS): Likewise.
2009-12-18Move linux/dev/include/asm-i386/segment.h to src treeGuillem Jover
* linux/dev/include/asm-i386/segment.h: Move to ... * linux/src/include/asm-i386/segment.h: ... here.
2009-12-18Use explicit type int when defining register variablesGuillem Jover
* linux/src/drivers/scsi/aha1542.c (WAIT, WAITd): Define variables with explicit type `register int' and not just `register'.
2009-11-28Add sis900 driverSamuel Thibault
2005-05-01 Andreas B. Mundt <andi.mundt@web.de> * i386/README-Drivers: Likewise. * i386/linux/Makefile.in (linux-net-files): Added 'sis900'. * i386/linux/configure.ac (sis900): New driver. * linux/dev/drivers/net/Space.c: Add conditional probes 'sis900' driver. * linux/src/drivers/net/sis900.c: New file. * linux/src/drivers/net/sis900.h: Likewise.
2009-11-01Show EATA probing progressionSamuel Thibault
* linux/src/drivers/scsi/eata.c (port_detect): Print the port being probed.
2009-10-14Update constants to nowadays standardsSamuel Thibault
kern/zalloc.c (zone_map_size): Increase to 64MiB. i386/i386at/model_dep.c (mem_size_init): Reduce cap to 1/6 of memory space to save room for zalloc area. linux/src/drivers/block/ide.h (INITIAL_MULT_COUNT): Set to 16. vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Set to 64. vm/vm_object.c (vm_object_cached_max): Set to 4000.
2009-06-182008-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* linux/src/include/linux/tqueue.h (queue_task_irq, queue_task_irq_off, queue_task, run_task_queue): Turn into static inlines.
2009-06-182008-07-15 Barry deFreese <bddebian@comcast.net>Samuel Thibault
* device/dev_pager.c (device_pager_data_request, device_pager_data_request_done, device_pager_init_pager): Fix printf formats. * i386/i386/debug_i386.c (dump_ss): Likewise. * i386/i386/trap.c (user_trap): Likewise. * i386/i386at/com.c (comtimer): Likewise. * ipc/ipc_notify (ipc_notify_port_deleted, ipc_notify_msg_accepted, ipc_notify_port_destroyed, ipc_notify_no_senders, ipc_notify_send_once, ipc_notify_dead_name): Likewise. * kern/ipc_kobject.c (ipc_kobject_destroy): Likewise. * kern/sched_prim.c (do_runq_scan): Likewise. * linux/pcmcia-cs/clients/smc91c92_cs.c (smc_start_xmit): Likewise. * linux/src/drivers/net/sundance.c (start_tx): Likewise. * vm/vm_fault.c (vm_fault_page): Likewise. * vm/vm_map.c (vm_map_pmap_enter): Likewise. * vm/vm_object.c (vm_object_collapse): Likewise.
2009-06-18 * linux/src/drivers/net/rtl8139.c (rtl8129_open): Move IRQSamuel Thibault
initialization after ring initialization.
2009-06-18 * linux/src/drivers/block/triton.c (ide_init_triton): Enable BusSamuel Thibault
Mastering if not enabled by BIOS.
2009-06-182007-12-11 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/include/linux/nfs.h: Remove unused file. * linux/src/include/linux/nfs.h: Likewise.
2009-06-182007-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* i386/i386/db_interface.c (int_regs): Drop gs and fs fields. (kdb_kentry): Get fs and gs from struct i386_interrupt_state instead of struct int_regs. * i386/i386/kttd_interface.c (int_regs, kttd_netentry): Likewise. * i386/i386/locore.S (all_intrs): Save fs and gs and set them to kernel segment too. (return_to_iret): Restore fs and gs too. (return_to_iret_i): Likewise. (ast_from_interrupt): Set fs and gs to kernel segment too. (kdb_from_iret): Don't save/restore fs and gs either. (ttd_from_iret): Likewise. * i386/i386/thread.h (i386_interrupt_state): Add gs and fs fields. * linux/src/include/asm-i386/irq.h (SAVE_ALL): Set gs to kernel segment too.
2009-06-182007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
* linux/dev/arch/i386/kernel/irq.c: Include <asm/hardirq.h>. (local_bh_count, local_irq_count, global_irq_holder, global_irq_lock) (global_irq_count, check_smp_invalidate, show, wait_on_bh) (wait_on_irq, synchronize_bh, synchronize_irq, get_irqlock) (__global_cli, __global_sti, __global_save_flags) (__global_restore_flags): New variables and functions from Linux 2.2 * linux/src/drivers/net/3c515.c (test_and_set_bit): Remove macro. * linux/src/drivers/net/de4x5.c (test_and_set_bit): Remove macro. * linux/src/drivers/net/eth16i.c (test_and_set_bit): Remove macro. * linux/src/drivers/net/kern_compat.h (test_and_set_bit): Remove macro. * linux/src/drivers/net/pcnet32.c (test_and_set_bit): Remove macro. * linux/src/include/linux/compatmac.h (test_and_set_bit) (test_and_clear_bit): Remove macro. * linux/src/include/asm-i386/atomic.h (atomic_read): New macro. * linux/src/include/asm-i386/bitops.h (test_and_set_bit) (test_and_clear_bit, test_and_change_bit): New inline functions. * linux/src/include/asm-i386/hardirq.h (local_bh_count): New declaration. * linux/src/include/linux/tasks.h (NR_CPUS): Set to NCPUS. (NO_PROC_ID): New macro.
2009-06-182007-04-24 Michael Casadevall <sonicmctails@gmail.com>Thomas Schwinge
* linux/src/drivers/net/ne.c (bad_clone_list): Add the RealTek 8029 PCI card's signature. <http://lists.gnu.org/archive/html/bug-hurd/2007-04/msg00039.html>
2009-06-182007-03-27 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* kern/pcsample.h: Remove the automatic cvs log appending machinery. * linux/dev/drivers/scsi/g_NCR5380.c: Likewise. * linux/src/drivers/net/sk_g16.h: Likewise. * linux/src/drivers/scsi/AM53C974.c: Likewise. * linux/src/drivers/scsi/AM53C974.h: Likewise. * linux/src/drivers/scsi/NCR5380.c: Likewise. * linux/src/drivers/scsi/NCR5380.h: Likewise. * linux/src/drivers/scsi/aha152x.c: Likewise. * linux/src/drivers/scsi/aha1542.h: Likewise. * linux/src/drivers/scsi/g_NCR5380.c: Likewise. * linux/src/drivers/scsi/g_NCR5380.h: Likewise. * linux/src/drivers/scsi/gdth.c: Likewise. * linux/src/drivers/scsi/qlogicisp.c: Likewise. * linux/src/drivers/scsi/qlogicisp.h: Likewise. * linux/src/drivers/scsi/t128.c: Likewise. * linux/src/drivers/scsi/t128.h: Likewise.
2009-06-182006-11-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Samuel Thibault
Asm tidy. * i386/i386/fpe_linkage.c (disable_fpe): Gather dependent asm statements, add `ax' clobber. (fpe_exception_fixup): Drop bogus cast from input parameter of lcall asm statement. * i386/i386/pio.h (inw, outw): Drop 0x66 prefix an just use the w instruction variant. * i386/i386/proc_reg.h: (get_eflags, get_tr, get_ldt): Drop useless "volatile" from asm statement. (get_esp): Use direct asm register specification. * i386/include/mach/i386/cthreads.h (cthread_sp): Likewise. * i386/intel/pmap.c (pmap_unmap_page_zero): Fix asm clobber into `eax'. De4x5 probe fixup. * linux/src/drivers/net/de4x5.c (pci_probe): Make probe loop stop on any error, not only device not found.
2009-06-18ChangeLog fixups.Samuel Thibault
2009-06-182006-10-09 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/src/drivers/scsi/in2000.c (in2000_proc_info) [PROC_INTERFACE]: Don't consider `__DATE__' and `__TIME__'.
2009-06-182006-10-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/drivers/scsi/scsi.h: Move file... * linux/src/drivers/scsi/scsi.h: ... here.
2009-06-182006-10-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/drivers/scsi/seagate.c: Move file... * linux/src/drivers/scsi/seagate.c: ... here.
2009-06-182006-10-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/drivers/scsi/aha152x.c: Move file... * linux/src/drivers/scsi/aha152x.c: ... here.
2009-06-182006-10-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/drivers/scsi/sr.c: Move file... * linux/src/drivers/scsi/sr.c: ... here.
2009-06-182006-10-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/drivers/scsi/sd_ioctl.c: Move file... * linux/src/drivers/scsi/sd_ioctl.c: ... here.
2009-06-182006-10-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/drivers/scsi/sd.c: Move file... * linux/src/drivers/scsi/sd.c: ... here.
2009-06-182006-10-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/drivers/block/ide.c: Move file... * linux/src/drivers/block/ide.c: ... here.
2009-06-182006-10-08 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* linux/dev/drivers/block/ide-cd.c: Remove file. * linux/src/drivers/block/ide-cd.c (cdrom_sleep): Don't define function `#ifndef MACH'.
2009-06-182006-06-09 Stefan Siegl <stesie@brokenpipe.de>Thomas Schwinge
* linux/dev/include/asm-i386/uaccess.h: New dummy file. * linux/dev/include/linux/pm.h: Likewise. * linux/dev/include/linux/threads.h: Likewise. * linux/src/include/linux/symtab_begin.h: New file from Linux 2.0.40. * linux/src/include/linux/symtab_end.h: Likewise. * linux/src/include/linux/module.h: Update from Linux 2.0.40 with minor changes. * linux/src/include/linux/list.h: New file from Linux 2.2.26. * linux/src/include/linux/kcomp.h: Likewise with minor changes. * linux/src/include/linux/wait.h: Update from Linux 2.2.26. * linux/src/include/linux/wireless.h: Likewise. * linux/src/include/asm-i386/bitops.h [__KERNEL__] (ffs, hweight32) (hweight16, hweight8): Copy from Linux 2.2.26.