mrg
41097c94f6
support new drm.
...
XXX: not fully enabled yet. config(1) has a makeoptions bug
with complex conditionals. see files.drm / files.pcidrm for
some instructions on how to enable it.
2008-07-19 07:26:54 +00:00
mrg
242955a02d
XXX: remove the (volatile uint32_t *) cast from atomic_read() macro for now.
...
now all bsd drm drivers build except for i915 which fails to link.
2008-07-19 07:03:07 +00:00
mrg
cc28125d9e
XXX: always return DRM_MIGHT_BE_AGP for now -- need to implement the
...
XXX: releant bus controller grovelling for netbsd pci.
2008-07-19 07:02:15 +00:00
mrg
310b3512f5
XXX rename some macro internal variable names to not clash with users.
2008-07-19 06:48:44 +00:00
mrg
c97fa01b94
rename some inner local variables away from outer scope name conflicts
2008-07-19 06:42:07 +00:00
mrg
215f2c6a8b
rename a local variable from free to myfree
2008-07-19 06:40:01 +00:00
mrg
8ff8b7b272
pull over many many changes from netbsd-current sys/dev/{,pci/}drm/.
...
make the mesa-drm style Makefile's actually run on netbsd (but i doubt
they work yet.)
this still has a lot to go. it doesn't work yet, but it's getting
close.
most of this is from other authors than myself: yorrick, drochner,
jared, bjs, all contributed a lot more than i have so far, but there's
a bunch of clean up from myself in here as well.
2008-07-19 06:18:23 +00:00
mrg
3a3ec8ba5f
include bsd.subdir.mk
2008-07-19 06:14:25 +00:00
mrg
d582952b83
import mesa-drm git from version 5d27fd94afaaf434c3a92af0075420b550055bfb,
...
which is approximately june 25th or so.
2008-07-19 05:30:36 +00:00
christos
dac1180a87
fix debugging printf
2008-07-18 21:29:48 +00:00
reinoud
a48555c3a3
Hopefully fix gcc type puned warning.
2008-07-18 16:21:12 +00:00
pooka
1d89d2370c
enable DIAGNOSTIC
2008-07-18 16:20:03 +00:00
pooka
28fdf2df68
support cv_has_waiters()
2008-07-18 16:19:12 +00:00
pooka
00e37d073d
emulate vlog()
2008-07-18 16:18:04 +00:00
pooka
6fed9eb99d
Don't biohazardwait B_ASYNC buffers.
2008-07-18 16:15:56 +00:00
reinoud
e7c5eefcfb
fix comment
2008-07-18 15:55:32 +00:00
reinoud
5f233d9346
On dirhash lookup, don't retrieve info you already have.
2008-07-18 14:18:51 +00:00
reinoud
f0040136a6
Remove double check
2008-07-18 13:39:41 +00:00
reinoud
43188548d8
First retrieve length and hash values *before* advancing to the next entry.
...
On hashline collision it would check a random one next.
2008-07-18 13:34:05 +00:00
reinoud
aa9cb3deaa
Instead of bombing out when trying to mount a disc RW when UDF_READWRITE is
...
not defined, downgrade it to a read-only mount.
2008-07-18 12:45:08 +00:00
rmind
a7fc471680
PR/39155: Wolfgang Solfrank: Invalid parameter to turnstile_exit in rw_downgrade.
2008-07-17 23:00:01 +00:00
reinoud
2ac28d554b
Implement directory hashing to speed up directory traversals. Speed
...
improvements of at least 4 times in untarring and roughly 100 to 500 times
on file creation in big directories. Lookup of files was O(n*n) and is now
O(1) even for file creation. Free spaces in the directory are kept in a
seperate list for fast file creation.
The postmark benchmark gives:
UDF old:
pm>set transactions 2000
pm>set number 3000
pm>run
Creating files...Done
Performing transactions..........Done
Deleting files...Done
Time:
1593 seconds total
681 seconds of transactions (2 per second)
Files:
3956 created (2 per second)
Creation alone: 3000 files (4 per second)
Mixed with transactions: 956 files (1 per second)
990 read (1 per second)
1010 appended (1 per second)
3956 deleted (2 per second)
Deletion alone: 2912 files (9 per second)
Mixed with transactions: 1044 files (1 per second)
Data:
5.26 megabytes read (3.38 kilobytes per second)
21.93 megabytes written (14.10 kilobytes per second)
pm>
UDF new:
pm>set transactions 2000
pm>set number 3000
pm>run
Creating files...Done
Performing transactions..........Done
Deleting files...Done
Time:
19 seconds total
3 seconds of transactions (666 per second)
Files:
3956 created (208 per second)
Creation alone: 3000 files (230 per second)
Mixed with transactions: 956 files (318 per second)
990 read (330 per second)
1010 appended (336 per second)
3956 deleted (208 per second)
Deletion alone: 2912 files (970 per second)
Mixed with transactions: 1044 files (348 per second)
Data:
5.26 megabytes read (283.66 kilobytes per second)
21.93 megabytes written (1.15 megabytes per second)
2008-07-17 19:10:22 +00:00
tsutsui
770f58015d
Revert part of previous changes:
...
> make makeiplcookie() return PSL bits via ipl2psl_table[]
> rather than IPL_FOO indexes
because ipl2psl_table[] could be updated during autoconf(9)
and we can't use it as cookie before cpu_configure(9).
2008-07-17 16:13:33 +00:00
reinoud
441bae21b1
Dont round up nanosecond count; if its nearing wrap one could get a count
...
of >1 second resulting in invalid time stamps on disc.
2008-07-17 15:37:59 +00:00
cegger
2515b0ec09
make this compile
2008-07-17 14:43:38 +00:00
cegger
075c838a83
devive_private -> device_private
2008-07-17 14:39:26 +00:00
cegger
1ca90441b2
use device_xname
2008-07-17 13:39:50 +00:00
cegger
f2b690d08e
remove redundant declaration of tvtohz(). It's declared in <sys/timevar.h>.
...
Makes i386 ALL kernel build again.
2008-07-17 13:35:07 +00:00
pooka
3e3b9ce9de
Deregister fakeblock path immediately after mount to get it
...
deregistered also in the case of an error.
2008-07-17 11:25:07 +00:00
reinoud
31a383903d
Since the rename logic now locks its source directory too, we ought to
...
unlock the source directory again on exit. The stub that doesn't allow
cross directory renames for now jumped to the wrong exit point and thus
left a locked directory node that paniced on next locking.
2008-07-17 11:00:29 +00:00
skrll
d2b1f0c9d9
Bump image size to deal with bloat.
2008-07-17 07:01:30 +00:00
pooka
cc7d901591
vfs_subr2 has lost its will to live. vfs_subr was originally split
...
into two parts so that some of the routines could be used by rump.
Now that rump uses both vfs_subr and vfs_subr2 and there is no
reason to keep two files lying around, re-unite them.
2008-07-16 20:06:19 +00:00
drochner
152044172b
add a KASSERT to check the protection bits before using as array index
2008-07-16 18:56:34 +00:00
drochner
983ec2783f
split device/softc for sd (tested with a USB stick)
2008-07-16 18:54:09 +00:00
drochner
a3df0dfc03
split device/softc for scsibus
2008-07-16 18:50:58 +00:00
drochner
8b720093a8
wipe out tty buffer contents after read, to avoid keeping possibly
...
sensitive information in memory longer than necessary
(We could make this depend on ~ECHO or so, but this would be an API
change and I don't think it is worth the effort.)
2008-07-16 18:27:49 +00:00
perry
7549434e22
Add -DM to the newvers_stand.h invocation.
...
Why is there a "Makefile.boot" used here, and a "Makefile.booters"
used one level up, with redundant stuff between both of them? This all
used to be so clean...
2008-07-16 16:13:38 +00:00
pooka
2707ee274f
bring todo list upper-to-dater
2008-07-16 15:54:24 +00:00
pooka
76ee3b3a51
Sync data to baking storage in ukfs_write()
2008-07-16 15:44:11 +00:00
pooka
514afdda21
regen: fsync
2008-07-16 15:43:30 +00:00
pooka
b09210ace9
rumpalooza sys_fsync
2008-07-16 15:42:54 +00:00
tsutsui
a3c412626c
Disable more pseudo-devices to shrink an install kernel.
2008-07-16 15:22:50 +00:00
tsutsui
6415b4ca38
Change boot messages to replace build date and maker with kernrev.
2008-07-16 14:45:17 +00:00
matt
3e3119f9fe
Default PMAP_KMPAGE to 0 unless it's been previously defined by
...
<machine/pmap.h>
2008-07-16 14:33:09 +00:00
tsutsui
a6ea1c4a92
Change boot messages to replace build date and maker with kernrev.
2008-07-16 13:44:51 +00:00
tsutsui
fc10d3a3fc
Change boot messages to replace build date and maker with kernrev.
2008-07-16 13:19:20 +00:00
perry
ab1cc5d822
Call newvers_stand.sh with -DM so we don't include the (unused) date
...
and builder in the data segment.
2008-07-16 12:52:37 +00:00
reinoud
d61a135a38
Make UDF allocation-sanity check optional even if the DEBUG flag is
...
specified. This should be sysctl-able when compiled with the DEBUG flag
eventually.
2008-07-16 09:36:08 +00:00
tonnerre
232e862b92
Don't ignore poor retarded ubt(4) devices which have vendor and product id
...
== 0. Discovered by mballmer@obsd, ok'd by plucky@.
2008-07-16 08:43:01 +00:00
chs
a1677d385b
in pmap_map(), use pmap_kenter_pa() instead of pmap_enter()
...
so that we don't need to allocate memory to create the mapping.
this should help with getting crash dumps more reliably.
2008-07-16 03:22:04 +00:00
matt
1f9c1ede20
Revamp bookkeeping for pages entered by pmap_kenter_pa. Keep track of them
...
on pvlists so that the cacheability can be properly tracked.
2008-07-16 00:19:57 +00:00
perry
e2eca0cfb3
make vers.c also depend on the script that builds vers.c
2008-07-16 00:16:17 +00:00
matt
ad65eb54bc
Add PMAP_KMPAGE flag for pmap_kenter_pa. This allows pmaps to know that
...
the page being entered is being for the kernel memory allocator. Such pages
should have no references and don't need bookkeeping.
2008-07-16 00:11:27 +00:00
perry
ac6f476b2b
Update the version numbers following commit, and make them all identical.
2008-07-15 23:16:26 +00:00
tonnerre
5bc4657a0a
Regen.
2008-07-15 22:27:31 +00:00
tonnerre
8d218a9ef7
Add some PCI IDs from the Thinkpad T61/X61/R61 series as observed in
...
PR 37988 and on my own T61.
2008-07-15 22:26:42 +00:00
christos
460ae70d0a
make l_flags contain more stuff. Fixes top thread display where system processes
...
were always displayed.
2008-07-15 22:25:30 +00:00
perry
17bba44783
Change the x86 boot blocks so they don't include builder login and date.
...
For now, we include kernel revision as a way of allowing users to
notice that boot blocks have gotten very old, so the first line of the
printout looks like this (depending on the particular block):
>> NetBSD/x86 BIOS Boot, Revision 3.4 (from NetBSD 5.0)
This may be changed a bit pending feedback. (Some people think that
the kernel revision shouldn't be there at all, for example.)
Part of the project to assure that bit-identical sources produce
bit-identical release binaries.
2008-07-15 21:29:37 +00:00
perry
9b5b7fcda3
Add the kernel revision to vers.c, as in:
...
const char bootprog_kernrev[] = "4.99.70";
For now, we still also include the builder name and date and such, so
that we don't break anything, but those are (probably) on the way out.
Part of the "bit-identical sources yield bit-identical release files"
project.
2008-07-15 20:10:06 +00:00
pooka
aa652b7453
Nuke the "-p" argument to ukfs_mkdir(). It's not a particularly
...
brilliant idea to provide that functionality at this level.
2008-07-15 16:21:19 +00:00
dyoung
2e4b9b5581
Make acpilid(4) detachable.
2008-07-15 16:19:37 +00:00
christos
aa389c698d
Use more timespecs internally. From Alexander Shishkin and me.
...
Welcome to 4.99.70, 30 more to go for 100.
2008-07-15 16:18:08 +00:00
dyoung
03df89373a
Introduce acpi_clear_wake_gpe() to undo acpi_set_wake_gpe().
...
Extract common code from acpi_clear_wake_gpe() and acpi_set_wake_gpe(),
creating acpi_wake_gpe_helper().
2008-07-15 16:15:28 +00:00
christos
799fe367ce
explicitly set birthtime to VNOVAL, since there is no such thing in nfsv{2,3}
2008-07-15 16:06:58 +00:00
reinoud
e4424d53b1
Keep the directory to read '..' from locked until its dirent is read and
...
its location is extracted.
Also lock the source directory so its contents can safely be changed...
patch from tmpfs.
2008-07-15 15:49:05 +00:00
pooka
e6891fd321
Honor PGO_FREE in putpages.
...
Fixes cp-then-rm ukfs panic reported by Arnaud Ysmal.
2008-07-15 15:04:42 +00:00
hannken
f67742b3c8
expunge_ufs*(): Use the buffer cache to update the inodes on the snapshot like
...
the rest of snapshot creation does.
2008-07-15 08:20:56 +00:00
cegger
fddc51df07
Configure /dev/power for domu as in src/sys/arch/i386/conf/majors.i386.
...
See discussion on port-xen for the details at http://mail-index.netbsd.org/port-xen/2008/06/14/msg003904.html
2008-07-15 06:50:02 +00:00
hannken
0d6dbadf45
bdwrite(): The COWDONE check may fire for special vnodes with mounted
...
non-ffs file system. Remove VBLK vnodes from the check.
Should fix PR kern/38892
2008-07-14 16:22:42 +00:00
matt
cfd3ec1da9
Remove OMAP gunk in com_activate, it's not needed.
...
Spotted by Matthias Drochner.
2008-07-14 15:40:55 +00:00
drochner
cc7bfbe664
set the buffer's "resid" if a raw SCSI command fails, otherwise a
...
diagnostic check in kern_physio is set up
2008-07-14 12:36:44 +00:00
blymn
a7db4edf3b
Take care not to dereference NULL datapointer from fd table
...
Make output more readable and label what lock we are examining.
2008-07-14 10:15:11 +00:00
rmind
7c330ba82f
Fix the locking against oneself, migrate LWPs only from runqueue.
...
Part of the fix for PR/38882.
2008-07-14 01:27:15 +00:00
rmind
4f91cff093
- Disallow setting of affinity for zombie LWPs.
...
- Fix the possible NULL dereference when LWP exiting.
- Fix the inhertance of affinity.
2008-07-14 01:19:37 +00:00
rmind
d489642431
sched_migratable: add KASSERT since this function cannot be called
...
without lock held now. Few cosmetic changes, while here.
2008-07-14 01:18:10 +00:00
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
joerg
7a5458e4c2
Constify device table.
2008-07-09 16:06:02 +00:00
joerg
eb081e3dab
- device/softc split
2008-07-09 15:42:37 +00:00
joerg
95bdabfada
- device/softc split
2008-07-09 15:04:21 +00:00
joerg
18f2c24945
- device/softc split
2008-07-09 14:46:15 +00:00
joerg
b5d2f044e1
- device/softc split
...
- reduce namespace pollution
2008-07-09 14:39:44 +00:00
joerg
85d049a760
- device/softc split
...
- make sfbplus at least compilable
2008-07-09 13:19:33 +00:00
joerg
02aa18819c
- device/softc split
...
- remove redundant ;
2008-07-09 13:18:41 +00:00
joerg
c2fb38c80f
- device/softc split
...
- use aprint in attach
2008-07-09 13:15:40 +00:00
joerg
33e290f558
- use aprint in attach
...
- split device/softc
- move softc definition into source to make explicit that it is local
- reduce namespace pollution
2008-07-09 13:12:54 +00:00
yamt
e4fb48bcaf
pool_do_put: fix a pool corruption bug discovered by
...
the recent exec_pool changes.
2008-07-09 02:43:53 +00:00
christos
7f6e74c46e
Fix to bug reported and tested by Alexander Shishkin. struct ptimer has
...
a union that contains either a callout [for CLOCK_REALTIME] or a flag
and a list [for other clock types]. Make sure we perform the right actions
on the right union member depending on the clock type. Otherwise this would
result in crashes.
2008-07-08 20:53:02 +00:00
kiyohara
71d621af19
Initialize the member sc_callout before call callout_reset().
2008-07-08 17:32:56 +00:00
hannken
ca4c4b49e1
Stop reusing a buffer obtained with getiobuf().
2008-07-08 14:57:03 +00:00
sborrill
e19a05dba0
Fix multicast (multicast hash table were calculated incorrectly).
2008-07-08 12:39:27 +00:00
gmcgarry
bdd7de96c7
Constify most umidi-quirk data. Addresses PR#39017.
2008-07-08 11:34:43 +00:00
jmmv
4b6f682838
Fix build of the i915drm and radeondrm modules after the #include changes
...
from <dev/drm/drm{,P}.h> to "drm{,P}.h" by mrg@.
2008-07-08 10:11:02 +00:00
uebayasi
83bda9894d
Regen.
2008-07-08 08:55:22 +00:00
uebayasi
42185747e6
WILLCOM Advanced W-ZERO3[es] device IDs. From Ryo Shimizu.
2008-07-08 08:47:32 +00:00
uebayasi
36662bbc30
Add a device ID seen in Kojinsha notebook. From Ryo Shimizu.
2008-07-08 08:44:55 +00:00
mrg
fcfa8efe26
remove some more local changes of the form "foo.h" -> <dev/*/foo.h>
...
by using makeoptions in files.drm/files.pcidrm. this reduces the
diffs against other drm code by about 40kb.
2008-07-08 06:50:22 +00:00
reinoud
4d5c88faa5
Support for allocation extents descriptor writing to allow for arbitrary
...
heavily fragmented files.
Also fixing some (rare) allocation bugs and function name streamlining.
Tested on harddisc, CD-RW and CD-R i.e. all three basic backend classes.
2008-07-07 18:45:26 +00:00
kiyohara
a25c030645
Remove SEM{MNI,MNS,UME,MNU} and SHMMAXPGS.
...
Add TMPFS and agr.
Enable some pseudo devices.
2008-07-07 18:30:41 +00:00
pooka
fc6faa2baf
Force vrele_thread to run in vflush() only if there is vrele_pending.
...
Makes unmounting a file system in a forcibly singlethreaded rump
invocation work.
2008-07-07 14:15:41 +00:00
gmcgarry
5aa0bc7608
Selector registers are 16-bit and binutils 2.18 insists that only 16-bit
...
accesses are permitted on them. Therefore, change movl to movw. No change to
machine code generated.
2008-07-07 13:01:16 +00:00
skrll
d5a5ca5266
G/C HP700_SOFTINTR_*
2008-07-07 12:29:30 +00:00
yamt
03bb7555b4
fix pool corruption bugs in subr_pool.c 1.162.
2008-07-07 12:27:19 +00:00
skrll
a5b2972af9
Update a comment.
2008-07-07 12:18:45 +00:00
pooka
37d1079aad
add ukfs_utimes() and ukfs_lutimes()
...
from Arnaud Ysmal
2008-07-07 09:07:18 +00:00
pooka
1a7f1d4a4e
regen: u times, lu times, you know i had my share
2008-07-07 09:04:08 +00:00
pooka
21730363f8
Expose utimes() and lutimes() to rump.
...
from Arnaud Ysmal
2008-07-07 09:01:40 +00:00
mrg
8e2cdafb2e
revert unnecessary changes to 3rd party code.
2008-07-07 00:31:30 +00:00
bouyer
52346627a5
kern/39052: fix broken assertion. We can have a BC_BUSY buffer in the LRU
...
queue, if it's being flushed. But in this case, we'll also have B_VFLUSH.
While there fix checkfreelist() so that it can be used to check that a
buffer is not in the free lists.
2008-07-06 15:00:45 +00:00
tsutsui
163f9db0b9
Split device_t/softc with misc cosmetic changes.
2008-07-06 14:32:56 +00:00
cube
4b9fef643e
Use device_private() where appropriate.
...
Noted by Paul Goyette in PR#39110.
2008-07-06 14:07:44 +00:00
tsutsui
bc6f8d1486
Split device_t/softc with misc cosmetic changes.
2008-07-06 13:29:50 +00:00
cegger
02018c5980
ryo shimizu: gscsehci doesn't work.
...
Correctly initialize softc. Fix from PR port-i386/39109.
2008-07-06 08:01:15 +00:00
abs
614a789bec
Commit patch from jmcneill@ to fix "No sound on Thinkpad azalia"
...
Definitely fixes a T60p, and hopefully will fix PR#37141 for an R61 also
2008-07-06 00:14:00 +00:00
bouyer
d80637780e
xbd_map_align() can be called from interrupt context (though
...
xbd_handler()->dk_iodone()->dk_start()->xbd_start()), so don't try
to sleep in uvm_km_alloc().
2008-07-05 19:06:01 +00:00
tsutsui
0f31d9dee9
Split device_t/softc with misc related changes.
2008-07-05 08:46:25 +00:00
ad
c4e6bfaf85
tcp_input: add a couple of assertions.
2008-07-04 18:22:21 +00:00
kiyohara
4a30efc297
Fix config error. required to include files.bluetooth.
2008-07-04 17:31:07 +00:00
ad
6c6c91b240
Move an assignment later.
2008-07-04 16:41:00 +00:00
ad
46587f3717
- Keep cache locked while allocating a cache group - later we might want
...
to automatically tune the group sizes at run time.
- Fix broken assertion.
- Avoid another test+branch.
2008-07-04 16:38:59 +00:00
ad
9d573e640e
Remove a bunch of conditional branches from the pool_cache fast path.
2008-07-04 13:28:08 +00:00
bsh
928b18eabf
fix slow TOD clock.
2008-07-04 11:59:45 +00:00
skrll
0e6408c2a9
Pull in harmony_round_buffersize fix from OpenBSD.
2008-07-04 11:18:02 +00:00
skrll
f73f03c598
Only process stuff if we're playing. This fixes panic if attempting to
...
record.
Part of PR/35239.
Progress is being made on getting recording working, but it's not quite
there yet.
2008-07-04 11:14:19 +00:00
matthias
1797e3b14b
make LINUX_TCSBRK work. The code is mostly copied from
...
sys/compat/ibcs2/ibcs2_ioctl.c.
2008-07-04 11:06:31 +00:00
ad
a9c686e81a
Scale the number of kernel reserve pages by the number of CPUs.
2008-07-04 10:56:59 +00:00
ad
ecddde33a2
Update a comment.
2008-07-04 10:22:35 +00:00
matthias
1b4ed9ea4e
make LINUX_TCSBRK work. The code is mostly copied from
...
sys/compat/ibcs2/ibcs2_ioctl.c.
2008-07-04 10:13:52 +00:00
cegger
7453f200da
struct device * -> device_t
...
struct cfdata * -> cfdata_t
2008-07-04 04:53:41 +00:00
cegger
1c3c0ccc58
make this build again after device_t/softc split
2008-07-04 04:49:36 +00:00
reinoud
ef780ea2df
Add node-rebuild flag to indicate that the node was rebuild up and thus the
...
allocation extents have changed.
2008-07-03 19:29:42 +00:00
drochner
02b7e019aa
split device/softc
...
Now I'm through - all my devices are split.
2008-07-03 19:07:43 +00:00
drochner
53afd93cba
minor cleanup so that it can cope with a futute split pcmcia device/softc
2008-07-03 18:57:52 +00:00
simonb
8c1b12db94
Fix previous - don't include email footer or bad #endif. Would help if
...
this were even compile tested (HELLO XTOS!).
2008-07-03 18:30:39 +00:00
drochner
363285ca02
split device/softc (tested with an@pcmcia)
2008-07-03 18:10:07 +00:00
reinoud
2cd20af057
Create new udf_verbose class.
2008-07-03 18:03:22 +00:00
reinoud
d3bf9c7bba
Fix rare allocation problem when a fragmented file is truncated to a
...
non-zero length and the last extent was allocated.
2008-07-03 18:03:01 +00:00
reinoud
0687ceb21e
Avoid panic when trying to mount a non existent block device like a
...
/dev/vnd0 that is not configured.
2008-07-03 18:01:08 +00:00
christos
b077640a6b
Add iteration convenience macros; from Alexander Shishkin
2008-07-03 17:41:54 +00:00
drochner
f5d73c7fd3
split device/softc
2008-07-03 17:36:44 +00:00
drochner
abec36fc7a
split device/softc for ioapic
2008-07-03 15:44:19 +00:00
ad
4c75eca868
syn_cache_get: remove new endpoint's socket from head's queue if aborting
...
the connection. Should fix KASSERT(so->so_head == NULL).
2008-07-03 15:35:28 +00:00
ad
f4ddfb5c59
lwp_lock: this can't be simplified for the UP case, as races still exist.
2008-07-03 15:15:40 +00:00
njoly
153124ee21
Fix SIOCGIFCONF ioctl for 64bit platforms. Add a new linux_ifreq
...
structure and linux_getifconf function (cleaned up version from
compat_ifconf).
While here, update linux_getifhwaddr to use the new structure.
Ok by christos.
2008-07-03 14:07:09 +00:00
drochner
54745077e8
Remove "struct device" from "struct pic", where it was only real
...
for ioapics and faked up for others. Add it to "struct ioapic_softc"
for now, until device/softc get split.
This required all typecasts between "struct pic" and "struct ioapic_softc"
to be replaced, I hope I got them all.
functionally tested on i386, compile-tested on xen, untested on amd64
2008-07-03 14:02:24 +00:00
drochner
81ae74c4eb
On cardbus configuration reads, check for a master abort in the cbb
...
and return all-ones explicitely.
Since pccbb.c rev. 1.151 the cbb is set to translate cardbus master
aborts which makes that the PCI configuration read on the primary bus
returns random junk. This can cause the probing code to get confused.
The issue was reported by KIYOHARA Takashi and Jonathan A. Kollasch,
the patch was tested by KIYOHARA Takashi.
2008-07-03 13:37:34 +00:00
hannken
773658bf7e
The Intel SCA backplane "ESG-SHV" does not support logical units.
2008-07-03 13:22:31 +00:00
matt
0b6e401be7
Use the same login in pmap_kenter_pa when removing an unmamanged mapping
...
as in pmap_kremove (otherwise kro_mappings will become incorrect).
2008-07-03 13:02:12 +00:00
ad
2526653044
vinvalbuf: broken assertion.
2008-07-03 12:37:09 +00:00
gson
9717620fd4
Revert the change of revision 1.37 - a driver must not blindly set the
...
mem/io enable bits of a PCI device as the BARs may not be correctly
configured. Fixes PR kern/38857.
2008-07-03 12:26:41 +00:00
ad
c4d3520a6e
ufsdirhash_build: missing unlock in failure path.
2008-07-03 09:56:15 +00:00
matt
db24f36199
From: Andy Shevchenko <andy.shevchenko@teleca.com>
...
The OMAP2 ref timer providing a base for generic timecounting was configured
to reload at HZ similarly to the clock providing the tick interrupt at HZ.
This and the fact that the tc framework expected a full 32 bit counter range
resulted in time running ~40 times faster than normal.
Configure the ref timer as a full range counter to fix this.
2008-07-03 06:19:18 +00:00
matt
b2abaa8158
Nuke some debugging aprint's.
2008-07-03 06:18:01 +00:00
matt
74055e51f8
Nuke some remaining debug aprint
2008-07-03 06:17:24 +00:00
matt
45df48f8af
The performance counter based delay function depends on a correct frequency
...
setting, do this for H4, which runs on a known fixed core frequency.
Submitted by Irme Deak <imre.deak@teleca.com>
2008-07-03 06:16:17 +00:00
matt
6a96a3909c
For armv6(VIPT), change the rules for mapping via kenter_pa. Allow readonly
...
pages to be mapped by different cache color indexes.
2008-07-03 06:13:41 +00:00
matt
52956f334c
Fix a typo in the delay loop time delta calculation.
...
From Irme Desk <imre.deak@teleca.com>.
2008-07-03 06:12:02 +00:00
matt
c62a0ac493
Add AT91 support. (XXX need to finish timecounter support).
2008-07-03 01:15:38 +00:00
he
3cb806e403
Add dependencies on the input files + Makefile for the auto-generated
...
files rumpdefs.h, rumpnode_if.h, and rumpvnode_if.c. This is so that
an UPDATE build has a chance of succeeding.
Discussed with pooka@, and he wasn't totally against adding this...
2008-07-02 23:03:35 +00:00
he
b6ffc4250b
Don't rely on <sys/mutex.h> being implicitly included, because on
...
some ports (mvme68k for example) that's not happening.
2008-07-02 21:18:14 +00:00
rmind
b7cdc71cd2
mq_open: fix confusion of FREAD/FWRITE and VREAD/VWRITE.
2008-07-02 20:06:09 +00:00
rmind
30dfdb2897
lwp_migrate: if LWP is still on the CPU (LP_RUNNING), it must be handled
...
like LSONPROC. Should fix PR/38588. OK by <ad>.
2008-07-02 19:53:12 +00:00
rmind
160268aca6
Remove proc_representative_lwp(), use a simple LIST_FIRST() instead.
...
OK by <ad>.
2008-07-02 19:49:58 +00:00
rmind
73f3b7bb31
Remove outdated comments, and historical CCPU_SHIFT. Make resched_cpu static,
...
const-ify ccpu. Note: resched_cpu is not correct, should be revisited.
OK by <ad>.
2008-07-02 19:44:10 +00:00
rmind
61fc86b29b
Remove locking of p_stmutex from sched_pstats(), protect l_pctcpu with p_lock,
...
and make l_cpticks lock-less. Should fix PR/38296.
Reviewed (slightly different version) by <ad>.
2008-07-02 19:38:37 +00:00
drochner
14071b7c24
remove some obviously obsolete definitions
2008-07-02 19:18:52 +00:00
ad
16a991e560
uvm_pageidlezero: fix a broken test which made it give up too easily.
2008-07-02 17:47:53 +00:00
ad
b94f79f0e8
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
2008-07-02 17:28:54 +00:00
ad
df158b64b4
Add some comments.
2008-07-02 17:06:12 +00:00
matt
7408df1239
Change {ff,fd}_exclose and ff_allocated to bool. Change exclose arg to
...
fd_dup to bool. Switch assignments from 1/0 to true/false.
This make alpha kernels compile. Bump kern to 4.99.69 since structure
changed.
2008-07-02 16:45:19 +00:00
matt
41f74018fd
Add KASSERTMSG(e, msg) for umass.c. XXX directly calls panic.
2008-07-02 15:25:08 +00:00
matt
1906aa3e59
Switch from KASSERT to CTASSERT for those asserts testing sizes of types.
2008-07-02 14:47:34 +00:00
matt
67b10687dc
Add CTASSERT (compile time assert) from FreeBSD.
...
Causes sources to fail to compile:
<file>:<line>: error: size of array '__ctassert<line>' is negative
2008-07-02 14:39:20 +00:00
reinoud
5eeb4f695a
Update node sanity check system and redo allocation recording fixing
...
corruptions that could take place when overwriting sparse files.
Still one rare corruption possible where blocks are accidentally marked
free, but the cause is not yet found and looking at the pattern it won't
happen in every day use.
2008-07-02 13:25:33 +00:00
nakayama
773fffc601
UltraSPARCs don't have floating point queue, and reading %fq regsiter
...
will cause illegal instruction trap. So remove the code handling them.
2008-07-02 12:15:19 +00:00
ad
2c51a15095
Alter layout of fdfile_t slightly to make it fit into 64 bytes on alpha.
2008-07-02 10:30:09 +00:00
plunky
c4df96ad44
change licence of my old code to two-clause BSD licence
...
remove my name from advertising list
2008-07-02 10:16:20 +00:00
cube
13a6f63066
Protect private mbuf external data storage allocater with a mutex, as it
...
was done in nfe(4), sk(4) and msk(4). And maybe some others.
Confirmed to fix the usual issue of data corruption by Jared McNeill.
2008-07-02 03:42:55 +00:00
macallan
9403c29e8e
actually initialize sc_dmacmd and get rid of getnodebypci() - use
...
pcidev_to_ofdev() instead
noticed by Marco Trillo, tested on my iBook G4
2008-07-02 03:20:19 +00:00
dyoung
9b4187042c
Comment out some device IDs that do not actually belong to mach64
...
devices. This stops machfb0 from trying and failing to attach as
console on my G4 PowerBook. Now, genfb0 will attach as console,
instead.
Apparently, Michael Lorenz made a similar change on the netbsd-4
branch, but it was never committed to -current.
2008-07-01 23:25:06 +00:00
dyoung
dcfcd6affa
Cosmetic: use device_t, cfdata_t, __arraycount(), device_private().
2008-07-01 23:19:48 +00:00
mlelstv
be6f2a4b87
Ignore freed rtcache entries.
2008-07-01 20:18:45 +00:00
bouyer
802c7519a2
Raise ci_idepth (and switch to interrupt stack on i386) becore calling
...
xenevt_event().
2008-07-01 18:49:20 +00:00
bouyer
42f814d7d2
spllower(): return immediatly if ci->ci_ilevel <= nlevel, as the asm
...
versions do.
2008-07-01 18:44:50 +00:00
mrg
1a29454088
hack around PR#38480:
...
- rename MTRR_I686_NVAR to MTRR_I686_NVAR_MAX, still set to 8
- store mtrr VCNT value into i686_mtrr_vcnt. if it is less than 8,
zero out the relevant parts of mtrr_raw[].msraddr
- replace all usage of MTRR_I686_NVAR with either i686_mtrr_vcnt or
with MTRR_I686_NVAR_MAX as appropriate
- in i686_mtrr_reload() and mtrr_init_first() don't use mtrr_raw[]
addresses of 0
still needs a bunch of reworking to handle VCNT > 8 case.
2008-07-01 15:27:34 +00:00
tsutsui
4a193f31ac
Split device_t/softc with misc cosmetic changes.
2008-07-01 15:15:34 +00:00
tsutsui
5886a7c394
- avoid extra offset calculation in region/multi ops
...
- fix swapped dist/src in copy_region ops
2008-07-01 15:14:32 +00:00
pooka
371212ff48
Add missing calls for attribute management (e.g. chown, stat).
...
[Incidentally, stat() won't work on non-NetBSD because of struct stat
binary layout difference and needs to be fixed some day]
from Arnaud Ysmal
2008-07-01 13:09:44 +00:00
pooka
e940fdb5d3
regen
2008-07-01 13:03:56 +00:00
pooka
1805817468
Adjust rump syscalls: remove a few pointless ones and add a few
...
missing ones.
2008-07-01 13:03:08 +00:00
jmcneill
206d3d3809
VT8233+ uses a different register base for capturing, tested by sborrill
2008-07-01 12:43:03 +00:00
pooka
d2e855d5a6
Fixes to build rump utilities as host binaries on Linux by removing
...
sys namespace pollution which has crept in.
Submitted in private mail by takemura, domain ca2.so-net.ne.jp
2008-07-01 12:33:32 +00:00
matt
94bc3febe6
Changes to make lint STFU.
2008-06-30 20:54:19 +00:00
matt
0500366437
Don't build rb.c anymore since it's in libc now.
2008-06-30 20:14:42 +00:00
matt
5a4f0c6b2b
Change tree op members/typedefs to rbto_compare_* from rb_compare_*
2008-06-30 20:14:09 +00:00
matt
48717a981d
Move rb.c from sys/lib/libkern to common so it can be in both libc and libkern.
2008-06-30 19:03:59 +00:00
reinoud
af39897a83
Fix serious allocation recording bug if overwriting piece that was
...
allocated before. Fixes regression test on random overwriting data.
Also fix endian issues and add extra documentation to variables.
2008-06-30 16:43:13 +00:00
matt
90f0e9be76
Hello 4.99.68 (struct rb_node changed size)
2008-06-30 16:43:12 +00:00
matt
da597625e8
Add some significant improvements to the red-black tree implementation.
...
Shrink size of rb_node by 25% (merge parent/father pointer and flags).
2008-06-30 16:36:18 +00:00
nakayama
3644fd9574
Fix commented sparc derived code.
2008-06-30 14:16:13 +00:00
nakayama
fa9b47137f
Avoid use of "<< TSTATE_PSTATE_SHIFT".
2008-06-30 14:12:20 +00:00
bsh
db59b3aaa6
KERNEL_BASE_EXT is mandatory after matt-armv6 merge
2008-06-30 08:18:11 +00:00
perry
10cfc49bff
__FUNCTION__ -> __func__
2008-06-30 00:46:41 +00:00
bouyer
fe0fcf52f5
Proper FPU exeptions support for Xen. Should fix FPU issues reported by
...
various users.
2008-06-29 21:00:08 +00:00
rumble
f0fae83846
In smbfs_done, do not call pool_destroy on the same pool twice in a row.
...
Now smbfs.kmod can be unloaded without panicking the system.
2008-06-29 18:45:20 +00:00
christos
f52ea15353
Recognize apple ufs partitions from Antoine Reilles
2008-06-29 15:13:28 +00:00
jdc
50c50f930f
Instead of bailing out with "Inode not directory", assume that the disk is
...
a RAIDframe mirror, apply the RAID boot offset, and try to boot again.
Fixes the problem where disks would be unbootable if partitioned normally
and then converted to RAID 1 without being zeroed first.
2008-06-29 14:13:23 +00:00
jmcneill
875766b9be
Revert previous, i915drm works again.
2008-06-29 12:49:08 +00:00
isaki
7379f550c7
Make it compilable even if FDDEBUG was defined.
2008-06-29 09:44:11 +00:00
dogcow
78ff31a2cf
fix type
2008-06-29 09:09:09 +00:00
tsutsui
2c77262457
Sync with arch/m68k/m68k/pmap_motorola.c rev 1.38:
...
> Remove ({ }) gcc extensions and use static inline functions instead.
2008-06-29 09:03:47 +00:00
njoly
06e75299f3
Move amd64 MD termois types definitions from linux_termios.h to linux_types.h
...
following other archs.
2008-06-29 08:50:09 +00:00
nakayama
ddf9744a79
Add 32-bit kernel configuration with SMP support.
2008-06-29 08:05:43 +00:00
nakayama
733e690c2c
Wrap trapstats counters with #ifdef TRAPSTATS.
2008-06-29 07:49:10 +00:00
nakayama
1199fe2539
Constify initfpstate, and omit initialization for .fs_qsize.
2008-06-29 07:41:53 +00:00
nakayama
fe6d7e5eef
Wrap IPI calls with #ifdef MULTIPROCESSOR.
2008-06-29 07:31:55 +00:00
hamajima
df4f6f3b28
fixed some bugs.
...
- correct argument of eppcic_set_pcreg()
- add wait after set of timing register
2008-06-29 05:53:39 +00:00
hamajima
045f7eb611
Fixed addr and size of eppcic0.
2008-06-29 05:42:24 +00:00
chris
d890fb22e6
Fix warnings about type conversions by using linux_speed_t type on
...
linux_speeds[] rather than speed_t.
On Arm (and others) linux uses unsigned long, however, NetBSD uses
unsigned int.
2008-06-28 21:34:32 +00:00
bouyer
efe8b350b3
Add appropriate bus_dmamap_sync() calls to uhci(4), ohci(4) and ehci(4),
...
as proposed on tech-kern@.
While all DMA memory used in the USB framework is mapped BUS_DMAMAP_COHERENT
(including data memory, which is memcpy'd from/to USB-private buffers),
the CPU can reorder loads or stores from/to main memory, causing the
controller to have an incoherent view of the DMA descriptors lists for a
short time. bus_dmamap_sync() should contain memory barriers that prevents
the CPU from reordering load/store. Note that BUS_DMAMAP_COHERENT is
still required for the DMA descriptor lists - these can't work properly
with software cache coherency.
This fixes "host controller process error/host controller halted" errors
I'm occasionally seeing with a umodem device on uhci on x86.
Thanks to Michael Lorenz for testing it on his O2, and Izumi Tsutsui on
his Cobalt Qube 2700.
2008-06-28 17:42:53 +00:00
bouyer
caba2baea2
port-i386/38935: Add appropriate x86_lfence or x86_mfence calls to
...
bus_dmamap_sync(), depending on the BUS_DMASYNC flag. This makes sure
that the kernel reads data from main memory in the intended order.
2008-06-28 17:23:01 +00:00
rumble
ed4fb1c656
Add of bunch of file system modules.
2008-06-28 16:11:35 +00:00
rumble
4c59ea5a60
Fix lkm fallout from previous sysctl changes. This largely duplicates
...
sysctl creation code, but lkms are going away soon(ish) anyway.
Spotted by Chris Gilbert.
2008-06-28 15:50:20 +00:00
ad
0a11462fc2
A few more.
2008-06-28 15:09:49 +00:00
ad
698b4a3b27
Fix numerous bugs.
2008-06-28 15:03:27 +00:00
tsutsui
c8f3692590
Fix inverted logic of IXP425_GPIO_GPOER register bits in the previous.
...
Pointed out by Piotr Durlej on port-arm@.
2008-06-28 15:00:13 +00:00
ad
a122ceefb6
Noisy printf.
2008-06-28 14:56:22 +00:00
reinoud
14d24a6772
When shrinking the file, do clean the freed part in the descriptor; all
...
unused space need to be zero filled.
2008-06-28 14:47:11 +00:00
tsutsui
2bea7e173d
- use TAILQ macro
...
- use NULL rather than 0 for pointers
No binary change.
2008-06-28 13:22:14 +00:00
tsutsui
c6314a7394
Pull some fdformat fixes from sys/arch/sparc/dev/fd.c.
2008-06-28 12:15:43 +00:00
tsutsui
2c5f71cc4a
Split softc/device_t, with misc cosmetic changes.
2008-06-28 12:13:38 +00:00
chris
e645b45bcf
Add sysctl_teardown stub, moves the build past breakage in rump.
2008-06-28 09:36:29 +00:00
kent
eadd4f5dcf
Make uaudio compilable as a kmod.
...
XXX:
"modload uaudio.kmod" doesn't attach the uaudio driver to
plugged USB devices for now because uhub_rescan() is not
implemented yet. We need to re-plug USB devices after modload.
2008-06-28 09:14:56 +00:00
kent
b46d745a05
We don't need to include opt_usbverbose.h here.
2008-06-28 09:06:20 +00:00
isaki
3e6d14da34
Unify splraiseipl(9) implementation among m68k ports,
...
discussed with tsutsui@ on port-m68k. OK'ed by jdc@.
For atari:
- export ipl2psl_table[] and make it uint16_t
- make makeiplcookie(9) inline
- put PSL_S bit into ipl2psl_table[] rather than adding it in makeiplcookie(9)
- vme/if_le_vme.c: fix a wrong usage of IPL_NET
2008-06-28 05:26:33 +00:00
rumble
28f5ebd853
Create sysctl entries during module initialisation and destroy them
...
appropriately.
Many of these file systems are now ready for modularisation.
2008-06-28 01:34:05 +00:00
mlelstv
90dd6be882
Always cast to the right result type, independent of compiler
...
and optimizer settings, otherwise this causes signed/unsigned errors.
2008-06-27 22:19:43 +00:00
he
9a4020480e
Bump SYMTAB_SPACE so that it fits again.
2008-06-27 21:10:38 +00:00
ad
5fbf4abeea
mutex_spin_enter: xchg is usually cheaper than cmpxchg, so use it.
2008-06-27 18:16:02 +00:00
degroote
ba4ebf7e6b
Kill caddr_t introduced in the previous revision
...
Fix build with FAST_IPSEC
2008-06-27 17:28:24 +00:00
drochner
04fc7d252f
kill some abuse of __strong_alias which is not compatible with
...
split device/softc, this might fix crashes on umodem disconnect
reported by some people (eg PR kern/39050 from Matthias Pfaller)
2008-06-27 16:05:59 +00:00
tsutsui
99644a6f1e
Remove ({ }) gcc extensions and use static inline functions instead.
2008-06-27 13:05:12 +00:00
njoly
9084eed1a8
Add SIOCGIFHWADDR support.
...
Tested by Cem Kayali.
2008-06-27 12:38:25 +00:00
cegger
c82e679e68
struct device * -> device_t
2008-06-27 11:03:13 +00:00
cegger
6e15fd7e81
remove undeclared caddr_t. makes i386 ALL kernel build again.
2008-06-27 09:16:21 +00:00
cegger
e56aa07054
ansify
2008-06-27 08:59:36 +00:00
mlelstv
fa014c6383
Verify icmp type and code in IPSEC rules.
...
Fixes PR kern/39018
2008-06-27 05:18:58 +00:00
gmcgarry
444423850d
pcc now supports __section().
2008-06-27 01:24:52 +00:00
gmcgarry
9b5de72b31
Convert lmc(4) to mutexes, removing ({ }) gcc extension along the way.
2008-06-27 00:53:41 +00:00
gmcgarry
e31e503a44
Replace lines beginning with assembler-style comments with c-style comments,
...
since '#' can be interpretted as a preprocessor directive. Remove single
quote ''' from assembler-style comments, as the preprocessor may ignore
everything between them.
Fixes compilation with pcc.
2008-06-27 00:41:39 +00:00
drochner
ef7fd726d9
delete more dead code, remove use of pcic_handle except of some local
...
uses in pcmcia ressource management which is copied from ISA pcic,
so use our softc as handle exported to generic pcmcia code and kill
the ph_parent backpointer - this makes the code simpler and smaller
2008-06-26 20:57:10 +00:00
drochner
c1194a4601
remove some more dead code, and use the softc as handle in more internal
...
functions rather than pcic_handle
2008-06-26 18:05:48 +00:00