summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-18Move common CVAX defines and code (internal cache IPR, SSC layout, machineMiod Vallat
check frame format...) to a single place. Get rid of duplicated KAxx_FOO constants.
2008-08-18Make hardclock() a cpu_dep member. Most machines will use the genericMiod Vallat
hardclock() here, except for KA46 which needs to reset the diagnostic timer. This gives us working clock interrupt counters for vmstat -i in the process.
2008-08-18Shuffle the dz console code (both serial and keyboard) to be more independentMiod Vallat
of the console device attachment, and to be able to work on system where there are more than one dz device of the same type, one of it being the console one. This also allows a different register layout than the dz@ibus one to be used for the dz console device.
2008-08-18regenBrad Smith
2008-08-18Add the PCI id for the Broadcom BCM5716 Ethernet controller.Brad Smith
2008-08-18Add stge(4) and gentbi(4).Mark Kettenis
2008-08-18Updates from master repo: Fix two bugs reported by Art Grabowski.Anders Magnusson
2008-08-18Add sparc_bus_addr function for schizo to allow CardBus to work.Brad Smith
ok kettenis@
2008-08-18use M_NOWAIT instead of M_WAITOK to cause malloc() to return NULLKevin Lo
ok mglocker
2008-08-18Another dead struct member.Owain Ainsworth
2008-08-17kill struct drm_freelist, after removing markbufs and infobufs nothingOwain Ainsworth
touches it.
2008-08-17Kill a dead function and a dead struct member.Owain Ainsworth
2008-08-17Check that the driver properly initialised before allowing agp_acquire()Owain Ainsworth
to succeed. Inspired by Tobias Ulmer, thanks!
2008-08-17Check the return value of agp_enable() instead of assuming it completed.Owain Ainsworth
apply some knf and other formatting while i'm at it. problem originally pointed out by Tobias Ulmer, thanks!
2008-08-17Kill the infobufs and markbufs calls. Nothing uses them.Owain Ainsworth
2008-08-17Updates from master repo. Can now compile both userland and kernel.Anders Magnusson
(with some patches...)
2008-08-17kill the stupid pci capability defines, we have our own. Don't wrapOwain Ainsworth
pci_read_capability while i'm at it.
2008-08-17drm_load() and drm_unload() are a remnant of code meant to be sharedOwain Ainsworth
between the bsds. Just put them in attach/detach instead. Kills a little bit of dead code, too.
2008-08-17Scale down cpu_clockrate[1] when we scale down the cpu clock frequency suchMark Kettenis
that delay(9) continues to do the right thing.
2008-08-17Kill some redundant ifdefs, they're taken care of elsewhere.Owain Ainsworth
2008-08-17Force fdisk to use the same geometry as the miniroot2.5M disktabKenneth R Westerback
entry, the one that the disklabel will use, rather than the vnd default geometry. Lets the generated miniroot44.fs boot again. Problem found by Diana Eichart. Suggestions from drahn@. ok deraadt@
2008-08-17Make sure we can't sleep with a spinlock heldOwain Ainsworth
2008-08-17Garbage collect stupid delay loop.Mark Kettenis
2008-08-16If dwMaxPayloadTransferSize doesn't exactly match to an existingMarcus Glocker
endpoint, pick the next higher endpoint bandwidth.
2008-08-16Spacing.Marcus Glocker
2008-08-16Sync ehci isochronous part with NetBSD:Marcus Glocker
- Fix check for maximum bInterval value. - Calculate frames/microframes values slightly different (but with mostly same result finally).
2008-08-16fixMarc Espie
2008-08-16revert eval.cMarc Espie
2008-08-16not yet, committed too muchMarc Espie
2008-08-16argument parsing should only skip spaces outside of parenthesis.Marc Espie
Inside matching parenthesis, keep spaces as is (use chrsave instead of pbstr, since there's no way it can be a further macro expansion). Fixes a long-standing issue with autoconf ( --option -> --option), matches other m4 than gnum4 okay millert@, fries@
2008-08-16be more liberal in include handling, namely we only error out if it'sMarc Espie
the end of the last included file AND we still have a macro to expand. autoconf uses this in wine, and it turns out other m4 also do things that way (not only gnu m4). okay fries@, millert@
2008-08-16another issue for which I have a patch.Marc Espie
Issue reported by Vortechz Anderson <utg_vrtz@yahoo.se>
2008-08-16a new regression test, I has a diff for it.Marc Espie
2008-08-16Apply a light paddling with the knf stick. No binary change.Owain Ainsworth
2008-08-16bios_dev -> ba_name and bios_apmp -> ba_apmp in DPRINTF statements.Kenneth R Westerback
i386 kernels compile with BIOS_DEBUG again. Spotted by Mathias Schmocker.
2008-08-15Make the DZ_{READ,WRITE}_{BYTE,WORD} macros visible outside of dz.c, forMiod Vallat
other dz attachments to be able to use them (soon).
2008-08-15Fix array index computation in the machine check handler. Gives fatal bus errorsMiod Vallat
a chance to be reported correctly...
2008-08-15In dzcninit(), do not forget to enable the receiver in addition to theMiod Vallat
transmitter. On machines with glass console for which we do not have a driver yet, and fall back to serial console, the PROM might not have enabled it.
2008-08-15Move the vxt-specific clock functions frow clock.c to the cpu-specific supportMiod Vallat
file, fewer #ifdef this way.
2008-08-15Correct disassembly of the start of a function: fix display layout and skipMiod Vallat
only the 2 bytes of the procedure entry mask, not 4 bytes.
2008-08-15Remove unused and incomplete vax_bus_t enum, and unused vaxbus_dma_get_tag()Miod Vallat
macro and related function pointers.
2008-08-15Rename the cpu_dep hook ``steal_pages'' to ``init'', as it serves as anMiod Vallat
early initialization routine (to enable caches, etc) while still running physical, and does not allocate memory anymore. (The irony in this is that forthcoming KA60 support actually steals pages in its init function...)
2008-08-15hmac.c is needed by softraid crypto now, even on non-wlan machines.Miod Vallat
2008-08-15Prefer unaligned accesses over copying the rx buffer on all archs that canChristian Weisgerber
handle it, not only i386. ok brad@
2008-08-15Add resolv.conf(5) option to force lookups by TCP: "options tcp"Damien Miller
Also Extend "nameserver" declaration syntax to support port numbers. To avoid ambiguity these are only parsed when the address is enclosed in square brackets, e.g. "nameserver [127.0.0.1]:5353" Together these changes make forwarding DNS over a SSH tunnel very easy, but unfortunately some programs in ports/ implement their own resolvers (e.g. firefox). These will need to be modified to support these options separately. fixes jsing@ reyk@ ok deraadt@ millert@ krw@ + "I like it" from lots
2008-08-15Add -s option to usage().Joel Sing
Prompted by jmc@ ok jmc@
2008-08-15use new shared HMAC_SHA1 code in crypto/hmac.[ch] rather than localDamien Miller
copy; ok hshoexer@
2008-08-15use LLC_SNAPFRAMELEN here too.Damien Bergamini
2008-08-14only update stats when we actually wrote sth, relevant for -n, ok djmHenning Brauer
From: Pierre Riteau <pierre.riteau@gmail.com>
2008-08-14Kill the _MCLDEREFERENCE() macro it was only used once and it should be onlyClaudio Jeker
used once -- in m_free(). Removed so that people don't get stupid ideas. OK thib@