riz
0fcac2612f
Add the SK-9Sxx Gigabit Ethernet, from OpenBSD.
2006-09-07 21:16:55 +00:00
mhitch
7b2d0951ce
Correct some error returns for gettod() and settod() left over from the
...
pre-todr code, and use actual E* return codes for any error return.
2006-09-07 20:59:47 +00:00
garbled
9f65f017a3
Now that the interrupt bug on the 7043-140 is fixed, it also fixes the
...
long standing issue with interrupts onthe PowerStack E1. Remove the
quirk entry for the PowerStack E1 and revert to using the IVR.
Also, add a \n to the attachment of the mk clock printf that was missing.
2006-09-07 20:13:05 +00:00
garbled
50c16ab16f
Apply the patch found in PR/28512 and PR/23801. Ok'd by a few people.
...
From the PR:
The cache is flushed using the bus address where the phys address
is required. Errors would be seen only on ports where address
translation is done between the bus and physical memory.
2006-09-07 19:13:11 +00:00
mrg
baafcdbb23
make the bpendtsleep: label only active if KERN_SYNCH_BPENDTSLEEP_LABEL
...
is defined. if this option is present in the Makefile CFLAGS and we are
using GCC4, build kern_synch.c with -fno-reorder-blocks, so that this
actually works.
XXX be nice if KERN_SYNCH_BPENDTSLEEP_LABEL was a normal 'defflag' option
XXX but for now take the easy way out and make it checkable in CFLAGS.
2006-09-07 18:41:28 +00:00
garbled
50ea065348
Note 7025-F40 support and MI todr for prep.
2006-09-07 18:30:55 +00:00
rjs
69e635a534
Switch to MI todr. Mostly copied from prep.
2006-09-07 18:27:09 +00:00
rumble
561c032f4c
Do not permit accesses to unmapped pci registers.
2006-09-07 18:24:05 +00:00
sanjayl
3c19528c31
Remove debug printf that got left in accidentally
2006-09-07 16:00:29 +00:00
simonb
4f4791b37f
Switch pc532 to timecounters and generic TODR.
...
From Garrett D'Amore, with only a couple of minor tweaks by me.
2006-09-07 15:56:01 +00:00
simonb
0c05b6c17e
DEBUG="-g" wasn't good enough to remove the "objcopy -x" step, the
...
library makefiles want the "-g" in COPTS instead.
2006-09-07 15:50:04 +00:00
gdamore
6347eaa294
Run tc_setclock at splclock(). Suggested by kardel@.
2006-09-07 15:49:49 +00:00
simonb
a6e21ef05b
Guard the timecounter manipulations including the call to tc_windup()
...
in tc_init() with splclock(). Fixes doubled-up "selected timecounter"
messages on some architectures, including pc532 and cobalt.
Fix suggested by Frank Kardel.
2006-09-07 15:48:14 +00:00
christos
156b02eae7
make postconf configurable
2006-09-07 15:26:08 +00:00
gdamore
257e75f92c
Note that timecounters were added for sun3, cesfic, and cobalt.
2006-09-07 14:53:19 +00:00
ad
c2ed6959c7
Add a very brief EXAMPLES section.
2006-09-07 14:52:38 +00:00
ad
d8323c46d4
Fix a typo.
2006-09-07 14:44:05 +00:00
itohy
fd9e172492
Note on addition of njata(4): world foremost open-source driver for
...
Workbit NinjaATA-32 busmastering PIO IDE controller.
2006-09-07 14:38:10 +00:00
itohy
7e80848271
Add njata* at cardbus?
2006-09-07 14:23:44 +00:00
itohy
cb2fb285ec
Workbit NinjaATA-32 busmastering PIO IDE controller driver (njata)
...
This driver supports NinjaATA-32Bi and NPATA-32 chips,
which are used for CardBus ATA interface cards and
CardBus CompactFlash adapters.
2006-09-07 14:22:07 +00:00
christos
4f593623cc
- find the correct newaliases program from postconf
...
(suggested by Geert Hendrickx)
- only check for hash files.
2006-09-07 14:16:55 +00:00
itohy
6119b65726
Add PIOBM (busmastering transfer using ATA PIO mode) support.
...
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.
2006-09-07 12:46:47 +00:00
itohy
bf52851800
Regen from pcidevs rev 1.830.
2006-09-07 12:38:59 +00:00
itohy
eee2a035e9
Add Workbit NinjaATA-32Bi and NPATA-32 busmastering PIO IDE controllers.
2006-09-07 12:37:49 +00:00
itohy
0a30900857
Add PIOBM (busmastering transfer using ATA PIO mode) support.
...
The PIOBM is used by only one driver (will be added later,
stay tuned) and intruduce an attribute "ata_piobm" so that
it will be conditionally compiled in.
The "ata_dma" (busmastering transfer using ATA DMA mode) and
"ata_udma" (busmastering transfer using ATA Ultra DMA mode)
attributes are also added for consistency, but unused for now.
2006-09-07 12:34:41 +00:00
martin
9418521cf5
If we have not found our booted_device, tell the user and do not crash.
...
This seems more sensible than a simple KASSERT.
2006-09-07 12:26:37 +00:00
martin
df850dc70e
Remove accidently commited debug printf when unblanking, and actually
...
do the unblank instead.
2006-09-07 08:39:37 +00:00
garbled
3ac9a5180a
Note support for the F40 in the distrib notes.
2006-09-07 07:49:12 +00:00
dogcow
fe798dd421
Now compiles on systems without __HAVE_GENERIC_TODR
2006-09-07 07:26:07 +00:00
gdamore
1a001de39f
Update to new friendlier todr entry points. While here, ANSIfy.
2006-09-07 05:09:29 +00:00
gdamore
a3925b6374
Updated to new clock_ymdhms support in kern_todr.
...
While here, ansify a few routines.
2006-09-07 05:02:16 +00:00
simonb
66e9a5e5c7
Print out a "\n" after calling mc146818_attach().
...
Pointed out by Izumi Tsutsui.
2006-09-07 04:59:30 +00:00
gdamore
8e82fb3308
Eliminate the 2038 year check, because clock_ymdhms_to_sec already performs
...
that check. So instead, we test to make sure we have a non-negative second
after the conversion.
While here, we also add a check to round the second counter up when setting
time if we are more than half-way into the second.
2006-09-07 04:51:42 +00:00
simonb
68c7194a9c
Revert rev 1.9. As pointed out by Izumi Tsutsui, the \n is printed
...
by MD code.
2006-09-07 04:33:55 +00:00
gdamore
711d816d2d
Switch to friendlier todr ymdhms entry points. Moved a consistency check
...
to common kern_todr.c while here.
2006-09-07 04:29:34 +00:00
gdamore
6b6be489ab
Add a few consistency checks for ymdhms. Taken from the mc146818 code.
2006-09-07 04:24:26 +00:00
dbj
fca8eb80dc
don't filter out .WAIT when converting from _SUBDIR to SUBDIR
2006-09-07 03:51:44 +00:00
dbj
da6351f254
use ${.ALLSRC:M*o} instead of ${OBJS} in module build rule.
...
this uses correct .o files for MKDEBUGLIB
2006-09-07 03:45:50 +00:00
gdamore
5ebcd1bf4f
Convert to common mips3_cp0_counter clock.
...
Convert to timecounters.
From Rivo Nurges (rix at estpak dot ee). ok soren@, tested by simon@.
Note that this means we aren't using the gt clock, and maybe we should clean
that up a bit.
2006-09-07 03:38:54 +00:00
simonb
fcdc9ed735
Use a non-zero quality - 100 is an arbitrary number.
2006-09-07 03:14:22 +00:00
dogcow
f2d329dca0
remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.
2006-09-07 02:40:31 +00:00
xtraeme
21d82d60a0
scan_ffs(8): now it's -F file not -f file. Suggested by mrg.
2006-09-07 02:26:14 +00:00
xtraeme
96734c01d1
Change -f to -F, per mrg's suggestion.
2006-09-07 02:24:51 +00:00
ad
7813695db7
Add lock_owner_onproc().
2006-09-07 02:06:47 +00:00
ad
ae594e0945
- Declare lock_owner_onproc(). Traverses the CPU list and checks if
...
ci->ci_curlwp == arg.
- Define SPINLOCK_SPIN_HOOK to /* nothing */ if it's not defined
already.
- Define SPINLOCK_BACKOFF() macro.
2006-09-07 01:59:23 +00:00
uwe
2abb3f0523
Use MI rs5c313 driver attached as: rs5c313rtc0 at shb0
...
Mark landisk port as __HAVE_GENERIC_TODR.
2006-09-07 01:55:02 +00:00
uwe
d9aa7ac028
Make timeval argument to todr_settime volatile to keep non-timecounter
...
ports happy.
2006-09-07 01:50:49 +00:00
uwe
076748ce26
Mark sizeof(tvp->tv_sec) check CONSTCOND.
...
No space between the sizeof and the paren.
2006-09-07 01:43:52 +00:00
ad
5422bd30ba
Note lockstat(8)
2006-09-07 01:40:32 +00:00
uebayasi
3ea2983121
Correct English; help with xtraeme.
2006-09-07 01:24:02 +00:00