- 03 Oct, 2002 1 commit
-
-
Kai Germaschewski authored
The top-level Makefile is separated into two parts, one which does include .config, so it can access CONFIG_FOO, and one which does not, since it may not even exist yet (make *config). However, both parts need to include arch/$(ARCH)/Makefile, be it for arch-specific settings or just for archclean/archmrproper. So we now include arch/$(ARCH)/Makefile before the config/noconfig split, which also has the advantage of giving us the arch-specific build dirs (e.g. arch/i386/{kernel,mm,lib}) in both cases. In addition, fix a couple of small glitches (make menuconfig, make modules_install, proper output when descending)
-
- 02 Oct, 2002 9 commits
-
-
Kai Germaschewski authored
Instead of using make -C <subdir>, just use make -f <subdir>/Makefile. This means we now call gcc/ld/... always from the topdir. Advantages are: o We don't need to use -I$(TOPDIR)/include and the like, just -Iinclude works. o __FILE__ gives the correct relative path from the topdir instead of an absolute path, as it did before for included headers o gcc errors/warnings give the correct relative path from the topdir o takes us a step closer to a non-recursive build (though that's probably as close as it gets) The changes to Rules.make were done in a way which only uses the new way for the standard recursive build (which remains recursive, just without cd), all the archs do make -C arch/$(ARCH)/boot ..., which should keep working as before. However, of course this should be converted eventually, it's possible to do so piecemeal arch by arch. It seems to work fine for most of the standard kernel. Potential places which need changing are added -I flags to the command line, which now need to have the path relative to the topdir and explicit rules for generating files, which need to properly use $(obj) / $(src) to work correctly.
-
Kai Germaschewski authored
As noticed by Sam Ravnborg, we need the targets in scripts (fixdep, in particular) considered always, i.e. also when compiling modules.
-
Kai Germaschewski authored
The capitalized aliases $(CORE_FILES) etc are basically superfluous now, move the remaining users to $(core-y) and the like.
-
Kai Germaschewski authored
$(CORE_FILES) did not quite follow the way the other vmlinux parts where handled, due to potential init order dependencies. However, it seems everybody is putting arch specific stuff in front, so we keep doing this and nothing should break ;)
-
Kai Germaschewski authored
Makefiles which still use obsolete 2.4 constructs now give a warning.
-
Kai Germaschewski authored
Add a couple of missing $(obj) and the like. Also, remove the __chmod hack which made some files in the source tree executable - hopefully, everybody's copy is by now ;)
-
Kai Germaschewski authored
ACPI was a bit lazy and just said compile all .c files in this directory, which is different from all other Makefiles and will not work very well e.g. bk, where a .c file may not be checked out yet, or separate obj/src dirs. So just explicitly list the files we want to compile.
-
Kai Germaschewski authored
xfs.o is built as one modules out of objects distributed into multiple subdirs. That is okay with the current kbuild, you just have to include the path for objects which reside in a subdir, then. xfs used vpath instead of explicitly adding the paths, which is inconsistent and conflicts e.g. with proper module version generation.
-
Kai Germaschewski authored
o Use a function "descend" for descending into subdirectories o Remove unused (?) "boot" target o Remove unnecessary intermediate "sub_dirs" target from Rules.make o Use /bin/true instead of echo -n to suppress spurious "nothing to be done for ..." output from make
-
- 01 Oct, 2002 30 commits
-
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/src/kernel/v2.5/linux-2.5.make
-
Kai Germaschewski authored
-
Linus Torvalds authored
-
Trond Myklebust authored
Fix the tests for readdir reply truncation so that we don't get uncalled for kernel verbiage.
-
Art Haas authored
-
http://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Jeff Garzik authored
-
Jeff Garzik authored
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
-
Jeff Garzik authored
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
-
Jaroslav Kysela authored
- deleted sound/pci/ice1712.c - fixed Makefile to point to sound/pci/ice1712 directory - added Ensoniq SoundScape header file and HWDEP IFACE - CS4231 - added CS4231_HW_AD1845 and register definitions for AD1845 - USB - added snd-rawmidi.o to the snd-usb-audio's dependency if sequencer is - PCI DMA allocation - fixed the wrapper again - AC'97 codec - added HSD11246 identification (Conexant), a bit improved proc contents - CMIPCI - changed the DMA configuration for period size - fixed compile with SOFT_AC3 option - added PCM_INFO_PAUSE to hw settings. now pause should work properly - corrected the modem on/off bit (FLINK) - ICE1712 - compilation fixes - intel8x0 - use mmio for codec on nforce (pci resource 2) - clean up and fix ali5455 codes - RME32 - enable 88.2/96kHz on capture with CS8414 - VIA82xx - fixed the size of allocated bd array to be released - fixed the allocation size of idx_table - PPC Awacs - replaced one more mdelay() with schedule - try to touch mic boost on screamer at init - USB Audio - reset each interface at initialization - reset the old interface if a new interface is chosen - don't claim the interface which already claimed
-
Jaroslav Kysela authored
- changed bitmap_member -> DECLARE_BITMAP - EMU10K1 - added gpr_list_control* variables to emu10k1_fx8010_code_t - added snd_emu10k1_list_controls for code_peek() and fixes few typos - ICE1712 - split ice1712 code to several files for better readability
-
Jaroslav Kysela authored
- OSS mixer emulation - save the current volume values permanently - PCM midlevel - fixed 64bit division on non-ix86 32bit architectures - exported snd_pcm_new_stream() - PCI DMA allocation - fixes and updates - PCM Scatter-Gather code - don't set runtime->dma_bytes if runtime is null - CMI8330 - fix nor non-IsaPnP build - CMIPCI - added "Mic As Center/LFE" switch for model 039 or later - more initialization of structs in C99 style - intel8x0 - fixes for nvidia nforce - Maestro3 - added quirk for CF72 toughbook - VIA82xx - reset codec only when it's not ready - USB Audio - fixed oops at unloading if non-intialized substream exists - show interface number in proc files - clean up and fixed the parser of audio streams
-
Jaroslav Kysela authored
- AC'97 codec - added support/detection for MC'97 (modem codecs) - improved/updated register bit constants - AD1980 codec ID with patch code - added eMicro and Philips UCB1400 codecs - PCM Scatter-Gather support - added a function snd_pcm_sgbuf_get_addr() - rewritten PCI DMA allocation - ENS1371 - fixed IEC958 control index when AC'97 codec has S/PDIF capability, too - intel8x0 - don't break when second codec cannot be initialized - via82xx - improved sg buffer handling - added "Input Source Select" control for via8233 - fixed the registers for via8233 - fixed the detection of via8233 chip - clean up the configuration of bd arrays - USB Audio - added the missing initialization of curframesize field (fixes capture)
-
Jaroslav Kysela authored
- VIA686 and VIA8233 driver merge to VIA82xx - ioctl32 fixes - fixed OOPS in snd_pcm_sgbuf_delete (not initialized) - I2C - call hw_stop() before returning at the error pointer - AC'97 codec - added more AC97 IDs by Laszlo Melis - CS46xx - mutex initialization fix - ENS1371 - added one more card to S/PDIF capabilities - intel8x0 - fixed secondary and third codec indexes - PPC Keywest - initialize MCS in loop until it succeeds - PPC Tumbler - the initial support for snapper (TAS3004) on some tibook - USB Audio - mixer fixes
-
Jaroslav Kysela authored
- AC'97 codec - added ac97_can_amap() condition - removed powerup/powerdown sequence when sample rate is changed - added ac97_is_rev22 check function - added AC97_EI_* defines - available rates are in array - CS46xx - improved the SCB link mechanism - SMP deadlock should have been fixed now - OSS mixer emulation - added the proc interface for the configuration of OSS mixer volumes - rawmidi midlevel - removed unused snd_rawmidi_transmit_reset and snd_rawmidi_receive_reset functions - USB MIDI driver - integration of USB MIDI driver into USB audio driver by Clemens - intel8x0 - the big intel8x0 driver update - added support for ICH4 - rewrited I/O (the third AC'97 codec registers are available only through memory) - code cleanups - ALI5455 specific code - added proc interface - VIA686, VIA8233 - set the max periods to 128
-
Jaroslav Kysela authored
- CS46xx - SPDIF input fixes - fixed missplaced #ifndef - amplifier fix for Game Theater XP - refine on the PCM multichannel functionality - EMU10K1 - added the support for Audigy spdif controls - PCM midlevel - fixed hw_free (wrong state for drivers with no callback - fixed sw_params (runtime) lock - AC'97 codec - fixed spin deadlock - CS4281 - fixed wrong mdelays and allowed scheduling in module_init - PPC drivers - added the missing inclusion of linux/slab.h - USB MIDI driver - replaced urb_t -> struct urb
-
Jaroslav Kysela authored
- C99 structure initializers - second set of changes - USB MIDI driver - more device info for Roland/EDIROL devices
-
Jaroslav Kysela authored
- added USB Audio and USB MIDI drivers - VIA686 - AC97 cold reset only when AC-link is down
-
Jaroslav Kysela authored
- C99-like structure initializers - first bunch of changes - CS46xx - fixed the compile with the older image - AC'97 codec - added the ids for ITE chips - check the validity of registers always in the limited register mode - intel8x0 - allow ICH4 to proceed without probing PCR / SCR bits - VIA686 - AC97 cold reset only when AC-link is down
-
Jaroslav Kysela authored
- removed __NO_VERSION__ - CS46xx - SDPIF input support, only 48khz - PCM multichannel bug fix - EMU10K1 - Added workaround for EMU10K1 capture (wrong pointer) - Keywest (PPC) - fixed the initialization of driver
-
Jaroslav Kysela authored
- Corrections for PCM sample silence (24-bits) - OPL3 code fixes (delays) - CS4281 - added the power management code - added mixer controls for internal FM and PCM volumes - EMU10K1 - fixed the dma mask - ICE1712 - replaced EREMOTE with EIO - check the return value from ews88mt_chip_select() - Maestro3 - corrected the wrong pci id for inspiron 8000 - use the quirk list for gpio workarounds
-
Pavel Machek authored
This cleans up swsusp a little bit and fixes ide disk corruption on suspend/resume. Pavel
-
Christoph Hellwig authored
I see you just applied my patch to make destroy_workqueue do the flush. Fix up XFS for it.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Christoph Hellwig authored
-
Christoph Hellwig authored
This is a huge performance drop for SMP, but at least XFS is working again. Expect a better solution soon.
-
Ingo Molnar authored
This is the next iteration of the workqueue abstraction. The framework includes: - per-CPU queueing support. on SMP there is a per-CPU worker thread (bound to its CPU) and per-CPU work queues - this feature is completely transparent to workqueue-users. keventd automatically uses this feature. XFS can now update to work-queues and have the same per-CPU performance as it had with its per-CPU worker threads. - delayed work submission there's a new queue_delayed_work(wq, work, delay) function and a new schedule_delayed_work(work, delay) function. The later one is used to correctly fix former tq_timer users. I've reverted those changes in 2.5.40 that changed tq_timer uses to schedule_work() - eg. in the case of random.c or the tty flip queue it was definitely the wrong thing to do. delayed work means a timer embedded in struct work_struct. I considered using split struct work_struct and delayed_work_struct types, but lots of code actively uses task-queues in both delayed and non-delayed mode, so i went for the more generic approach that allows both methods of work submission. Delayed timers do not cause any other overhead in the normal submission path otherwise. - multithreaded run_workqueue() implementation the run_workqueue() function can now be called from multiple contexts, and a worker thread will only use up a single entryy - this property is used by the flushing code, and can potentially be used in the future to extend the number of per-CPU worker threads. - more reliable flushing there's now a 'pending work' counter, which is used to accurately detect when the last work-function has finished execution. It's also used to correctly flush against timed requests. I'm not convinced whether the old keventd implementation got this detail right. - i switched the arguments of the queueing function(s) per Jeff's suggestion, it's more straightforward this way. Driver fixes: i have converted almost every affected driver to the new framework. This cleaned up tons of code. I also fixed a number of drivers that were still using BHs (these drivers did not compile in 2.5.40). while this means lots of changes, it might ease the QA decision whether to put this patch into 2.5. The pach converts roughly 80% of all tqueue-using code to workqueues - and all the places that are not converted to workqueues yet are places that do not compile in vanilla 2.5.40 anyway, due to unrelated changes. I've converted a fair number of drivers that do not compile in 2.5.40, and i think i've managed to convert every driver that compiles under 2.5.40.
-
Paul Mackerras authored
The patch below is a forward-port from 2.4 of a fix that went in to the 2.4.x PCMCIA code some time back. It makes sure that that we request I/O and memory regions from the correct resource (the parent of the PCMCIA bridge chip, for PCMCIA bridges connected to a PCI bus) rather than always requesting them from the top-level ioport_resource or iomem_resource.
-