Commit Graph

171576 Commits

Author SHA1 Message Date
christos
f3e4d308aa PR/39133: cheusov at tut dot by: Don't treat -Ft as -F <tab> 2008-07-12 15:17:37 +00:00
gmcgarry
686556951e Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags. 2008-07-12 12:29:42 +00:00
gmcgarry
396359b261 Check MKCOMPLEX variable to build complex support into libm. 2008-07-12 12:23:13 +00:00
gmcgarry
495a069c8d Test MKATF variable to compile ATF libs. 2008-07-12 12:20:08 +00:00
gmcgarry
eedccd9862 Add and document knobs to turn off building ATF and libm complex support.
Also add knobs for PCC which parallel GCC ones.
2008-07-12 12:15:43 +00:00
gmcgarry
fb80c8cd2d Disable INCLUDE_CONFIG_FILE if compiling with PCC, since PCC cannot
handle 80KB string literals.  Documented as hack.
2008-07-12 11:50:07 +00:00
tsutsui
b7ae6e7fa1 Set SDA High (it means turning off open-collector driver
regardless of DIR() on the formal I2C hardware implementation)
during DIR() is set to INPUT. Some MD drivers might assume it.

tl(4) still works with this change.
2008-07-12 02:11:32 +00:00
tsutsui
ce1887dc69 - if SDA is set to low during DIR(INPUT) in gpiic_set_bits(),
store the SDA status into softc and enable it once after
  DIR() is changed to OUTPUT in gpiic_set_dir()
- remove "Read in output mode" warning in gpiic_read_bits()
  since it's a vaild operation (to read SCL during SDA output is low)

Tested by kiyohara@ on OPENBLOCKS266.
2008-07-12 02:04:07 +00:00
christos
e04577112e and remove debugging. 2008-07-11 23:06:48 +00:00
christos
86201bf107 better fix than before. Instead of copying the constant cells, set DONTFREE
on all non-strings.
2008-07-11 23:05:49 +00:00
christos
2a2697b888 PR/39132: cheusov at tut dot by: When copying an OCELL, make sure you make
a copy of its string and deal with DONTFREE properly, so that we don't try
to free the OCELL pointer later which points to a literal string in the text
segment.
2008-07-11 22:11:24 +00:00
dyoung
4f2602786e Don't write a register on the device until PCI I/O access has been
enabled on both the bus bridge and on the device.
2008-07-11 21:02:53 +00:00
dyoung
fa90a906d3 Don't write a memory-mapped register on the device until PCI memory
access has been enabled on both the bus bridge and on the device.
2008-07-11 20:57:51 +00:00
kiyohara
c8c9d3de59 Apply changes missed in "cardbus interrupt stuff cleanup" by drochner@:
http://mail-index.netbsd.org/source-changes/2008/06/24/msg207339.html
2008-07-11 17:50:45 +00:00
reinoud
b62b494f22 Fix spelling in comment 2008-07-11 15:16:53 +00:00
gdt
1cd8f017b9 Changemanpages written by Igor Sobrado to 2-clause license, per
private email from Igor.  Drop attribution to Matt Thomas in those man
pages, per private email from Matt.  In coredump_write.9, fix
capitalization of THomas.  Requested by martin@.
2008-07-11 13:20:17 +00:00
cube
ec7745c68a device_t split fallout [hi joerg!] 2008-07-11 11:58:37 +00:00
tteras
75bc4bd6cd Original patch from Atis Elsts:
Fix a double memory free and a memory corruption (LIST_REMOVE() on
an uninserted node) in some error handling paths.
2008-07-11 08:02:06 +00:00
cyber
76c8d40dd1 Add IANA allocation and header for RFC 5006 (RA RDNSS) IPv6 Router
Advertisement option.
2008-07-11 07:35:05 +00:00
skrll
84009eaecf English improvement in comments.
"seems good to me :)" from yamt.
2008-07-11 07:09:18 +00:00
simonb
27ae933bee Fix potential 32-bit overflow problem in the blockpref code.
mlelstv@ points out FreeBSD fixed the same thing a couple of years
ago - here's the commit message they used on rev 1.127:

   Fixes a bug that caused UFS2 filesystems bigger than 2TB to
   prematurely report that they were full and/or to panic the kernel
   with the message ``ffs_clusteralloc: allocated out of group''.

   Submitted by:   Henry Whincup <henry@jot.to>
