Commit Graph

85422 Commits

Author SHA1 Message Date
hrs
0bb0ebb3f7 Catch up with the English version (w/ some translation fixes):
1.12  -> 1.20 	errata/article.sgml
	1.126 -> 1.129	hardware/common/dev.sgml
	1.475 -> 1.480	relnotes/common/new.sgml

Submitted by:	Hideyuki KURASHINA <rushani@jp.FreBSD.org>
References:	[doc-jp-work 585]
2003-01-22 01:45:14 +00:00
grehan
7b39c28603 Convert remaining .s files to .S
Approved by:  benno
2003-01-22 01:34:37 +00:00
grehan
799aa27da2 - remove dead conditional CFLAG setting
- switch locore .s -> .S

Approved by:  benno
2003-01-22 01:34:10 +00:00
peter
9f7b187da0 Fix what I think is an off-by-one in certain worst-case scenarios
caused by rev 1.45.  (eg: the estimate being exactly half of the result.)
2003-01-22 00:34:22 +00:00
fjoe
fddc3ba05d fix link_status() in non-Ethernet case
MFC after:	1 week
2003-01-22 00:14:34 +00:00
peter
d16aa8b224 Finish update for cvs-1.11.5. Some build-time tunables were moved from
options.h to config.h.in and set via ./configure when built normally.
Export some of the build knobs to the Makefile here, overridable
from /etc/make.conf.  Also get the version strings right.
config.h was repocopied to config.h.proto, and we do a limited sed on it
at build time now.
2003-01-21 23:00:36 +00:00
peter
2a7e377632 Dont bother with unused rules for version.c 2003-01-21 22:31:07 +00:00
peter
2e4fe7e4d0 Turn off Checkin-prog and Update-prog. 2003-01-21 22:10:13 +00:00
peter
e68b00dd9e Update for cvs-1.11.5 import (note to self: gotta fix the version tags) 2003-01-21 22:04:20 +00:00
peter
dfddcee74f This commit was generated by cvs2svn to compensate for changes in r109661,
which included commits to RCS files with non-trunk default branches.
2003-01-21 22:02:26 +00:00
peter
839e4a947a Merge cvs-1.11.2.1-20021201 -> 1.11.5 changes onto mainline 2003-01-21 22:01:38 +00:00
peter
9fda24a6c9 This commit was generated by cvs2svn to compensate for changes in r109658,
which included commits to RCS files with non-trunk default branches.
2003-01-21 21:58:47 +00:00
peter
f53bf3099c This commit was generated by cvs2svn to compensate for changes in r109655,
which included commits to RCS files with non-trunk default branches.
2003-01-21 21:53:03 +00:00
peter
d705a05438 Import cvs-1.11.5 onto vendor branch 2003-01-21 21:53:03 +00:00
des
251dc8aa55 There's absolutely no need for a struct-within-a-struct, so move the
counters out of the inner struct and remove it.
2003-01-21 20:33:27 +00:00
hsu
73c387bfff Add missing SMP file locks around read-modify-write operations on
the flag field.

Reviewed by:	rwatson
2003-01-21 20:20:48 +00:00
peter
7444736ff6 Remove OBE prototype for iszerodev() - it was replaced by the
D_MMAP_ANON device switch flag.
2003-01-21 19:26:17 +00:00
tmm
6d5be688ea Fixes for a number of problems in the IOMMU code:
1.) Fix an off-by-one in the DVMA space handling, which would make it
    possible to allocate one page beyond the end of the DVMA area.
    This page was aliased to the first page. Apparently, this bug was
    responsible for the trashed nvram/eeprom some people were reporting,
    in conjunction with a number of unfortunate coincidences.
2.) Fix broken boundary and and lowaddr calculations.
3.) Fix a memory leak on an error path.
4.) Update a outdated comment to reflect the introduction of IOMMU_MAX_PRE,
    make the usage of IOMMU_MAX_PRE more consistent and KASSERT that the
    preallocation size is not 0.
5.) Fix a case where an error return was lost.
6.) When signalling an error to the caller by invoking the callback, do
    not use a segment pointer of NULL for compatability with existing
    drivers.

Also, increase the maximum segment number to 64; it is rather arbitrary,
with the exception of the of the stack space consumed by the segment
array.

Special thanks go to Harti Brandt <brandt@fokus.fraunhofer.de> for
spotting 4 and 5, and testing many iterations of patches.

Pointy hats to:	tmm
2003-01-21 18:22:26 +00:00
tmm
04ec78ccf1 Free resources when failing to set up the interrupt. 2003-01-21 17:28:36 +00:00
tmm
16e994ec1e bus_dmamap_sync() overhaul:
- Remove NetBSD-style or-ed together BUS_DMASYNC operations, in some
  cases relaxing the (intended) syncing operation a bit.
- Add syncs before reading the descriptor rings.
- Try to combine syncs where possible to avoid overhead.
- Sync all maps before unloading them.
2003-01-21 17:22:52 +00:00
tmm
835da101ce bus_dmamap_sync() overhaul:
- Remove NetBSD-style or-ed together BUS_DMASYNC operations, in some
  cases relaxing the (intended) syncing operation a bit.
- Stop pretending that that we can sync part of a dmamap: replace the
  GEM_CDTXSYNC and GEM_CDRXSYNC macros with GEM_CDSYNC to sync the
  complete control map, and combine syncs wherever possible to avoid
  the overhead.
