Commit Graph

95827 Commits

Author SHA1 Message Date
chris
889823f09a Remove repeated setting of cpuctl bit for vectors being high in cpu setup
code.

Pointed out in private email by Kevin Lo.
2008-07-13 09:12:14 +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
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
cube
ec7745c68a device_t split fallout [hi joerg!] 2008-07-11 11:58:37 +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
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
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
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
joerg
0ae228380e Finish device/softc split. 2008-07-09 20:41:02 +00:00
joerg
6bf2b4fab1 device/softc split 2008-07-09 20:40:16 +00:00
joerg
083ae1f6af device/softc split 2008-07-09 20:23:50 +00:00
joerg
bcdf6fccac - device/softc split 2008-07-09 20:07:19 +00:00
joerg
52c17c8946 - device/softc split for ath(4) 2008-07-09 19:47:23 +00:00
joerg
2f3ebaa053 - device/softc split 2008-07-09 19:08:44 +00:00
joerg
0d1213e55a - device/softc split 2008-07-09 18:18:56 +00:00
reinoud
e367a2e837 Force allocation extent descriptor CRC length to 8 for UDF versions prior
to version 2.01.
2008-07-09 18:10:57 +00:00
joerg
53485c0add Fix device/softc split. 2008-07-09 18:02:46 +00:00
joerg
ec7aeae0ff - device/softc split 2008-07-09 17:51:21 +00:00
joerg
85f9c6ce1a - device/softc split for fxp(4) 2008-07-09 17:07:28 +00:00
joerg
3d7462a945 Use device_private to access cardbus_softc. 2008-07-09 16:27:12 +00:00
joerg
34110c5c6d - device/softc split 2008-07-09 16:14:57 +00:00