2008-07-11 05:31:44 +00:00
christos
7d50e0f80c resolve conflicts 2008-07-10 21:18:37 +00:00
tnozaki
4dbd28ac77 add check wether /var/run/vi.* is regular file or not.
nvi-1.81.6 may create not only recovery file, but
tempoary directory(for db) using this name.
2008-07-10 17:48:04 +00:00
reinoud
4503919107 Fix chtimes permission checking. This sanitised version is hopefully DTRT. 2008-07-10 17:38:31 +00:00
reinoud
cb6e2404af On node creation, follow tmpfs and UFS by generating the uid/gid pair. This
fixes the lack of file ownership preservation on file/directory creation.

See PR kern/39124
2008-07-10 16:41:00 +00:00
tsutsui
1644c2b297 Cosmetic changes to sync with other m68k ports:
- rename ipl2spl_table[] to ipl2psl_table[] and make it uint16_t
- rename _spl member in ipl_cookie_t to _psl
- sort some splbio entries
2008-07-10 16:14:16 +00:00
tsutsui
4c483f361d Remove __P(). 2008-07-10 16:07:30 +00:00
nakayama
edb7368453 Use proper CCR. 2008-07-10 15:38:40 +00:00
reinoud
0381f71bf3 Allow the renaming of directories *within* their current directory. No
cross-directory renaming is allowed yet.
2008-07-10 15:29:51 +00:00
nakayama
3eac605929 sparc64_ipi_save_fpstate:
- use primary MMU context for consistency with other trap/interrupt handlers.

sparc64_ipi_save_fpstate, savefpstate:
- avoid storing fp registers as we can.

sparc64_ipi_save_fpstate, savefpstate, loadfpstate:
- remove unaligned case since buffers allocated with pool_cache are ensured
  64-byte aligned.

Ok by martin@.
2008-07-10 15:23:58 +00:00
nakayama
b74ec3e6b6 Switch fpstate buffer allocation from malloc to pool_cache.
Ok by martin@.
2008-07-10 15:04:41 +00:00
christos
0a48355ff6 Import bind 9.5.0-P1 2008-07-10 14:17:08 +00:00
reinoud
e3eced36a8 Clarifying comments 2008-07-10 14:16:02 +00:00
blymn
380be0c111 Fix indents. 2008-07-10 13:28:23 +00:00
blymn
09145e4d2b Add documentation for show files command 2008-07-10 12:43:03 +00:00
blymn
8a19e9911c Add a show files command that prints the vnodes associated with a
given struct proc and, if LOCKDEBUG is built in, the lock status of
the uvmobject.
2008-07-10 12:42:24 +00:00
blymn
8070795214 Whitespace clean up. 2008-07-10 12:38:28 +00:00
cegger
5a5486f956 make this compile again 2008-07-10 05:15:32 +00:00
cegger
ff7f3a7e44 make this compile with DIAGNOSTIC 2008-07-10 05:11:10 +00:00
scw
d9aadb22f8 When dealing with 'cleanlist_idx == PMAP_REMOVE_CLEAN_LIST_SIZE' in
pmap_do_remove(), make sure to use PTE_SYNC() for each rolled-back
PTE on the list.

Fixes potential MMU inconsistencies on some ARM platforms where
page-tables are mapped write-back.
2008-07-09 23:22:15 +00:00
joerg
2f4873590d device/softc split
aprint conversion
2008-07-09 21:30:04 +00:00
joerg
3f4a1f5ac4 - device/softc split
- ANSIfy
2008-07-09 21:25:59 +00:00
joerg
9cd21b65c4 - Statify
- Split device/softc.
2008-07-09 21:19:23 +00:00
joerg
0fa9592ac8 Fix syntax. *sigh* 2008-07-09 21:07:55 +00:00
joerg
ec61c372b5 Finish device/softc split. 2008-07-09 21:07:25 +00:00
joerg
b6a44bdc8a - device/softc split 2008-07-09 21:03:42 +00:00
joerg
b92a5f0408 Constify a global variable. Split device/softc. 2008-07-09 20:59:16 +00:00
joerg
713c902ab3 Device/softc split. 2008-07-09 20:54:13 +00:00
joerg
fa4b49dc5e device/softc split. 2008-07-09 20:50:41 +00:00
joerg
fcdefdcff8 device/softc split 2008-07-09 20:45:33 +00:00