Commit Graph

189639 Commits

Author SHA1 Message Date
plunky
73d0ac941f - int putbuf_func ARGS((const char *s, size_t len));
+	int (*putbuf_func) ARGS((const char *, size_t));

for pcc
 - did not recognise pointer to function
 - argument names shadowed other arguments
2010-04-02 20:19:40 +00:00
christos
ff4e4fcdee fix typo. 2010-04-02 19:34:44 +00:00
skrll
45b51608bd Per-cpu "physical" trap save area. 2010-04-02 19:33:16 +00:00
christos
f8c6b14cc1 fix printf format. 2010-04-02 19:33:09 +00:00
christos
46a93244b5 starttime needs to be time_t (Izumi Tsutsui) 2010-04-02 19:25:21 +00:00
martin
725f1afc58 Bump version 2010-04-02 18:41:52 +00:00
martin
9df6371983 Add support for /boot.cfg. Implement a single command for now: override
the boot partition, which will be used for bootable CDs. Add cd9660
support.
2010-04-02 18:39:44 +00:00
martin
d1f79d814d Add a bootinfo node to allow the loader to override the boot device 2010-04-02 18:34:16 +00:00
christos
23b25caf0c handle ctime returning NULL. 2010-04-02 15:40:14 +00:00
christos
d80643a1f0 remove bogus cast that hides bugs if tv_sec is non POSIX compliant. 2010-04-02 15:38:05 +00:00
christos
84ea502702 handle ctime returning NULL. 2010-04-02 15:34:16 +00:00
christos
4167ec87c5 make it obvious what ctime it is used for. 2010-04-02 15:28:16 +00:00
christos
ec03fa3be9 handle ctime returning NULL. 2010-04-02 15:26:17 +00:00
skrll
d61c3012a6 Pull across pmap_remove fix from OpenBSD.
Fix user-after-free bug in pmap_remove().  Page table pages are freed as soon
as the last page table entry that was actually used is cleared.  So make sure
we check the page table page is still there for every page we remove.
Otherwise we will bring back the tlb entry and cache lines when we touch the
freed page, and we will create an illegal alias (non-equivalent mapping)
as soon as the page gets re-used.
2010-04-02 15:25:51 +00:00
christos
467b66f1cd make it obvious to grep that ctime is being checked. 2010-04-02 15:25:04 +00:00
skrll
1e4b37e869 Change #ifdef DIAGNOSITC tests+panic to KASSERTs. 2010-04-02 15:24:18 +00:00
christos
ef20b5e868 handle ctime returning NULL. 2010-04-02 15:23:17 +00:00
christos
53ab8e0b3c make it obvious what ctime is used for. 2010-04-02 15:19:02 +00:00
christos
bd7ae6bd09 handle ctime returning NULL. 2010-04-02 15:13:26 +00:00
christos
b22f104713 make it obvious to grep that we are checking ctime. 2010-04-02 15:09:12 +00:00
christos
8c20e0e884 fix debugging printf. 2010-04-02 14:11:18 +00:00
christos
79bdd20aa6 PR/43105: Peter Kerwien: Destroying a GPT partition with dd will cause gpt
destroy / create to fail. When reading the GPT label from the end of the disk
ignore errors if the GPT label at the beginning of the disk was not found.
2010-04-02 13:36:59 +00:00
dyoung
da20ddcdb7 Delete ieee80211_setbasicrates(). It's buggy, and we drivers can get
along fine without it.
2010-04-02 03:46:50 +00:00
christos
221f2e33dd handle ctime returning NULL 2010-04-01 22:23:27 +00:00
matt
ea2a1a3631 Change booke_intr.h to intr.h since <powerpc/booke/intr.h> will be unique
enough.
2010-04-01 18:59:27 +00:00
matt
bc7d3d1e06 OpenPIC register defintions used by e500 booke. 2010-04-01 18:58:12 +00:00
jakllsch
2f89eb94f6 Mention Domex DMX-3191D support in nca(4). 2010-04-01 18:47:19 +00:00
matt
0f77efaac1 Fix some TCR definitions. 2010-04-01 18:25:16 +00:00
tsutsui
ce9f7a0416 Mention EtherNEC support for atari. 2010-04-01 17:15:02 +00:00
tsutsui
6df9cedd56 Regen from GENERIC.in rev 1.85, HADES.in rev 1.10, and MILAN.in rev 1.24:
> Add support for the EtherNEC.
2010-04-01 17:10:06 +00:00
tsutsui
901a864f9d Add support for the EtherNEC.
The EtherNEC is yet another user designed device for Atari machines,
an NE2000 based ISA board connected to Atari's ROM cartridge slot with
simple but ingenious interface and cartridge port adapter, and
it's the most available network solution for the old Atari machines.

