Commit Graph

171456 Commits

Author SHA1 Message Date
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
drochner
ed1bea6b56 remove references to nonexisting members of pcic_handle in commented out
and debug code, from Patrick Welche
(we could as well drop pcic_handle completely and use our softc as
the opaque handle for the pcmcia code - this would simplify the code
even more)
2008-06-26 17:22:23 +00:00
kent
78e5efcf6e build and install azalia.kmod for amd64 and i386. 2008-06-26 16:10:35 +00:00
kent
fcc61272b4 * azalia_rirb_intr()
fix a problem that normal responses are skipped unintentionally.

* azalia_stream_start()
  access HDA_INTCTL with AZ_READ_4()/AZ_WRITE_4().
  access HDA_SD_CTL with STR_READ_1()/AZ_WRITE_1().

* azalia_modcmd()
  enclose config_cfdata_attach() with splaudio().
2008-06-26 15:51:10 +00:00
nakayama
fe90ebb7eb - remove unused old code.
- avoid use of "<< TSTATE_PSTATE_SHIFT".
2008-06-26 15:17:06 +00:00
nakayama
88b527f6d7 Ansify and follow the recent cardbus changes:
- split device/softc
- avoid the use of i82365var.h
2008-06-26 15:08:48 +00:00
plunky
d7fdc240c9 do not hold bt_lock while detaching bthub, as devices may need to aquire
it in order to detach cleanly.
2008-06-26 14:17:27 +00:00
reinoud
d769966488 Count the length correctly when encountering an allocation extension
redirect in the sanity checking.
2008-06-26 13:28:45 +00:00
drochner
cc29fcf8b9 constify the pcmcia/cardbus method tables 2008-06-26 12:33:17 +00:00
kiyohara
c7f7a60802 Fix split device_t/softc.
And reorder.
2008-06-26 03:32:17 +00:00
isaki
48d12f0315 Unify splraiseipl(9) implementation among m68k ports,
discussed with tsutsui@ on port-m68k.

For mvme68k:
- 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)
- define both IPL_SCHED and IPL_HIGH independently to avoid confusion
- replace the order of IPL_SOFTCLOCK and IPL_SOFTBIO according to spl(9)
2008-06-26 02:52:29 +00:00
isaki
ad81ade3ae Unify splraiseipl(9) implementation among m68k ports,
discussed with tsutsui@ on port-m68k.

