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
martin
e0c4f3147e
Fix %X in kernel printf, from Arnaud Degroote in PR kern/34459.
2006-09-03 17:06:36 +00:00
tron
c1fbffb39c
Add information about ndis(4) after an according entry has been added
...
to the "src/doc/CHANGES" file in the "netbsd-4" branch.
2006-09-03 13:56:06 +00:00
bjh21
7c4318304d
Regen
2006-09-03 13:54:27 +00:00
bjh21
e10108c7f2
Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere.
2006-09-03 13:51:23 +00:00
skrll
679c7b5e46
Don't lose a page at the end of the 3 segments we uvm_page_physload.
...
(end/avail_end are excluive page numbers - as dicussed on tech-kern)
2006-09-03 13:40:08 +00:00
bjh21
dacb75acff
All ports that use the file do so through files.pckbport, so there's no
...
need to be cautious about including "pckbd.h". This has the side-effect
that ports using pckbd but not defining __HAVE_NWSCONS will now get pckbd
attached as console if they call pckbport_cnattach(), but I don't think
any such ports exist.
2006-09-03 13:23:15 +00:00
bjh21
09bd451486
Switch acorn32 to MI inittodr() etc.
2006-09-03 12:46:57 +00:00
uwe
8089b6b536
Add comments to RCR1 and RCR2 bits.
2006-09-03 12:38:34 +00:00
xtraeme
9663e422a9
Mention PDC40519 and PDC40779... and bump date.
2006-09-03 12:37:11 +00:00
xtraeme
02fa0947d7
Add support for PDC40519 and PDC40779... from obsd.
2006-09-03 12:18:03 +00:00
xtraeme
4769f26cd2
regen
2006-09-03 12:14:32 +00:00
xtraeme
3a3373ee8e
Add missing PDC20265 device... removed accidentally in previous.
2006-09-03 12:13:56 +00:00
xtraeme
be4771e04f
Mention MCP61/65... and bump date.
2006-09-03 12:10:45 +00:00
xtraeme
5a91328568
regen
2006-09-03 12:02:53 +00:00
xtraeme
4e23c01c3f
Add some missing devices from Promise and sort them.
2006-09-03 12:02:30 +00:00
bjh21
51b05a4131
Use MI inittodr() and friends.
2006-09-03 11:51:29 +00:00
hubertf
454b2c7a71
Enable rc_configured=yes, to be consistent with our other ports.
...
Also do the same cleanup.
2006-09-03 10:54:41 +00:00
xtraeme
f42bb991ca
regen
2006-09-03 10:20:13 +00:00
xtraeme
af16e7909e
Add some ICH8 devices... from obsd.
2006-09-03 10:19:26 +00:00
xtraeme
1f20d85504
Conditionalize *_get_bus_clock() functions inside of
...
#ifdef ENHANCED_SPEEDSTEP to fix build when ENHANCED_SPEEDSTEP is not
defined.
Reported by Geoff Wing.
2006-09-03 09:21:26 +00:00
itohy
8e29f0f218
Use "stty size" to acquire screen width reliably.
...
The fields of the first line of "stty -a" is not fixed.
Fix PR bin/32343.
2006-09-03 09:19:07 +00:00
xtraeme
fdcb59bf6d
Add support for nvidia MCP61/65 IDE/SATA Controllers.
2006-09-03 08:42:32 +00:00
xtraeme
bbdb91feca
regen
2006-09-03 08:39:15 +00:00
xtraeme
316d722a4c
Erm forgot to add MCP61/65 SATA Controllers and sort them.
2006-09-03 08:38:52 +00:00
xtraeme
7465ee1052
regen
2006-09-03 08:10:47 +00:00
xtraeme
4b06824243
- Add all pciids for nvidia MCP61/65 controllers, from obsd.
...
- Improve description in all them.
2006-09-03 08:10:18 +00:00
dsl
17ff309c84
There isn't really any point in the 'union' for nv_str and nv_ptr, all it
...
does is cause confusion when I try to add default values for defparam.
Also if malloc()/free() aren't efficient enough for us, we ought to fix
them rather than having local free list - so kill the local free lists.
2006-09-03 07:45:40 +00:00
xtraeme
ea4f30c7b7
Add support for MCP61/65 controllers... from obsd.
2006-09-03 07:42:04 +00:00