Commit Graph

55 Commits

Author SHA1 Message Date
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
uwe
ba371d8f54 Convert to CFATTACH_DECL_NEW and misc related facelift. 2008-04-15 00:21:49 +00:00
uwe
ba989a607d Say "buttons" not "button" as there are several. 2008-03-27 03:01:05 +00:00
uwe
e65c61e272 Split device_t and softc. 2008-03-27 02:52:04 +00:00
uwe
44bf67fb94 Split device_t and softc. 2008-03-27 02:40:14 +00:00
uwe
907d951360 Split device_t and softc. While here, hide obio_softc - there's no
reason to expose it via obiovar.h
2008-03-27 02:26:34 +00:00
uwe
3d9ebca642 Split device_t and softc. 2008-03-27 02:15:29 +00:00
uwe
d767a02150 Add missing aprint_naive("\n"); 2008-03-27 02:08:14 +00:00
cube
7aa6248cdf Split device_t and softc for ATA devices, as well as wd(4). Other
cosmetic changes where appropriate.
2008-03-18 20:46:35 +00:00
rmind
c6186face4 Welcome to 4.99.55:
- Add a lot of missing selinit() and seldestroy() calls.

- Merge selwakeup() and selnotify() calls into a single selnotify().

- Add an additional 'events' argument to selnotify() call.  It will
  indicate which event (POLL_IN, POLL_OUT, etc) happen.  If unknown,
  zero may be used.

Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>
2008-03-01 14:16:49 +00:00
jmmv
055a66c56c Remove GENERIC.local from the repository
Make all the kernels that currently include their corresponding GENERIC.local
file use the cinclude directive instead of include.  This way config(1) will
not complain if the file cannot be found.

After doing this, remove the GENERIC.local files from the repository so that
the user will not see modified files during updates, and local changes to
them cannot end up in the repository by mistake.

Discussed in tech-kern@ earlier this month.  No strong objections.
2008-02-29 14:42:32 +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
uwe
5f972824f5 Use makeoptions DEFTEXTADDR instead of setting TEXTADDR in the makefile. 2008-02-02 05:53:40 +00:00
uwe
113a8429d2 Drop MACHINE_ARCH from here, it's specified with "makeoptions" in
std.sh3el now.
2008-02-02 03:14:03 +00:00
uwe
ec7fffd0f0 Drop exec and endianness options that are in std.sh3* and instead
include std.sh3el.
2008-02-02 03:10:06 +00:00
ad
b439191858 Remove vestiges of simplelock debugging. 2008-01-07 00:27:35 +00:00
ad
0c8143169b Fix includes 2008-01-05 00:22:34 +00:00
ad
2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
ad
2505fdfd77 Get landisk compiling again. 2007-12-11 16:51:13 +00:00
pooka
61e8303e9d Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern
2007-11-26 19:01:26 +00:00
uwe
8b4bf162e5 Use device_t and device_private(). Use aprint_* in attach. 2007-11-06 01:00:59 +00:00
uwe
5e48e66a0e Use device_t and device_private().
While here - make ops static.
2007-11-06 00:36:30 +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
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
uwe
ca8a189dd1 Pass correct size in CFATTACH_DECL (obio_softc, not device).
I have no idea how/why it's been working all this time, but I guess
today's changes to struct device shifted delicate numerology balance
and exposed the problem that's been around since the import.
2007-09-24 22:55:13 +00:00
ad
88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
martin
c2534a819b Add pseudo-device agr to all GENERIC kernels where it might make sense
(commented out in some).
2007-06-04 08:55:18 +00:00
uwe
0390c5df8f Add COMPAT_40. 2007-06-01 13:20:56 +00:00
skrll
13951ee3d4 Add an INSTALL kernel for landisk and enable building it.
Also add an installation/misc directory for a boot.fs image which is WIP.
2007-05-02 08:02:00 +00:00
macallan
2644a249ac include files.wsfb 2007-04-10 02:40:16 +00:00
uwe
7220e7517c We don't need SYMTAB_SPACE. 2007-03-23 02:19:17 +00:00
uwe
2e7cdeb33d Don't hijack COPTS to specify cpu type, we have CPUTYPE for that.
Provide a commented out example of a useful COPTS setting.
2007-03-17 14:19:39 +00:00
drochner
ab07e481e4 It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
2007-03-14 12:27:20 +00:00
tsutsui
4f709d5416 Make GENERIC really generic, remove GENERIC.in, and
use <no> keyword in model specific HDL-U and USL-5P files.
2007-03-04 10:39:43 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
thorpej
09c5f9cc49 TRUE -> true, FALSE -> false 2007-02-28 04:21:51 +00:00
mrg
4410329b87 add a pair of new bus_dma(9) functions:
int _bus_dmatag_subregion(bus_dma_tag_t tag,
				  bus_addr_t min_addr,
				  bus_addr_t max_addr,
				  bus_dma_tag_t *newtag,
				  int flags)
	void _bus_dmatag_destroy(bus_dma_tag_t tag)

that allow a (normally broken/limited) device to restrict the bus address
range it can talk to.  this is used by bce(4) to limit DMA addresses to
1GB range, the maximum the chip can address.

all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several
people on tech-kern.

XXX: bus_dma(9) needs an update still.
2007-02-21 20:41:23 +00:00
ad
3363855a4a Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
2007-02-16 02:53:43 +00:00
ad
b07ec3fc38 Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
hubertf
142c2a33ba Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.
2007-01-24 13:08:11 +00:00
freza
9c3107d24d Remove SYSTEM_LD_TAIL_EXTRA definition since sys/conf/Makefile.kern.inc
already runs dbsym(8) if SYMTAB_SPACE option is defined for the kernel
in question.

OK uwe@
2007-01-13 22:53:54 +00:00
yamt
8bf7662829 merge yamt-splraiseipl branch.
- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.
2006-12-21 15:55:21 +00:00
wiz
6919c6578c s/independant/independent/, from Zafer. 2006-11-24 22:04:21 +00:00
drochner
58cf8a6614 as on i386, don't use ":=" assignments with .OBJDIR 2006-11-14 14:09:54 +00:00
jmmv
7a13fe4abf Remove tmpfs's experimental status. OK'ed by core@. 2006-11-11 18:47:08 +00:00
uwe
4fcce87c8c Replace __INTR_MASK and swap dance to load PSL_RB (and doing stc/ldc
twice in the process) with code that just uses mov.l to get the bits
to clear and set in SR.

Use proper local labels.  Add rcs id.  G/c unused includes.  Add .size
2006-10-15 02:31:00 +00:00
uwe
e81532e95c Remove vestigial {,e}intr{names,cnt} symbols, vmstat no longer needs them. 2006-10-15 00:25:48 +00:00
uwe
71ee5d56f8 Protect miniroot initialization code with #ifdef MFS 2006-10-14 23:51:17 +00:00
uwe
57675076eb Switch the rest of sh3 ports to todr(9)
Split code to handle on-chip rtc into a separate driver
Eliminate all todr code from clock.c
Move __HAVE_GENERIC_TODR to sh3/include/types.h
2006-09-20 00:41:11 +00:00
uwe
d227b6b9bb G/c vinum. 2006-09-17 16:15:01 +00:00