- Sync all maps before unloading them.
- Remove a few syncs which should be unnecessary.
2003-01-21 17:17:01 +00:00
tmm
cd6c40ece4 Fix iommu_dvmamap_sync(): it was still operating as if the BUS_DMASYNC_*
constants where flag bits (as in NetBSD), although they are consecutively
numbered in FreeBSD. This would cause unnecessary flushing in the
BUS_DMASYNC_POSTWRITE case, but was otherwise mostly harmless.
2003-01-21 17:08:22 +00:00
tmm
078d8aa358 Correct an off-by-one in the boundary check. Otherwise, resource
allocations would fail if the desired allocation size was equal to
the boundary.
2003-01-21 17:02:21 +00:00
simokawa
4c01a12fd8 Define misc structs outside of struct firewire_comm. 2003-01-21 16:37:01 +00:00
simokawa
bd0e2b5683 Ignore events of unused IR DMA. 2003-01-21 16:24:35 +00:00
nectar
256fa50f04 This commit was generated by cvs2svn to compensate for changes in r109641,
which included commits to RCS files with non-trunk default branches.
2003-01-21 14:19:06 +00:00
nectar
12eb3dee85 Add a missing include, needed to get a prototype for `des_read_pw_string'.
This is particularly important for OpenSSL 0.9.7, as `des_read_pw_string'
is a macro there.  (This fix brought in on the vendor branch, because I
already committed it to Heimdal's CVS.)
2003-01-21 14:19:06 +00:00
nectar
72c64dcde8 Define OPENSSL_DES_LIBDES_COMPATIBILITY so that Heimdal will build with
OpenSSL 0.9.7 when it is imported.  (This currently has no effect.)
2003-01-21 14:08:24 +00:00
nyan
c6e6e5e00d Remove NEXTDOSPART. 2003-01-21 14:02:11 +00:00
nyan
3bc0d16717 Use NDOSPART instead of NEXTDOSPART. 2003-01-21 13:59:53 +00:00
nyan
dfed1c0d02 MFi386: revision 1.63. 2003-01-21 13:57:43 +00:00
imp
371d4f3539 Needs wlan for wi. 2003-01-21 13:31:52 +00:00
mtm
a22539fc11 Don't forget to properly quote input.
Approved by: markm (mentor)(implicit)
Submitted by: Robin Breathe <robin@isometry.net>
2003-01-21 12:11:35 +00:00
phk
4d5baf8d29 #ifdef NO_GEOM some bits here too. 2003-01-21 11:39:19 +00:00
joe
a6082f7c29 Update with the current list of scanners that the driver supports. 2003-01-21 11:39:13 +00:00
joe
c26865cccc Regen 2003-01-21 11:38:17 +00:00
joe
16fac8e4d9 Add support for Epson 1660 scanner.
Submitted by:	Bruno Schwander <bruno@tinkerbox.org>
MFC after:	3 days
2003-01-21 11:37:54 +00:00
alfred
885b3d893f use 'void *' instead of 'caddr_t' for useracc, kernacc, vslock and vsunlock. 2003-01-21 11:34:57 +00:00
phk
c1bdb89472 #ifdef NO_GEOM all of this file. 2003-01-21 10:40:46 +00:00
phk
8afd0a3895 Bandaid to make the kernel compile until the scsi-crew can find out what
is happening.
2003-01-21 10:31:43 +00:00
tjr
25282ed53f Make this compile with DEBUG defined now that WARNS=0 has been removed
from the Makefile:
- Print pointers with %p instead of %x.
- Include missing headers to get prototypes.

Noticed by:	benno
2003-01-21 10:06:04 +00:00
marcel
0d82404101 Add yet another Sony Vaio PS/2 mouse ID. This one is found in a R505GL.
The ACPI data for the mouse includes the compatibility ID, but we
apparently don't make use of it.
2003-01-21 10:00:32 +00:00
phk
1e71f98685 Add a missing '{' 2003-01-21 09:57:01 +00:00
alfred
9be9ca168e Catch up to WAIT/NOWAIT cleanup. 2003-01-21 08:57:35 +00:00
alfred
8f5153c3ea Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
imp
d20b9f1f76 pccardd and pccardc are for i386 and pc98 only. Don't build them on
other architectures.

Pointed out by: peter
2003-01-21 08:42:27 +00:00
sos
c219df2076 Remove the fake disklabel, no longer needed.
Fix potential malloc panic.

Prodded by: phk
2003-01-21 08:33:48 +00:00
mdodd
0ffee2f302 - Restore header printing to wi_printaplist()
- Move APRATE switch() code to function for clarity.
- Conditionally call wi_printaplist() alone if more than one 'L'
  is preset.
- Add the 'Q' flag to suppress printing of extraneous information
  in wi_printaplist().
- Re-order second getopt() in main().

Reviewed by:	 imp
2003-01-21 07:28:57 +00:00
sam
8de283e6af preserve the order of tags copied by m_tag_copy_chain
Obtained from:	OpenBSD
2003-01-21 06:14:38 +00:00
obrien
6b865b252e The PowerPC-specfic scripttempl file was depreciated in favor of the generic
ELF one.
2003-01-21 06:12:56 +00:00