Commit Graph

150751 Commits

Author SHA1 Message Date
skrll
61b77d1855 MD_DO_NOT_NEED_FALLTHRU for ARM. 2006-09-08 07:29:19 +00:00
uebayasi
c1a02ec4d9 Typo. 2006-09-08 06:38:55 +00:00
matt
958730091e Fix and simplify node removal. Add lots of assertions and comments. 2006-09-08 04:07:15 +00:00
reinoud
25522cfb86 Oeps! I overlooked the size argument of the SCSI call. It ought to be equal
to the number of bytes we are reading: READ_DISCINFO_BIGSIZE

sorry.
2006-09-08 00:33:18 +00:00
riz
7bbc0ebe95 include <bsd.own.mk>. From Geoff Wing on source-changes. 2006-09-07 23:53:41 +00:00
reinoud
a5b62cb444 The size of struct scsipi_read_discinfo_data is not even due to the data[1]
pseudo array in the structure. The scsi command issued used
sizeof(scsipi_read_discinfo_data) but included thus the last byte that
wasn't going to be inspected anyway. Using the constant
READ_DISCINFO_BIGSIZE fixes the bug.

Even though SCSI adapters *should* accept odd lengths, the Sun U10
(sparc64's) crashes in bus_space_read_multi_stream_2(). That explains the
crash.

NOTE: somewhere in NetBSD/sparc64's atapibus support there is the
assumption on the even size; this needs to be fixed! (Hi Sparc64 portmaster
:-) )
2006-09-07 22:52:46 +00:00
xtraeme
bdcb6691e9 - Fix Pentium M 770 table. I don't know why did work before but
the values were not correct... tested by seb@.
- Remove binary bits from struct fqlist members, why do we need them?
2006-09-07 22:50:50 +00:00
tron
8e86c1ab96 Make sure that all "move-if-change" scripts in "src/gnu/dist" are
executable in the source ".tgz" files. This is necessary while
bootstrapping the toolchain which isn't done using NetBSD makefiles.

This should fix PR toolchain/34489 by Kirk Russell.
2006-09-07 22:03:58 +00:00
riz
bc22f236a4 Regen. 2006-09-07 21:17:32 +00:00
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