Age | Commit message (Collapse) | Author |
|
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* i386/bogus/at3c501.h: Remove file.
* i386/i386at/if_3c501.c: Likewise.
* i386/i386at/if_3c501.h: Likewise.
* i386/i386at/autoconf.c: Don't include <at3c501.h> anymore and adopt
all users of NAT3C501 as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
|
|
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* i386/bogus/ns8390.h: Remove file.
* i386/i386at/ds8390.h: Likewise.
* i386/i386at/if_3c503.h: Likewise.
* i386/i386at/if_ns8390.c: Likewise.
* i386/i386at/if_ns8390.h: Likewise.
* i386/i386at/if_wd8003.h: Likewise.
* i386/i386at/autoconf.c: Don't include <ns8390.h> anymore and adopt
all users of NNS8390 as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
|
|
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* i386/bogus/ne.h: Remove file.
* i386/i386at/if_ne.c: Likewise.
* i386/i386at/if_nereg.h: Likewise.
* i386/i386at/autoconf.c: Don't include <ne.h> anymore and adopt all
users of NNE as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
|
|
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* i386/bogus/pc586.h: Remove file.
* i386/i386at/i82586.h: Likewise.
* i386/i386at/if_pc586.c: Likewise.
* i386/i386at/if_pc586.h: Likewise.
* i386/i386at/autoconf.c: Don't include <pc586.h> anymore and adopt all
users of NPC586 as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
|
|
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* i386/bogus/fd.h: Remove file.
* i386/i386at/fd.c: Likewise.
* i386/i386at/fdreg.h: Likewise.
* i386/i386at/nfd.c: Likewise.
* i386/i386at/nfdreg.h: Likewise.
* i386/Makefile.in (i386at-files): Remove `fd.c'.
* i386/i386at/autoconf.c: Don't include <fd.h> anymore and adopt all
users of NFD as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
|
|
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* i386/bogus/hd.h: Remove file.
* i386/i386at/nhd.c: Likewise.
* i386/i386at/nhdreg.h: Likewise.
* i386/i386at/autoconf.c: Don't include <hd.h> anymore and adopt all
users of NHD as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
|
|
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* DEVELOPMENT: New file.
|
|
* Makerules.in: Don't set no_deps to true if MAKECMDGOALS is empty.
|
|
|
|
* Makerules.in: Set no_deps to true if we don't need the dependency
files.
* i386/linux/Makefile.in: Do care about linux-flags if no_deps is true;
reverting the change from 2006-01-31.
|
|
* Makefile.in: Include Makerules through top_builddir, so that it will
automatically be rebuilt if needed.
|
|
* Makerules.in: Add -fno-strict-aliasing to CFLAGS.
* i386/linux/Makefile.in: Likewise for linux-gen-flags.
|
|
* linux/src/drivers/scsi/eata_pio.c (eata_pio_detect): Fix a
off-by-one error when probing.
* linux/src/drivers/scsi/eata_dma.c (eata_detect): Likewise.
* linux/dev/drivers/scsi/eata_dma.c (eata_detect): Likewise.
|
|
* linux/src/drivers/net/apricot.c (apricot_probe): Increase eth_addr
size to 8 so we do not trash the stack when reading from the io ports.
|
|
* Makerules.in: Move a comment ...
* Makefile.in: ... here.
|
|
* linux/dev/drivers/block/genhd.c (add_bsd_partition): Only define if
both MACH and CONFIG_BSD_DISKLABEL are defined.
Reported by Matheus Morais <matheus.morais@gmail.com>.
|
|
|
|
Cleanup of GNU Mach's build system. The system dependend parts are now
handeled by the respective Makefile and no longer by the top-level one.
* configure, i386/configure, i386/linux/configure, linux/configure:
Regenerated.
* Makefile.in: Various cleanups.
(mach/machine, mach_machine): Targets removed.
(AWK, CC, CFLAGS, CPPFLAGS, DEFINES, INCLUDES, INSTALL, INSTALL_DATA)
(INSTALL_PROGRAM, LD, MIG, MIGFLAGS, NM): Variables moved into
Makerules.in.
Do not include $(sysdep)/Makefrag anymore.
(all, check, clean, distclean, mostlyclean, maintainer-clean, install)
(install-headers, install-kernel): Recurse into the system dependend
subdirectory.
(check): Add a basic test using mbchk.
(clean, distclean): Be more explicit in what to delete.
($(systype)/%): New target.
(kernel.o): Incorporate the system dependend archive.
(installed-sysdep-headers-names, $(installed-sysdep-headers-names)):
Variable and target moved into the system dependend Makefile.in.
(install-headers, mkheaderdirs): Don't care for the system dependend
header files.
(%.symc, %.symc.o, %.h, %_user.c, %_interface.h, %_server.c): Targets
moved into Makerules.in.
Inclusion of dependency files: Likewise.
(%.migs_d, %.migu_d, %.migsh_d, %.miguh_d, make-deps, %.d): Likewise.
Include Makerules.
* Makerules.in: New file, mainly based on Makefile.in.
* configure.in: Do not substitute cross_compiling and not explicitly
substitute LDFLAGS.
Check for cpp, ranlib, ar and mbchk.
Care for the mach/machine symbolic link.
Add Makerules as a config file.
* i386/Makefile.in: Various cleanups.
Merge i386/Makefrag and the system dependent stuff from Makefile.in
into this file.
(all, check, install, install-headers, install-kernel): Recurse into
the system dependend subdirectory.
(sysdep.o): transformed to the new target sysdep.a.
(linux/linux.o): Target removed.
(clean, distclean): Be more explicit in what to delete.
(linux/%): New target.
(install-headers): Install the system dependend header files.
(mkheaderdirs): New target.
Include the top-level Makerules.
* i386/Makefrag: File removed.
* i386/Makerules.in: New file.
* i386/configure.in: Synchronize AC_INIT to the top-level definition.
Do not check for ld and make.
Add Makerules as a config file.
* i386/linux/Makefile.in: Various cleanups.
Replace linux-objs with objfiles.
(check, install, install-headers, install-kernel): New empty targets.
Don't care about linux-flags if no_deps is true.
Inclusion of dependency files removed and instead...
Include the top-level Makerules.
* i386/linux/Makerules.in: New file.
* i386/linux/configure.ac: Synchronize AC_INIT to the top-level
definition.
Do not check for gcc and ld.
Do not explicitly substitute LDFLAGS.
Add Makerules as a config file.
* linux/configure.in: Synchronize AC_INIT to the top-level definition.
Do not create directories using a dummy file.
* linux/dummy.in: File removed.
* ddb/db_access.h: Include <machine/vm_param.h> instead of
"vm_param.h".
* kern/bootstrap.c: Likewise.
* kern/thread.c: Likewise.
* vm/vm_kern.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_resident.c: Likewise.
|
|
* config.guess: Updated from the canonical source.
* config.sub: Likewise.
|
|
* i386/i386/locore.S (trap_push_segs): Switch fs and gs to kernel
data segment too.
(syscall_entry_2): Likewise.
* i386/i386/user_ldt.c (i386_set_ldt): Always copy the master LDT
when there is no old user LDT.
|
|
* linux/dev/arch/i386/kernel/irq.c (linux_intr): Disable interrupts
if the driver requested it through request_irq().
|
|
* linux/dev/drivers/block/ide.c (read_intr): Set the IRQ handler before
issuing a request.
(write_intr): Likewise.
(multwrite_intr): Likewise.
|
|
* i386/linux/Makefile.in: Automatically recreate the `Makefile'.
|
|
* i386/linux/configure: Regenerated.
* i386/linux/configure.ac: Only add a AC_DRIVER_ALIAS if it really is a
alias.
|
|
* doc/mach.texi (Configuration): Document the recently added drivers.
* i386/README-Drivers: Likewise.
|
|
* configure, i386/configure, i386/linux/configure, linux/configure,
i386/linux/device-drivers.h.in: Regenerated.
* linux/src/drivers/net/ne2k-pci.c: Resolve conflicts.
2006-01-22 Guillem Jover <guillem@hadrons.org>
* i386/linux/configure.ac: Renamed winbond-840 driver to winbond_840.
Enable the starfire, intel_gige and natsemi network drivers. Remove
"CONFIG_" from cb_chim, starfire, sundance, winbond840, hamachi,
natsemi, myson803 and ns820 driver declarations. Replace INTER_GIGE
with INTEL_GIGE.
* linux/dev/drivers/net/Space.c: Add conditional probes for natsemi,
ns820, winbond840, hamachi, sundance, starfire, myson803 and intel-gige
drivers.
* linux/src/include/asm-i386/cache.h: New file from linux 2.2.26.
* linux/dev/include/linux/malloc.h: Include <asm/cache.h>.
* linux/src/drivers/net/ns820.c (netsami_drv_id): Renamed to ...
(ns820_drv_id): ... this. Fix all callers.
* linux/src/drivers/net/intel-gige.c
(skel_netdev_probe): Renamed to ...
(igige_probe): ... this.
* linux/dev/drivers/net/eepro100.c: Remove obsoleted file.
* linux/src/drivers/net/eepro100.c (pci_id_tbl): Add PCI ID's from
linux-2.6.14-rc4.
2006-01-22 Alfred M. Szmidt <ams@gnu.org>
* i386/linux/configure.ac: Added `pci-scan.o' to the network driver
class. (ns820, myson803, sundance, winbond-840, hamachi): New drivers.
* i386/linux/Makefile.in (linux-net-files): Added `cb_shim.c',
`hamachi.c', `intel-gige.c', `myson803.c', `natsemi.c', `ns820.c',
`starfire.c', `sundance.c', `winbond-840.c' and `pci-scan.c'.
* linux/dev/include/linux/modversions.h: New file.
* linux/src/drivers/net/cb_shim.c, linux/src/drivers/net/hamachi.c,
linux/src/drivers/net/intel-gige.c, linux/src/drivers/net/myson803.c,
linux/src/drivers/net/natsemi.c, linux/src/drivers/net/ns820.c,
linux/src/drivers/net/starfire.c, linux/src/drivers/net/sundance.c,
linux/src/drivers/net/winbond-840.c,
linux/src/drivers/net/kern_compat.h, linux/src/drivers/net/pci-scan.c,
linux/src/drivers/net/pci-scan.h: New files from netdrivers 3.5 package
(http://www.scyld.com/network).
* linux/src/drivers/net/3c59x.c, linux/src/drivers/net/eepro100.c,
linux/src/drivers/net/epic100.c, linux/src/drivers/net/ne2k-pci.c,
linux/src/drivers/net/rtl8139.c, linux/src/drivers/net/tulip.c,
linux/src/drivers/net/via-rhine.c, linux/src/drivers/net/yellowfin.c:
Updated files from netdrivers 3.5 (http://www.scyld.com/network).
|
|
* linux/src/drivers/net/ne2k-pci.c (ne_block_input, ne_block_output):
Fix previous patch.
|
|
* configure: Regenerated.
* i386/configure: Regenerated.
* Drivers.macros (AC_DRIVER_CLASS): Use AH_TEMPLATE.
(AC_DRIVER): Set the value for the AC_DEFINE and AC_DEFINE_UNQUOTED
to 1.
* aclocal.m4 (AC_PROG_CC_LOCAL, AC_PROG_CC_WORKS_LOCAL): Removed.
* version.m4: New file.
* Makefile.in: Use PACKAGE_VERSION, not VERSION.
* doc/Makefile.in: Likewise.
* version.c.in: Likewise. Use PACKAGE_NAME, not "GNUmach".
* i386/linux/Makefile.in (configure): Change its source to
configure.ac.
* aclocal.m4: Add missing quotations.
* Drivers.macros: Likewise.
* configure.in: Likewise. Include version.m4 and use PACKAGE and
VERSION m4 macros from it.
* i386/configure.in: Likewise.
(AC_INIT): Use new syntax and move source check to AC_CONFIG_SRCDIR.
* i386/linux/configure.ac: Likewise. Use m4_sinclude, not sinclude.
* linux/configure.in: Likewise.
* i386/configure.in: Update AC_DEFINE to the new three argument form.
* i386/linux/configure.ac: Move AC_DEFINE inside AC_ARG_ENABLE.
* configure.in: Use AC_CONFIG_LINKS, not AC_LINK_FILES.
* linux/configure.in: Likewise.
* i386/configure.in: Call AC_CONFIG_FILES and use the new form of
AC_OUTPUT.
* i386/linux/configure.ac: Likewise.
* linux/configure.in: Likewise
* configure.in: Use AS_HELP_STRING in AC_ARG_ENABLE help strings.
* Drivers.macros: Likewise.
* i386/configure.in: Likewise.
* i386/linux/configure.ac: Likewise.
2005-07-12 Neal H. Walfield <neal@cs.uml.edu>
* configure.in: Update to use autoconf 2.57.
Do not error out if host_os is not GNU.
Update AC_DEFINEs to the required three argument form.
Don't call AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC_LOCAL, just use
AC_PROG_CC.
AC_SUBST(LDFLAGS).
Refactor AC_CONFIG_SUBDIRS to not do variable substitution.
Call AC_CONFIG_FILES and use the new form of AC_OUTPUT.
* i386/configure.in: Require autoconf 2.57.
* linux/configure.in: Likewise.
* i386/linux/Drivers.in: Move from here...
* i386/linux/configure.ac: ... to here to conform to the
environment autoreconf expects.
(hurd_host_CPU): New macro.
Call AC_PROG_CC, not AC_PROG_CC_LOCAL.
AC_SUBST(LD_FLAGS).
(flashpoint): Update AC_DEFINE to the new three argument form.
* Drivers.macros (AC_DRIVER): Update AC_DEFINE to the new three
argument form.
|
|
* i386/include/mach/i386/asm.h (END): New macro.
* i386/include/mach/i386/syscall_sw.h (kernel_trap): Call END.
|
|
* linux/src/drivers/scsi/u14-34f.c (ihdlr): Silence gcc 4.x
errors.
* linux/src/drivers/scsi/qlogicisp.h: Likewise.
* linux/src/drivers/scsi/advansys.c: Likewise.
(advansys_reset, advansys_interrupt, asc_scsi_done_list,
(asc_enqueue, asc_dequeue, asc_dequeue_list, asc_rmqueue,
(asc_isqueued): Likewise.
* linux/src/drivers/scsi/53c78xx.c (NCR53c7xx_queue_command):
Likewise.
* linux/src/drivers/net/ne2k-pci.c (ne_block_input)
(ne_block_output): Likewise.
* linux/src/drivers/net/hp100.c (__initfunc): Likewise.
* linux/src/drivers/net/3c507.c (el16_interrupt): Likewise.
* linux/dev/drivers/scsi/seagate.c (seagate_st0x_queue_command):
Likewise.
|
|
* device/cons.h (cn_tab) [KERNEL]: Removed extern declaration.
* linux/dev/include/linux/fs.h (super_blocks): Declare as an
pointer.
|
|
* linux/dev/glue/block.c (rdwr_partial): Remove leftover assert.
|
|
* linux/dev/include/linux/skbuff.h (skb_put, skb_push): Fix errors
for deprecated use of labels at end of compound statements.
* i386/i386/fpe_linkage.c (enable_fpe): Declare prototype.
|
|
* linux/src/drivers/scsi/qlogicisp_asm.c: Remove file with binary
only firmware.
* linux/src/drivers/scsi/qlogicisp.c: Do not include "qlogicisp_asm.c".
(RELOAD_FIRMWARE): Set to 0.
(risc_code_addr01): New variable from qlogicisp_asm.c.
* linux/Files: Remove linux/src/drivers/scsi/qlogicisp_asm.c.
|
|
* linux/dev/kernel/printk.c: Include <kern/assert.h>.
(printk): Use vsnprintf, not linux_vsprintf to avoid buffer
overruns.
* kern/printf.c (struct vsnprintf_cookie): New structure.
(snputc): New function.
(vsnprintf): Likewise.
|
|
* bogus/mach_assert.h: Change #ifdef DEBUG to #ifndef NDEBUG
for assert et al.
* kern/assert.h: Likewise.
* kern/debug.h: Likewise.
* util/debug.h: Likewise.
* i386/i386/debug.h: Move dump_ss definition out of [DEBUG].
* linux/dev/glue/block.c (rdwr_full): Remove invalid assert.
|
|
* linux/dev/glue/block.c (__brelse): Unconditionally kfree BH.
(getblk): Unconditionally kalloc BH.
* kern/kalloc.c [!NDEBUG] (kalloc_init_called): New static
variable.
(kalloc_init): Assert that kalloc_init_called is zero.
[! NDEBUG] Set kalloc_init_called to 1 on success.
(kalloc): Assert that kalloc_init_called is non-zero.
(kget): Likewise.
(kfree): Likewise.
|
|
* i386/i386/locore.S (discover_x86_cpu_type): Enable function.
Enable ID flag for Cyrix CPU. Use %ebp to save the stack pointer.
Restore EFLAGS just after its last usage.
* i386/i386at/model_dep.c (c_boot_entry): Enable use of
discover_x86_cpu_type. Remove hardcoded cpu_type assignment.
* i386/include/mach/i386/eflags.h
(EFL_VI, EFL_VIP): New bits.
(EFL_AC, EFL_ID): Bits finally added.
|
|
* i386/i386/fpe.b: Remove binary without source.
* i386/i386/fpe.b_elf: Likewise.
* i386/i386/fpe_linkage.c: Disable the code if [! FPE].
* i386/bogus/fpe.h: Add comment about not having an fpe implementation.
* i386/Makefrag (objfiles): Do not add fpe.o.
Remove targets to generate fpe.o.
|
|
* i386/i386/fpe.b: Remove binary without source.
* i386/i386/fpe.b_elf: Likewise.
* i386/i386/fpe_linkage.c: Disable the code if [! FPE].
* i386/bogus/fpe.h: Add comment about not having an fpe implementation.
* i386/Makefrag (objfiles): Do not add fpe.o.
Remove targets to generate fpe.o.
|
|
* NEWS: Add things that changed so far since 1.3.
|
|
* i386/i386at/kd.c (kdinit): Initialize the input buffer.
* i386/i386at/kd.h (KDSETLEDS): New macro.
* i386/i386at/kd_event.c (kbdsetstat): Handle KDSETLEDS here to
set the keyboard LEDs state.
|
|
|
|
* linux/dev/glue/block.c (init_partition): Don't check for BSD
partitions if the DOS partition is too small.
|
|
|
|
* linux/dev/include/asm-i386/string.h (memscan): Don't use
multi-line string literals for asm().
* linux/dev/include/asm-i386/segment.h (__generic_memcpy_tofs)
(__generic_memcpy_fromfs): Likewise.
* linux/src/include/asm-i386/floppy.h (floppy_hardint): Likewise.
* i386/i386/proc_reg.h (flush_instr_queue): Likewise.
* i386/i386/gdt.c (gdt_init): Likewise.
|
|
|
|
* linux/src/drivers/scsi/aic7xxx.c: Updated from Linux 2.0.39
* linux/src/drivers/scsi/aic7xxx.h: Likewise.
* linux/src/drivers/scsi/aic7xxx_proc.c: Likewise.
* linux/src/drivers/scsi/scsicam.c: Likewise.
* linux/src/include/linux/pci.h: Likewise.
|
|
|
|
* linux/dev/glue/block.c (device_get_status): Correctly calculate
the number of blocks.
|