Commit Graph

211725 Commits

Author SHA1 Message Date
blymn
e50cb73fff Extraneous whitespace removal. 2012-06-27 11:39:14 +00:00
cheusov
87e5d7b5fb KNF fix. spaces vs. tab 2012-06-27 10:15:25 +00:00
cheusov
af4f78f198 KNF fix. space vs. tab 2012-06-27 10:06:55 +00:00
cheusov
06aa70f732 Fix a typo. s/seperate/separate/ 2012-06-27 10:02:02 +00:00
macallan
8c2ffd8ed8 don't spam the EDID block to the console unless options RADEONFB_DEBUG 2012-06-27 07:12:19 +00:00
jym
b6169c060b Retire XEN_COMPAT_030001 as detailed on port-xen@:
http://mail-index.netbsd.org/port-xen/2012/06/25/msg007431.html

The xen_p2m API comes next.

ok bouyer@.
Tested on i386 PAE and amd64 (Xen 3.3 on private test bed, and
Xen 3.4 for Amazon EC2).

FWIW, Amazon always reported:

hypervisor0 at mainbus0: Xen version 3.4.3-kaos_t1micro

multiple times for Europe and US West-1, so I guess they are now at
3.4 (32 and 64 bits).
2012-06-27 00:37:07 +00:00
drochner
6849db2f2b lua is at 5.2.1 upstream 2012-06-26 20:15:57 +00:00
drochner
e2695d54e7 mention new upstream OpenPAM release 2012-06-26 20:14:38 +00:00
drochner
c528a400b9 regen 2012-06-26 19:03:07 +00:00
drochner
15db4ef121 fix pci id for the Intel H61 LPC bridge to fit actual hardware (and
the chipset's documentation), and add some PCI-to-legacy bridges
found on recent boards
2012-06-26 19:00:59 +00:00
bouyer
931da08bf7 In some case, when an error is reported by the disk, the ahci controller
still reports a number of bytes transfered equal to bcount.
This then triggers a KASSERT in physio_biodone:
        if (done == todo)
		KASSERT(bp->b_error == 0);
Detect this case in wd(4) (so that the workaround works for other controllers
too if they have the same issue, or if the issue is with the drive)
and claim we didn't read/write anything.
2012-06-26 09:49:24 +00:00
macallan
cb9b109d3a do as sparc64 does and switch the default terminal type to wsvt25 2012-06-26 02:05:43 +00:00
macallan
6c4d0ceaeb switch to WSEMUL_VT100 to reduce differences with sparc64 and other wscons
and fb console using ports
WSEMUL_SUN is left in but commented out so whoever wants it back can have it
with minimal effort
2012-06-26 02:04:55 +00:00
abs
9e66e6d75e Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
2012-06-25 22:32:43 +00:00
mlelstv
1e662e8f89 it's really 32bit 2012-06-25 20:39:54 +00:00
mlelstv
001d5cd77f Make digests work also on big endian machines. 2012-06-25 20:34:26 +00:00
mlelstv
58d2e3b383 report luns returns a 32bit list length. 2012-06-25 20:33:56 +00:00
jnemeth
98f55161d5 PR/46612 - Lloyd Parkes -- add a terminating newline to error messages 2012-06-25 20:23:43 +00:00
martin
ef2efed249 Adjust to rfc6056 rename to portalgo 2012-06-25 19:25:07 +00:00
abs
e14333f8c1 Some fun in trying to work out what was broken with gcc-4.1 to
trigger the following warning when gcc-4.5 was silent:
  nd6_rtr.c: In function 'nd6_ra_input':
  nd6_rtr.c:788: warning: 'ext' may be used uninitialized in this function
Eventually determined that it was not unreasonable for gcc-4.1 to
bleat in this case as there is a nasty 'goto insert' which could
indeed have resulted in an uninitialised variable use. Yay gcc 4.1.
2012-06-25 17:25:29 +00:00
abs
5659783547 Whatever "-Wl,--fatal-warnings" get-out-of-jail-free card gcc-4.5 gets,
give the same treatment to gcc-4.1.
2012-06-25 16:48:55 +00:00
abs
315046f892 Casting an uint32_t pointer to (long *) may have been acceptable
in the eighties but that time has long past. Minimally invasive
fix using a temporary long variable, so while we can still overflow
at least we're less broken.
2012-06-25 16:47:03 +00:00
christos
f20c6fee98 rename rfc6056.h to portalgo.h 2012-06-25 15:30:16 +00:00
christos
84f52095ad rename rfc6056 -> portalgo, requested by yamt 2012-06-25 15:28:38 +00:00
christos
f0966fe6ed moved to portalgo.h 2012-06-25 14:47:55 +00:00
reinoud
67d81114c7 Implement dummy `cpu_mcontext_validate' to make it compile again. This
function needs to be implemented in the target secton one day for extra
security.
2012-06-25 14:43:54 +00:00
jnemeth
55657a2741 PR/46601 - Jim Bernard -- add support for rc_directories 2012-06-25 07:22:45 +00:00
isaki
9cdd524924 Rewrite fpu_int().
Especially, remove the special treatment when |x| < 1
because it forgets to consider FPCR round mode.
See PR/46627 for the detail.  Thanks Y.Sugahara for advice.
2012-06-25 04:52:23 +00:00
riastradh
360ba4cb54 Omit outdated cryptographic claims as noted in PR 44160.
Interested readers can follow the references or read Wikipedia; this
is the wrong place to explain cryptographic hash functions and give
security advice.
2012-06-25 02:32:12 +00:00
jym
23a2531c0e Enable the map/unmap recursive mapping functions for all Xen ports for
save/restore.

For an unknown reason (to me) Xen refuses to update VM translations
when the entry is pointing back to itself (which is precisely
what our recursive VM model does). So enable the functions that take
care of this, which will avoid all sort of memory corruption upon restore
leading domU to trample upon itself.

Save/restore works again for amd64. The occasional domU frontend corruption is
still present, but is harmless to dom0. Now we have a working shell and
ddb inside domU, that helps debugging a tiny bit.

XXX pull-up to -6.
2012-06-24 18:31:52 +00:00
alnsn
2db61b9b19 Add missing $NetBSD$. 2012-06-24 17:28:09 +00:00
mlelstv
da501d22d0 Add more debugging, fix filehandle usage, login negotiation and session
shutdown.
Add #ifdef'd code to send negotiation parameters in hex instead of base64,
so it works against older Linux targets.
2012-06-24 17:01:35 +00:00
kardel
b01c74c514 PR/44647: commit fix proposed by Takahiro HAYASHI
verified to be working in -current and also helps NetBSD-6 BETA2
2012-06-24 16:24:34 +00:00
christos
3d365e7447 fix old style definitions; XXX: gcc should have picked them up but it did not. 2012-06-24 15:26:02 +00:00
jym
39b8d4bd9a Update comment: we stopped using xcall to sync PTP between CPUs.
pmap_kpm_sync_xcall => xen_kpm_sync
2012-06-24 13:56:10 +00:00
mlelstv
af909e1586 use first successful connection to a ISNS server 2012-06-24 13:08:38 +00:00
drochner
2c8471c744 stopgap fix for recursive locking on suspend/resume
(This can be simplified imo because interrupts should be disabled
at this point.)
2012-06-24 10:06:34 +00:00
jdc
e7e6a0e935 Note that the PHY instance changes when a MII transceiver is connected. 2012-06-24 09:38:54 +00:00
jdc
b67baf6e3e PR kern/46424
Revert the part of revision 1.77 that altered the PHY attachment order.
2012-06-24 09:37:28 +00:00
kiyohara
41f4d38cf3 Flush current empty descriptor in emac_rxeob_intr(). 2012-06-24 08:39:39 +00:00
riastradh
3c457d56bb Take the kernel lock in atapibusdetach just like atapibuschilddet.
Fixes kassert in scsipi_lookup_periph when I press the power button
on one of my laptops (and maybe another one) to power it off.

ok mrg
2012-06-24 07:48:01 +00:00
wiz
0d00d3b578 Bump date for previous. 2012-06-23 23:41:25 +00:00
jdf
8efbef4b63 Clarify use of the union option for mount, as proposed in PR 45919.
Text proposed by apb.
2012-06-23 23:17:46 +00:00
jdf
17ec07bc2d * Remove spurious period in name section
* remove spurious argument to Nm macro
Patch supplied by Bug Hunting.
2012-06-23 20:49:14 +00:00
wiz
e04232a5fa Remove superfluous word. 2012-06-23 20:29:06 +00:00
abs
796b9786c8 Document DIOCTUR (test unit ready) 2012-06-23 19:14:34 +00:00
martin
6817543049 Do not assign to a const pointer, but set the value of the target variable
instead. Makes sysinst at least start up again.
2012-06-23 17:49:58 +00:00
jdc
e6facd19bf Fix multicast filter set up: we need to byte-swap the hash before writing to
the chip.  While here, remove open-coded copy of ether_crc32_le().
2012-06-23 17:21:12 +00:00
christos
a9706a560c Trying to print a function pointer as a string is likely to cause tears.
While here, don't match on the unit either
2012-06-23 14:06:02 +00:00
minoura
37abe35e51 Change to the 2-clauses license. 2012-06-23 08:48:15 +00:00