See following pages for more details about EtherNEC:
http://hardware.atari.org/ether/
http://home.arcor.de/thomas.redelberger/prj/atari/etherne/
http://www.freemint.org/ethernec/ethernec.html
2010-04-01 17:07:51 +00:00
tls
4e0229021b Oops. Fix LOCKDEBUG panic -- and spurious calls to tcp_output()! -- in
previous.  Be careful with that {}, Eugene.
2010-04-01 14:31:51 +00:00
reed
a9374b6b87 Add the "Statement for The NetBSD Foundation's Position on the GPLv3". 2010-04-01 14:13:25 +00:00
skrll
d18a3c623f Whitespace. 2010-04-01 12:21:41 +00:00
pgoyette
6d6a30996f Permit creation of an event-monitor for alarm limits even if the limits
are not currently set (and, in case of battery capacity sensors, if there
is no value_max).  Ensure that such an event-monitor does not trigger the
delivery of any actual events.

Provide a mechanism for sensors to set their limits at time other than
system startup (for example, when a battery is inserted).

This allows us to boot a system with a battery missing, install the
battery some time later, and automatically monitor it without requiring
any user intervention to create the event-monitor.  (The actual changes
for battery sensors to use this new capability will come later.)
2010-04-01 12:16:14 +00:00
skrll
d84df75486 Small simplification 2010-04-01 12:09:39 +00:00
pooka
69381b7a05 fix a few pastos 2010-04-01 09:57:00 +00:00
dyoung
fe84f32506 Cosmetic: join a couple of lines. Stop storing the value of a BAR in a
temporary variable with the name 'csr'.
2010-04-01 05:58:52 +00:00
macallan
2e75e5a699 don't divide by zero. ever. 2010-04-01 05:26:48 +00:00
macallan
c769b1a3db mention adm1031 support 2010-04-01 05:10:52 +00:00
macallan
b19558e533 mention ADM1031 support in dbcool 2010-04-01 05:08:46 +00:00
macallan
a6ad2de3be add some more ADM1031 support:
- additional temperature and fan speed sensors work now
- limits on should work on all temperature sensors
Controlling fan behaviour doesn't work yet, the ADM1031 uses the same
register for both fans which doesn't quite fit with the way the dbcool
driver works.
2010-04-01 04:29:35 +00:00
jakllsch
624dd7e525 Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.
2010-04-01 04:04:11 +00:00
pooka
326638b53f In case we create a file, reclaim the vnode, and lookup the file
without the directory timeout expiring, we get vattr_null as the
attributes for that file.  Ensure that we always report sane
attributes by getting them from the server if this is the case.
(also, sprinkle some const)

Fixes problem reported by dyoung.   But wait!  The bug's medallion
begins to glow!  The bug looks much better!  I crumble to dust.

There's probably another similar bug related to "lazy open".  It
will trigger if we reclaim a node before the response to the open
arrives.  Even the comments (typoless) know about this bug ...
But verifying it exists and fixing it will have to wait for another
day.
2010-04-01 02:34:09 +00:00
tls
04c7bc4215 As suggested by at least 3 different people (the guilty parties know who
they are) avoid repeated kernel_lock/unlock by using an intrq on the stack.

About 5%-10% better from run to run, on my *very* simpleminded test.  Can't
possibly be worse.
2010-04-01 01:23:32 +00:00
msaitoh
a4297d912f Fix the code for 5822 B0 errata. Use pci_conf_read() and access at
32bit alignment.
2010-04-01 01:11:53 +00:00
tls
994b02bdbe After discussion with ad@: it appears that KERNEL_LOCK also protects
the driver output path (that is, ifp->if_output()).  In the case of
entry through the socket code, we are fine, because pru_usrreq takes
KERNEL_LOCK.  However, there are a few other ways to cause output
which require protection:

	1) direct calls to tcp_output() in tcp_input()
	2) fast-forwarding code (ip_flow) -- protected elsewise
	   against itself by the softnet lock.
	3) *Possibly* the ARP code.  I have currently persuaded
	   myself that it is safe because of how it's called.
	4) Possibly the ICMP code.

This change addresses #1 and #2.
2010-04-01 00:24:41 +00:00
joerg
d6c268fede Just ignore the errno of strtoimax, it doesn't provide much value. 2010-03-31 21:55:23 +00:00
joerg
451c42c37a Remove 2**31 limit on the number of lines or bytes to process.
For the byte operations, process in blocks of 64KB.
2010-03-31 21:52:11 +00:00
macallan
87ba095012 remove a now useless bus_space_barrier() 2010-03-31 21:01:03 +00:00