hubertf
136960985f
Fix previous - no need to prepend target-root in chroot
2006-09-04 00:46:13 +00:00
hubertf
5bc64783d6
Make md_cleanup_install() more uniform across platforms.
2006-09-04 00:11:00 +00:00
hubertf
c66460047c
be consistent in md_cleanup_install():
...
use the sed(1) from the newly installed system here too
(is getting rid of sed from the install ramdisk/... worthwhile?)
2006-09-04 00:07:27 +00:00
hubertf
8346ac144d
Use sed(1) from the newly installed system instead of from the
...
miniroot/ramdisk -- which is not present on some platforms (hp300, mvme68k,
x68k), according to comments in their md_cleanup_install() functions.
2006-09-03 23:54:02 +00:00
uwe
1e7f72b35d
Catch up with __HAVE_GENERIC_TODR changes.
...
Compile-tested only.
2006-09-03 23:41:18 +00:00
christos
4e6ffbfcf0
add missing initializers
2006-09-03 22:28:53 +00:00
gdamore
b46bdc5e2b
Convert both sparc and sparc64 to MI todr.
2006-09-03 22:27:45 +00:00
christos
93a520d8b0
fix initializers
2006-09-03 22:17:35 +00:00
christos
e82a0f88ae
add missing initializer.
2006-09-03 21:45:28 +00:00
gdamore
d38176b5c8
Convert to timecounters. Since sun2 lacks a separate timer for microsecond
...
interpolation, we just use the default clock interrupt timer. (100Hz)
2006-09-03 21:43:56 +00:00
christos
77c903b90a
add missing initializer
2006-09-03 21:42:55 +00:00
christos
00c11ed953
add missing initializers
2006-09-03 21:42:09 +00:00
christos
931d28e672
use c99 initializers
2006-09-03 21:39:29 +00:00
christos
c5b9d17001
add missing initializer
2006-09-03 21:38:23 +00:00
christos
37ba677a84
use c99 initializers
2006-09-03 21:37:22 +00:00
christos
5dc39be6da
add missing initializers
2006-09-03 21:37:06 +00:00
gdamore
5df865819e
Fix compilation error caused by remaining todr_handle. Doh!
2006-09-03 21:34:33 +00:00
christos
aa6004da57
use c99 initializer.
2006-09-03 21:33:33 +00:00
christos
ad4f70a8e8
add missing initializer.
2006-09-03 21:30:24 +00:00
christos
61f2f34223
add missing initializers
2006-09-03 21:29:37 +00:00
christos
2dfeed7693
fix initializers.
2006-09-03 21:28:03 +00:00
christos
b231088be0
add missing initializer
2006-09-03 21:16:09 +00:00
christos
842f306745
use c99 initializers
2006-09-03 21:12:14 +00:00
christos
3088ae53a7
- add missing initializer
...
- remove stray semicolon that prevented an ioctl from working.
2006-09-03 21:09:46 +00:00
christos
40be650c67
add missing initializers.
2006-09-03 21:05:01 +00:00
christos
224c7c746b
add missing initializer.
2006-09-03 21:03:11 +00:00
christos
df1dfef2bc
add missing initializers
2006-09-03 21:01:12 +00:00
christos
c35f9741bc
add missing initializer.
2006-09-03 21:00:01 +00:00
christos
4e0d743b9e
add missing initializers
2006-09-03 20:59:18 +00:00
christos
b33a26ac88
remove unneeded initializer.
2006-09-03 20:58:26 +00:00
perry
611f860676
remove the "clkintr_pending" stuff.
...
The variable was used but never set. Kardel says it is a remnant from
the freebsd code he ported, and may be safely discarded.
2006-09-03 20:49:21 +00:00
perry
61af090394
add an #ifndef __x86_64__ around #include "mca.h"
...
reduces diffs with the amd64 port
We'll soon merge these entirely
2006-09-03 20:46:23 +00:00
perry
e1c0963dfd
temporarily turn on "__HAVE_GENERIC_TODR"
2006-09-03 20:42:14 +00:00
perry
8a4431f0b8
fix declaration of tickle_tc() -> tickle_tc(void)
2006-09-03 20:38:32 +00:00
perry
dec3c713da
more synchronization with i386:
...
Convert to use common TODR code. Original commit to the x86 port by
gdamore (with fixes from Christos).
2006-09-03 20:34:13 +00:00
perry
e198847487
remove declaration of unused function "spinwait()"
...
Add a bit of whitespace to minimize diffs vs. i386 port
2006-09-03 20:10:19 +00:00
perry
7d97159f05
fix a debug printf that was fixed in the i386 version a while ago.
...
part of synchronizing with the i386 version
2006-09-03 20:05:37 +00:00
perry
dab650c1ac
re-arrange a few things to minimize diffs with the i386 port.
...
We're ultimately going to merge the two.
2006-09-03 19:54:21 +00:00
bouyer
2aee9a0f50
Back out rev 1.149.
...
From various discussion about vndstrategy (see
http://mail-index.netbsd.org/tech-kern/2005/03/29/0034.html
http://mail-index.netbsd.org/tech-kern/2005/03/23/0015.html )
it's not correct to tsleep() in a strategy routine, which may be called from
interrupt context.
Unfortunably this reopens PR/10731, PR/12189, PR/20296, PR/34293
As for what the correct fix it, this needs to be analysed deeper. I suspect
throttling the caller in vnd only hides the problem; the same caller writing
to some other device could exaust all buffers as well. If this driver doesn't
need to allocate buffer this won't cause a deadlock, but it's bad for
performances on systems with e.g. multiple drives. Also, others stacked
block device drivers may also have this issue.
2006-09-03 19:49:34 +00:00
perry
d31581e06a
de-__P etc.
2006-09-03 19:38:08 +00:00
gdamore
6e10864bdd
Oops, forgot to commit __HAVE_GENERIC_TODR. :-)
2006-09-03 19:20:17 +00:00
rumble
e973f81726
Bring this up to date by mentioning the Personal Iris machines, Phobos
...
Fast Ethernet boards, and the IP22/24 parallel port. The Set Engineering
board is also noted but commented out until the bugs are shaken out.
2006-09-03 19:19:14 +00:00
bouyer
bedc649eed
stop attaching when a bus_dma operation fails, instead of using bogus
...
addresses.
Remplace vtophys() with proper bus_dma(9) use.
This driver now works properly on Xen
2006-09-03 19:06:32 +00:00
bouyer
caeb885a9b
Wrap some printfs in #ifdef DEBUG, as we should not leak memory any more when
...
bus_dma memory allocation fails.
2006-09-03 19:04:20 +00:00
gdamore
77eb82367e
Convert to TODR.
2006-09-03 18:38:46 +00:00
martin
452f35b603
Regen
2006-09-03 18:30:54 +00:00
xtraeme
44522b1f90
* Add support for ICH8 and ICH8M SATA/RAID controllers.
...
* If the controller is in AHCI, ask for SATA IDE mode of operation.
jsg@openbsd says:
"X60/T60 Thinkpads are shipped in AHCI configuration by default,
this makes them work without changing a BIOS option."
Tested by eye of the beholder. From OpenBSD.
Ok'ed tls.
2006-09-03 18:30:35 +00:00
martin
1b5905d05b
Add RASQ3 variant of PL2303 serial
2006-09-03 18:30:23 +00:00
gdamore
57933cb8b6
Convert to MI todr framework.
2006-09-03 18:12:48 +00:00
gdamore
7b0092122f
Update the base time (used when no filesystem or rtc time exists) to 12pm,
...
Jan 1, 2006. This is somewhat arbitrary, but its a heck of a lot better than
mid 1991. :-)
2006-09-03 17:13:04 +00:00