Warner Losh
03988eea4d
MF-p4:
...
"Ian gave me this patch" I assume this is iadowse@.
Also, pull in a few devices NetBSD's table. More are there, but I need
to properly move them to pccarddev before including them here.
2003-04-26 22:19:02 +00:00
Warner Losh
57bf268890
Add a generic cdrom.
2003-04-26 22:13:51 +00:00
Poul-Henning Kamp
c08c56e02a
Bail as soon as the first write request has failed, there is no point
...
in trying the second write if the first one went nowhere.
2003-04-26 21:40:26 +00:00
Poul-Henning Kamp
54d2011343
Appearantly UFS no longer issues BIO_DELETE requests correctly, and
...
consequently trashes data. Disable BIO_DELETE handling in gbde for now.
2003-04-26 21:39:33 +00:00
Warner Losh
6aeeca8edf
Create a new C++ header file called devd.hh which has all the class
...
definitions in it. Begin to document the classes that we use, and how
they interrelate (using comments that I can use with doxygen to
automatically generate docs with).
2003-04-26 20:59:04 +00:00
David E. O'Brien
4bee32ae9c
I was wrong, the ENTRY bits in asm.h did have a purpose -- for userland.
...
Restore the bits and remove them from asmacros.h. *.S will now be asm.h
consumers.
Approved by: jake
2003-04-26 20:54:45 +00:00
Warner Losh
66ff6821dd
Update to use is_id_char() in the last patch. I should have done this
...
before the last commit.
2003-04-26 20:25:40 +00:00
David E. O'Brien
a12d8aed9a
We're changing the platform name from x86[_-]86 to amd64.
2003-04-26 20:04:38 +00:00
Hiroki Sato
78b34d027c
Merge the following from the English version:
...
1.136 -> 1.143 hardware/common/dev.sgml
1.5 -> 1.9 hardware/i386/proc-i386.sgml
2003-04-26 19:48:15 +00:00
Warner Losh
6cabd675ee
Make better use of the string type when parsing things. This switches
...
expand one from using a fixed buffer to using a string which
dynamically allocates these things.
Submitted by: green@ (against an earlier version of devd)
Ignored for too long by: imp
2003-04-26 19:44:45 +00:00
Alan Cox
c829b9d0fc
- Lock the vm_object on entry to vm_object_terminate().
2003-04-26 19:36:19 +00:00
Hiroki Sato
a671e8dbb1
Merge the following from the English version:
...
1.33 -> 1.36 errata/article.sgml
2003-04-26 19:20:59 +00:00
David E. O'Brien
1143283a26
Fix the LINK_SPEC. Our i386 32-bit emulation name changed.
...
We also need to look in the proper directory for 32-bit libs.
2003-04-26 19:20:25 +00:00
David E. O'Brien
9ad1907230
Remove the last vestiges (I hope) of the mixed ELF/a.out support.
...
As a plus we can use the stock CC1_SPEC and ASM_SPEC for AMD64.
2003-04-26 19:16:54 +00:00
Hiroki Sato
2d92ed25ce
Merge the following from the English version:
...
1.524 -> 1.553 relnotes/common/new.sgml
2003-04-26 19:13:00 +00:00
Hiroki Sato
5950a4a531
Add a missing </para>.
2003-04-26 19:07:33 +00:00
Alan Cox
1ca5895341
- Convert vm_object_pip_wait() from using tsleep() to msleep().
...
- Make vm_object_pip_sleep() static.
- Lock the vm_object when performing vm_object_pip_wait().
2003-04-26 18:33:18 +00:00
Paul Saab
fa22802086
Update the mbuf watermark settings to match the latest documentation
...
from Broadcom. These values are strongly encouraged for proper operation.
MFC after: 3 days
2003-04-26 18:26:29 +00:00
David E. O'Brien
ef7b1f2f0f
The ENTRY bits were in two places. Remove the one not used (asm.h), but
...
presurve the nice comment by adding it to asmacros.h.
2003-04-26 17:17:45 +00:00
David E. O'Brien
9cd8976ea9
Two tokens that don't together form a vaid preprocssor token cannot be
...
pasted together using ANSI-C token concatinatation. GCC's cpp, at least,
produces the desired result w/o using "##".
2003-04-26 17:00:10 +00:00
Hidetoshi Shimokawa
ee724a65cb
Use fwcrom.c in /sys/dev/firewire.
2003-04-26 16:46:59 +00:00
Hidetoshi Shimokawa
5e286c3211
- Improve configuration ROM parser for multiple unit directory.
...
- Remove getcsrdata().
- Don't print device type, this can be obtained by fwcontrol.
Tested with: Maxtor 5000XT
Tested by: Daniel O'Connor <doconnor@gsoft.com.au>
2003-04-26 16:45:40 +00:00
Tom Rhodes
f0aa77427a
Xref sytle.Makefile(5).
...
PR: 51183
2003-04-26 15:37:39 +00:00
Jens Schweikhardt
6ded053322
Fix typos in comments; some style(9) fixes; no code changes.
...
PR: misc/50979
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
2003-04-26 15:22:29 +00:00
Tom Rhodes
0b9b179991
Last commit had incorrect information. The real PR was:
...
PR: 50769
Duh Point for: trhodes
2003-04-26 15:18:27 +00:00
Tom Rhodes
6c4e78ae1a
Add vmemoryuse to the list.
...
PR: 50796
Submitted by: Dmitry Sivachenko <mitya@cavia.pp.ru>
2003-04-26 15:15:05 +00:00
Tom Rhodes
225823c590
Add sys/user.h to the list of includes. Without it you lack a definition of
...
'struct kinfo_proc' for calls to kvm_getargv() and kvm_getenvv().
PR: 51322
2003-04-26 15:00:57 +00:00
Christian Brueffer
c70d56a511
Mbits -> Mbits/s
...
band width -> bandwidth
PR: 39822
Submitted by: Chris Pepper <pepper@rockefeller.edu>
MFC after: 3 days
2003-04-26 09:30:34 +00:00
Alan Cox
adf4e1d58a
Remove an unused declaration.
2003-04-26 08:36:06 +00:00
Alan Cox
af3e0bb202
- Lock the vm_object when performing vm_page_alloc() in allocbuf().
2003-04-26 07:42:24 +00:00
Murray Stokely
cd56a34687
Add some missing entries here. Sort an existing entry properly. This
...
allows "make release" to find all of the documentation related ports
it needs if you build a release with NOPORTS. This should be moved to
within the port Makefile so we don't have to keep it updated in two
different places.
PR: docs/51305
2003-04-26 07:31:43 +00:00
Eric Anholt
d2c47a2151
Merge from DRI CVS: Disable MTRRs on FreeBSD-stable to work around hangs with
...
SMP machines. and use i386 asm for atomic_cmpset_int on -stable. This is in
preparation for MFCing the DRM.
2003-04-26 06:59:38 +00:00
Alan Cox
155080d31e
- Extend the scope of two existing vm_object locks to cover
...
swap_pager_freespace().
2003-04-26 05:30:56 +00:00
Alan Cox
5103186c8c
Remove an XXX comment. It is no longer a problem.
2003-04-26 05:00:56 +00:00
Robert Watson
2715ba4892
Add some strategic whitespace.
2003-04-26 03:32:18 +00:00
David E. O'Brien
584a637fee
The AMD64 Hammer bits.
2003-04-26 03:28:21 +00:00
David E. O'Brien
0d6a130e24
Remove first attempt at x86-64 bits. We're going to call it "amd64" now.
...
Sponsored by: Microsoft
2003-04-26 03:24:26 +00:00
Robert Watson
a2ba8df6c4
When the tty chown() fails, report a chown() failure rather than a
...
chmod() failure.
2003-04-26 02:51:03 +00:00
Robert Watson
317f1d53c8
When mac_from_text() fails with -Z, print "-" rather than "" so that
...
scripts parsing ls(1) output can still count columns.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2003-04-26 02:31:26 +00:00
Christian Brueffer
75c07b9087
Grammar and punctuation fixes
...
PR: 40910 (most of them)
Submitted by: Chris Pepper <pepper@rockefeller.edu>
MFC after: 3 days
2003-04-25 22:31:06 +00:00
Johan Karlsson
00ffb51ea5
Add nodevice axe, since usb isn't supported by PAE.
...
Submitted by: harti@
Approved by: jake@
2003-04-25 21:49:35 +00:00
Poul-Henning Kamp
3f6ee876c1
Update the "last malloc failure timestamp" also for simulated
...
malloc errors.
2003-04-25 21:49:24 +00:00
Poul-Henning Kamp
9b99e39d61
Do an explicit retry after we have dumped the cache, rather than a
...
(potential) tail recursion.
2003-04-25 21:43:11 +00:00
Poul-Henning Kamp
e8e0742ef4
If on a BIO_READ request, we failed to allocate the bio for reading
...
our key-sector, we would end up returning the read without an error,
despite the fact that the data was not correctly decrypted.
This would result in data corruption on read, but intact data still
on the media.
2003-04-25 21:28:28 +00:00
Poul-Henning Kamp
37f5e4a6c2
Fix a problem and slightly improve the ENOMEM handling:
...
Give up the entire bio as soon as we detect a problem.
When we detect a problem, give up the bio by contributing the
remainder with ENOMEM, rather than kicking the bio back right
away.
If we failed on a non-first iteration we previously could end up
modifying fields in the bio after we delivered it. This could
account for memory corruption (none directly reported) on machines
with GBDE.
2003-04-25 21:20:57 +00:00
David E. O'Brien
7af330a71c
Enable ISO-C99 compatibility -- among other things, this tells libstdc++
...
not to blindly undef isnan() and other functions that became macros in C99.
Enable use of newly grown C99 functions: strtof(), strtold(), wcstof()
Submitted by: das
2003-04-25 21:17:31 +00:00
Christian Brueffer
73c294fd8b
Fix a misspelled word introduced by my last commit
...
MFC with the rest of the changes
2003-04-25 21:02:15 +00:00
Poul-Henning Kamp
af6b9f17f9
Don't count a sector in the cache unless we manage to create it.
2003-04-25 20:56:27 +00:00
Poul-Henning Kamp
f2314b445d
Rename g_bde_release_sector() to g_bde_release_keysector() and pick up
...
the sector from the work item.
2003-04-25 20:35:34 +00:00
Poul-Henning Kamp
195d573278
Rename g_bde_read_sector() to g_bde_read_keysector() pick up the offset
...
in the work structure.
2003-04-25 20:16:59 +00:00