Commit Graph

5119 Commits

Author SHA1 Message Date
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
thorpej
51535d4bf5 Add support for dumping ELF-cormat core files. 2001-12-09 23:05:56 +00:00
atatat
b45c51b1fc Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
2001-12-09 05:00:40 +00:00
onoe
d5d707cf1d Add 82801BAM as piix.
Do not initialize global variables 'pciintr_icu_tag' to NULL.
Its type is 'const struct pciintr_icu *' (typedef'ed) and gcc sometimes(!)
put it in Text region.  So force arrrange it to BSS.
2001-12-07 08:07:57 +00:00
soren
00755fc870 options space tab. 2001-12-06 16:51:31 +00:00
augustss
ebdd7a70ea Uncomment IrDA devices since they seem to work now. 2001-12-06 16:35:09 +00:00
sommerfeld
39424268c6 Use #if defined(FOO_CPU) instead of #if FOO_CPU just to be picky.
Spotted by Thomas Klausner.
2001-12-06 01:56:19 +00:00
thorpej
8d9d5216ec More complete conversion of the XMM-format tag word to i387-format
tag word.
2001-12-06 00:01:36 +00:00
augustss
fe61017def Add (commented out) irframetty. 2001-12-05 16:48:03 +00:00
augustss
81f90d8cd3 Use the right name to decide if we should use irframe entry. 2001-12-05 16:10:09 +00:00
thorpej
03efee5585 * Allow machine-dependent code to specify hooks for ptrace(2)
(__HAVE_PTRACE_MACHDEP) and procfs (__HAVE_PROCFS_MACHDEP).
  These changes will allow platforms like x86 (XMM) and PowerPC
  (AltiVec) to export extended register sets in a sane manner.

* Use __HAVE_PTRACE_MACHDEP to export x86 XMM registers (standard
  FP + SSE/SSE2) using PT_{GET,SET}XMMREGS (in the machdep
  ptrace request space).
* Use __HAVE_PROCFS_MACHDEP to export x86 XMM registers via
  /proc/N/xmmregs in procfs.
2001-12-05 00:58:05 +00:00
jdolecek
f1243fa104 add 'esp at mca? slot ?' and 'scsibus* at esp?' 2001-12-04 20:49:40 +00:00
sommerfeld
ceb358f80c Fix so these files build with options DEBUG enabled.
The change to edc_mca.c may not work as I don't have any mca hardware.
2001-12-04 20:00:15 +00:00
thorpej
f7141449f2 When doing process_s87_to_xmm(), don't restore the "saved SW from
last exception"; the userland-visible fpreg structure doesn't
include it.

Pointed out by enami tsugutomo <enami@sm.sony.co.jp>.
2001-12-04 19:41:47 +00:00
jdolecek
586f0a8848 fix two bugs in mca_dma_set_ioport():
* need to specify DMA channel for DMACMD_SET_IO
* the upper byte of port was masked incorrectly

also update comment in _mca_bus_dmamap_sync() to current reality
2001-12-03 22:50:44 +00:00
lukem
fa15b3d7b9 defparam (not defflag) PCIBIOS_IRQS_HINT. pointed out by Kevin Lahey 2001-12-03 00:10:14 +00:00
jdolecek
492b500611 Add couple hooks, needed primarily for NCR 53C90 MCA card driver:
* add flag to explicitly specify if the DMA should be done as 16bit or 8bit
* add flag to specify the DMA should happen via I/O port
* add new function mca_dma_set_ioport(), to set I/O port to be used for the
  DMA operation

Also clarify copyright (welcome to 2001 :), and couple other minor nits
2001-12-02 17:02:33 +00:00
augustss
813e73533f Add (commented out) oboe IrDA driver. 2001-12-02 16:37:24 +00:00
augustss
031a2873ed Add irframe and cir devices. 2001-12-02 10:45:40 +00:00
bouyer
49aef70ae6 Add st at atapibus, now that it works. 2001-12-01 00:09:07 +00:00
enami
a0ae8adf89 Declare some asm statement with output as volatile. Without this,
gcc with -march=pentiumpro produce bad code.
2001-11-30 06:53:56 +00:00
itojun
e86f5a87e8 sync with latest GENERIC. 2001-11-30 02:40:57 +00:00
lukem
efc46c2fb9 minor knf 2001-11-29 02:46:55 +00:00
lukem
ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
itojun
8391ace8b7 in_cksum.s is needed for inet6 too 2001-11-26 02:55:39 +00:00
lukem
73191c8c28 comment out CRYPTO_MD_DES_ENC & CRYPTO_MD_BF_ENC; they're not used
anywhere in the kernel, they're not defopt-ed, and config(8) -v
complains about them
2001-11-25 00:02:12 +00:00
jdolecek
90fac765da add 'drive' locator to mca edc 2001-11-23 22:35:46 +00:00
jdolecek
851fb345aa add mca_dmamap_create() prototype for MI code 2001-11-23 22:29:16 +00:00
jdolecek
ed11067c01 Properly glue in the MCA DMA controller support, using bus_dma
interface, using the code from dev/mca/edc_mca.c:edc_setup_dma()
as a base. Use ISA routines for dmamap/dmamem functions, primarily
to get the buffer bouncing for >16MB RAM machines.  The MCA DMA
channel is stored in unused upper 4 bits of ISA DMA cookie's
id_flags, hopefully that's not too disgusting :)
Export mca_dmamap_create(), which returns map suitable for further DMA
operations using MCA DMA controller.

mca_busprobe(): also report if machine has 32bit DMA (feature byte 2
bit 1)

Use symbolic names for DMA controller commands - I've finally got
info what they mean from Tymm Twillman's Linux include/asm/mca_dma.h.
No more magic constants! Also fix bug in the way DMA counter has been
setup - for 16bit DMA, it's necessary to tell the controller _half_
the byte count. This was wrong in the former code.
2001-11-23 22:24:36 +00:00
atatat
155e541aa2 Instead of checking for previous usage, just append to some make
variables.  Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.
2001-11-23 05:18:59 +00:00
jmc
5ac54229c9 Don't make the symlinks on clean rules as well as obj rules. Breaks r/o source
trees that haven't gotten to the make obj recursion part of make build
otherwise.
2001-11-22 00:14:20 +00:00
dillo
3bad9b1f33 Repeat James Chacon's fix from sys/lib/lib{kern,sa,z}:
Don't make clean and cleandir depend on the lib subdir.
	Just check for it's existance before running the submake.
	This makes it possible to run a make build (which runs
	cleandir before make obj) in a r/o source tree.
2001-11-22 00:04:55 +00:00
augustss
9c6275fe9e Add a commented out ehci driver (for the adventurous). 2001-11-21 17:11:02 +00:00
lukem
0fa231134c - replace "defopt" with "defparam" for options which must take a value,
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
lukem
03aef4723c cleanup:
options SPACE TAB
	makeoptions TAB
	psuedo-device TAB
	remove trailing whitespace
	replace multiple spaces -> tabs
	options "FOO" -> options FOO
	options "FOO=bar" -> options FOO=bar
	options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
lukem
99bccc3cab - pull in opt_kgdb.h where necessary
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
	KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
	DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for  options KGDB_DEVNAME="\"com\""
- use correct quotes for  options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
2001-11-20 08:43:19 +00:00
enami
d4813d9d45 Just test if DEBUG_MEMLOAD is defined or not instead of testing its value. 2001-11-20 07:44:17 +00:00
enami
78bcf7e362 Cosmetic changes to previous commit. 2001-11-20 07:42:33 +00:00
tls
b8b40ad95c Who are we kidding? Nobody installs over a DS-3, and I seriously doubt
that anyone installs over HIPPI either.  On the other hand, lots of people
would like to be able to install over their wireless networks or with their
Tigon Gig-E cards: so, let's synchronize this file's contents with the
modern world (at least a little bit).

Note that we really need to decide whether, as they used to be, the INSTALL
config files will be GENERIC with some lines *deleted* or whether they will
be GENERIC with some lines commented out.  Using both styles is bad, but I
haven't fixed it in this commit.
2001-11-19 02:17:18 +00:00
chs
14b5abfd92 allocate and free memory explicitly rather than abusing uvm_map_pageable(). 2001-11-18 19:28:34 +00:00
jdolecek
1dae310858 fix typo 2001-11-18 13:48:00 +00:00
someya
9c13958025 add autri (Trident 4DWAVE based AC'97 audio) 2001-11-18 03:24:38 +00:00
kleink
852f87fe13 i386_memio_mmap(): return -1 to indicate failure, not EOPNOTSUP. 2001-11-17 19:32:03 +00:00
christos
e36e7f175a Add transmeta crusoe cpu support from toshi. 2001-11-17 08:21:43 +00:00
christos
79f74a0b0f Add transmeta crusoe cpu support from toshi's fiva patches. 2001-11-17 08:20:58 +00:00
junyoung
12b82871db Add pseudo-device wsfont, which is necessary to make wsfontload(8)
work.
2001-11-16 13:46:31 +00:00
atatat
d5de3c2fb2 Abstract out a large chunk of the kernel build machinery so that new
build features (such as ross's DEBUGLIST) can easily be applied to all
ports.  This should reduce the complexity of each port's kernel
Makefile considerably.  Line counts:

     227 arch/i386/conf/Makefile.i386.orig
      98 arch/i386/conf/Makefile.i386
     227 arch/alpha/conf/Makefile.alpha.orig
      99 arch/alpha/conf/Makefile.alpha
     219 arch/sparc/conf/Makefile.sparc.orig
     102 arch/sparc/conf/Makefile.sparc
     215 arch/vax/conf/Makefile.vax.orig
     102 arch/vax/conf/Makefile.vax
     253 conf/Makefile.kern.inc

Roll i386, alpha, sparc, and vax over to the new build machinery.
2001-11-16 00:23:02 +00:00
soren
662f877587 MAXSLP is defined to be a machine-independent scheduling parameter,
so move it into sys/param.h.
2001-11-15 18:06:11 +00:00
lukem
95c969f245 add RCSID 2001-11-15 07:03:28 +00:00
tv
48c09b6243 Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
include paths.
2001-11-14 23:01:13 +00:00