For next68k:
- 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)
- define both IPL_SCHED and IPL_HIGH independently to avoid confusion
2008-06-26 02:52:03 +00:00
joerg
6c136cabc8 Mask the interrupt pin in the other places as well as reminded by
Jared.
2008-06-25 19:57:22 +00:00
ad
321c12209b Don't swap kernel stacks of realtime threads. 2008-06-25 19:20:56 +00:00
joerg
eecefde4f0 Mask the higher bits of the interrupt pin extract from the _PTR.
Alan Barrett reported a system in PR 38959 that (incorrectly) uses the
higher bits and which resulted in a bad table being built.
2008-06-25 18:05:17 +00:00
reinoud
93d7f858ba Disable read/write mounting for metadatapartition since attempts to delete
files now corrupt the image due to the lack of allocation scheme support.
2008-06-25 16:06:29 +00:00
reinoud
30c78783eb Allow metadata partitioned discs to be mounted read-write even though its
allocation scheme is not implemented yet. Creating new files or deleting
anything is thus not possible.
2008-06-25 15:59:24 +00:00
drochner
2b26f69613 Avoid the use of i82365var.h - we don't use any functions from there.
Extract some data structures for ressource management into our private
header instead. This allows to use a typed pointer instead of a
generic one which saves a lot of typecasts.
Also remove something marked as "dirty hack" which I admittedly don't
understand, but it doesn't look useful...
2008-06-25 15:29:23 +00:00
reinoud
ca7a0d4ebd Fix lookup problems in very fragmented metadata partitions that use
allocation extent descriptors.
2008-06-25 15:28:29 +00:00
reinoud
7536094ea3 Bump maximum number of allocation extents descriptors in a file/directory;
10 did seem far too many, but aparently ``640 kb should be enough for
everyone''.
2008-06-25 15:27:14 +00:00
isaki
b50b2ac3ed Split device_t/softc for dmac_*_xfer().
Rename some variables to avoid confusing.
2008-06-25 13:30:24 +00:00
ad
1c7f0a02df Use pool_cache. 2008-06-25 13:21:04 +00:00
pooka
d496f014ff Don't compile kern_lock for rump any more, it's no longer required.
Allows us to get rid of the incorrect _RUMPKERNEL ifdefs outside sys/rump.
2008-06-25 13:16:58 +00:00
isaki
2b1a1a9c7f Link to device_t. I had forgotten it in previous commit. 2008-06-25 12:56:40 +00:00
ad
2a7116daf3 ttyname_r is another of the strange functions that returns its error code
instead of setting errno.
2008-06-25 11:47:29 +00:00
ad
3ae2f84118 Add _SC_TTY_NAME_MAX. 2008-06-25 11:46:11 +00:00
ad
f778b05135 SUS says that pthread_atfork() must also be in unistd.h 2008-06-25 11:45:38 +00:00
drochner
dbc8757839 split device/softc for pccbb, the cardbus half of cardslot and cardbus
(not yet pcmcia, there is a lot of md code involved)
2008-06-25 11:42:32 +00:00
ad
5c6eb305b3 Fix MLINKS line 2008-06-25 11:19:28 +00:00
ad
c6f43a476e Crank libc minor for getlogin_r 2008-06-25 11:12:01 +00:00
ad
5f64faa3a9 Add getlogin_r. Manual page changes mostly lifted from FreeBSD. 2008-06-25 11:10:24 +00:00
ad
d29b52efe8 Return -1 for the unsupported realtime extensions. 2008-06-25 11:09:20 +00:00
ad
403a399142 pthread_attr_setstacksize: EINVAL if the requested size is less than
sysconf(_SC_THREAD_STACK_MIN).
2008-06-25 11:07:07 +00:00
ad
39a9e71121 pthread_join: explicitly test for cancellation. 2008-06-25 11:06:34 +00:00
ad
40818746b1 Use pool_cache. 2008-06-25 11:05:46 +00:00
ad
d23ae8da8d sigpending1: don't subtract the sigmask (!!). 2008-06-25 11:04:24 +00:00
reinoud
e5ee834164 Fix extended allocation descriptor handling in translate file extent 2008-06-25 10:46:35 +00:00
reinoud
35d8dddabd Fix allocation extensions descriptor reading and do free them on node
destruction!
2008-06-25 10:03:14 +00:00
isaki
7afa6fc259 struct cfdata -> cfdata_t. 2008-06-25 08:19:37 +00:00
isaki
2830b81add Split device_t/softc. Use aprint*() and device_xname(). 2008-06-25 08:14:59 +00:00
isaki
13450ec873 Cosmetic change. Sort IPL_XXX as described in spl(9). 2008-06-25 07:54:47 +00:00
gmcgarry
499a932afa Revert unintentional whitespace changes. From simonb. 2008-06-25 06:22:01 +00:00
dogcow
0afd84fe2a due to popular demand, /var/lib/postfix -> /var/db/postfix 2008-06-25 05:57:16 +00:00
matt
d982b23b25 Nuke MOVED support. Move rb_parent out of rb_nodes and make it it's own
member.
2008-06-25 04:56:08 +00:00
matt
f44158c13f Revert last change and just use .WAIT 2008-06-25 03:33:39 +00:00
matt
0ab08b46df Increase RAMDISK size due to ever-increasing bloat. 2008-06-25 03:33:06 +00:00
christos
e4992af055 Make rb use masks instead of bitfields, because it is more portable (bitfields
to unsigned long are not portable), and produces tighter code. Tested on
amd64. approved by gimpy.
2008-06-25 03:06:25 +00:00