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
cegger
2dea63fe78
use device_lookup_private to get softc
2008-06-13 13:08:57 +00:00
tsutsui
fefb677d21
Use device_private() and device_lookup_private() to get softc
...
and to see if device unit is vaild.
2008-06-08 17:30:08 +00:00
tsutsui
edcf0507a0
Use device_private() and device_lookup_private() in more places.
2008-06-08 17:27:51 +00:00
tsutsui
e45b74073d
Use device_private() and device_lookup_private() to get softc.
2008-06-08 17:08:23 +00:00
he
88939bb817
Bump ramdisk size from 500k to 600k to compensate for recent bloat,
...
probably caused by ifconfig now needing proplib.
2008-05-16 15:16:15 +00:00
martin
9c63b7e8cc
Move to 2 clause TNF license
2008-05-04 00:18:16 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
tsutsui
02d0296505
Make compile with debug options.
2008-04-27 15:56:37 +00:00
ad
284c2b9aef
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
...
we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.
2008-04-24 18:39:20 +00:00
tsutsui
78a1d236b6
Split device_t/softc for MI ncr53c9x and some related devices,
...
with various cleanup.
2008-04-13 04:55:52 +00:00
tsutsui
6976334ea5
Always specify COPTS="-Os" and disable several options and devices
...
to shrink kernels. Current sun68k bootloader can't load a kernel larger
than ~2MB, and our ever growing kernel have been reached the limit.
2008-04-05 22:08:41 +00:00
tsutsui
5147571380
Split devict_t/softc for ncr5380sbc SCSI, and misc cosmetic changes.
2008-04-04 16:00:57 +00:00
tsutsui
d9941582bf
Split device_t/softc for le(4) and variants and misc cosmetic changes.
2008-04-04 12:25:06 +00:00
tsutsui
02cb47cab2
Split softc and device_t for zsc(4) and its children.
...
XXX we should restructure MI APIs and make it really machine independent.
2008-03-29 19:15:34 +00:00
tsutsui
4090172b20
Don't forget to initialize sc_dev.
2008-03-29 05:42:45 +00:00
tsutsui
03bb6cc822
Split device_t and softc for MI mk48txx(4) and intersil7170(4) clocks,
...
and other related misc cosmetics.
2008-03-28 20:26:12 +00:00
he
4f00010385
Remove <m68k/saframe.h> here as well, patterned after hp300.
2008-03-28 00:35:04 +00:00
drochner
bb33f35f20
Since files.wscons et al. are included by ~all ports anyway, include
...
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
2008-02-20 21:43:33 +00:00
joerg
1baf3d2234
Add missing assym.h dependency.
2008-02-19 14:31:40 +00:00
joerg
e69482d49d
Introduce device_find_by_xname and device_find_by_driver_unit to replace
...
alldevs iterations all over src.
Patch discussed with and improved on suggestioned from cube@.
2008-02-12 17:30:57 +00:00
elad
08a754e331
It's KAUTH_REQ_DEVICE_RAWIO_PASSTHRU_*.
...
Noted by dogcow@, thanks!
2008-02-06 12:13:47 +00:00
elad
6f361f7379
- There is no XYCMD_WRP -- forgot to remove it along with the XYCMD_RDP :)
...
- Add missing '}'
Noted by dogcow@, thanks!
2008-02-06 12:08:34 +00:00
elad
38012644ad
Properly classify kauth PASSTHRU requests.
...
Done with much help from chuck@, thanks!
2008-02-04 21:08:13 +00:00
tsutsui
d0ea2c0ffa
Also account idepth in clock interrupt handlers
...
(which are registered directly by isr_add_custom())
and use the idepth value for CLKF_INTR().
2008-01-26 14:02:54 +00:00
joerg
3615cf7715
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
...
remove the conditionals and the code associated with the undef case.
2008-01-20 18:09:03 +00:00
tsutsui
fba7c262a8
Move todr_attach(9) calls from each MD attachment to MI intersil7170_attach().
2008-01-10 16:04:57 +00:00
tsutsui
05517e38f5
- move todr_attach(9) calls from each MD attachment to MI mk48txx_attach()
...
- don't clear todr_setwen in mk48txx_attach() since it might be set by
MD attachments
2008-01-10 15:31:26 +00:00
ad
225df3f88d
Don't pull in unrelated gunk.
2008-01-04 22:03:25 +00:00
joerg
7a170eb0b2
Add missing mutex for cv_timedwait.
2008-01-04 19:45:54 +00:00
ad
4a780c9ae2
Merge vmlocking2 to head.
2008-01-02 11:48:20 +00:00
ad
2ecdf58c2c
Remove systrace. Ok core@.
2007-12-31 15:31:24 +00:00
dsl
7e2790cf6f
Convert all the system call entry points from:
...
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
2007-12-20 23:02:38 +00:00
tsutsui
99221a563b
Use TAILQ_FIRST(3) and TAILQ_NEXT(3) macro.
2007-12-05 12:31:25 +00:00
tsutsui
2f66d76b2f
Adapt sun68k ports to recent interrupt handling changes.
...
XXX: sun2 (m68010) doesn't have CAS instructions.
2007-12-04 15:12:07 +00:00
tsutsui
c35536aa0c
- use __arraycount()
...
- some KNF
- use __func__ to print function names
2007-12-01 11:25:26 +00:00
tsutsui
d58e6ad66b
- some KNF
...
- use __func__ to print function names
2007-12-01 11:24:41 +00:00
tsutsui
c9df1c18a5
- update a comment
...
- use __func__ to print function names
- some KNF
2007-12-01 11:23:44 +00:00
tsutsui
06ae954501
Pass correct size to allocate struct obmem_softc.
...
Fix an occasional panic on my 3/80.
2007-11-30 13:22:37 +00:00
ad
dc26833bb6
- Factor out too many copies of the same bit of tty code.
...
- Fix another tty signalling/wakeup problem.
2007-11-19 18:51:36 +00:00
ad
f2c57d8566
Call zs_lock_init() to set up the chanstate's lock.
2007-11-09 00:05:04 +00:00
ad
bd6663fc4d
Don't set l_usrpri / spc_curpriority here. mi_userret() does it.
2007-11-05 20:37:48 +00:00
xtraeme
4ba09b41c3
Remove System V semaphores and share memory options to set the limits:
...
SEMMNI, SEMMNS, SEMUME and SHMMAXPGS.
They can be tweaked via sysctl now. Ports that were setting values on
them weren't touched, I only removed the ones that were commented out.
2007-11-04 14:34:19 +00:00
rjs
04a1aa35a4
Move prototype for kd_later() before first use.
2007-10-28 13:29:21 +00:00
yamt
23005df1e0
defparam PAGER_MAP_SIZE.
2007-10-25 13:03:03 +00:00
joerg
d238692c3e
Initialise the callbacks for tty.t_rstrt_ch in ttymalloc
...
as all drivers but Sun/SPARC's kd.c use the same arguments.
Separate callout_reset into callout_schedule and the initial
callout_setfunc using that.
2007-10-18 18:54:56 +00:00
garbled
d974db0ada
Merge the ppcoea-renovation branch to HEAD.
...
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.
TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.
NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
2007-10-17 19:52:51 +00:00
ad
2af68666da
Merge disk init changes from the vmlocking branch. These seperate init /
...
destroy of 'struct disk' from attach / detach.
2007-10-08 16:41:05 +00:00
martin
d9a407bba2
Add a new option DDB_VERBOSE_HELP that adds online help to ddb.
...
From Adam Hamsik.
Minor modifications by me, all bugs are probably mine.
2007-09-22 18:40:20 +00:00