Commit Graph

1396 Commits

Author SHA1 Message Date
tls
fca9d633b9 Add accept filters to GENERIC kernels where they exist. 2008-08-10 15:31:20 +00:00
simonb
0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
drochner
a3df0dfc03 split device/softc for scsibus 2008-07-16 18:50:58 +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
isaki
7379f550c7 Make it compilable even if FDDEBUG was defined. 2008-06-29 09:44:11 +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
isaki
2b1a1a9c7f Link to device_t. I had forgotten it in previous commit. 2008-06-25 12:56:40 +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
isaki
af8a8d9630 Make intio_intr_establish() use evcnt(9),
instead of dynamic allocation of intrnames/intrcnt.
2008-06-23 08:33:38 +00:00
isaki
31129b82c5 Remove some unused intrnames/intrcnt. 2008-06-23 07:36:12 +00:00
isaki
1e2ea92126 Unify splraiseipl(9) implementation among m68k ports,
discussed with tsutsui@ on port-m68k.

For x68k:
- 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-23 01:49:31 +00:00
isaki
661719fa0e Fix compile errors. 2008-06-14 13:36:24 +00:00
cegger
61f21080d9 use device_lookup_private to get softc 2008-06-13 13:57:58 +00:00
tsutsui
40b72ee81a Use device_private() and device_lookup_private() to get softc. 2008-06-08 16:39:11 +00:00
ad
06c343ac94 vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both. 2008-06-04 12:41:40 +00:00
ad
fd089e08cf Remove ref to uvm.page_idle_zero 2008-06-04 11:30:25 +00:00
isaki
f093ae64ba Remove x68k/include/pci_machdep.h.
x68k does not have PCI-bus, and no one refers to it.
2008-06-01 02:30:12 +00:00
tsutsui
6b0322861b Add options COMPAT_40 to files which have options COMPAT_30. 2008-05-30 20:10:01 +00:00
nakayama
94692eb6bc Change my mail address to NetBSD's one. 2008-05-27 18:01:34 +00:00
ad
b18c28f549 PR kern/38763 "hanging in tty" bugfix breaks the build for vax (and
probably others)
2008-05-27 14:13:41 +00:00
isaki
5fc34baa9d Catch up with device_t/device_xname changes on MI USB part. 2008-05-23 13:27:40 +00:00
isaki
aedad66a44 Initialize IPL_SERIAL. Analysed by tsutsui@.
Fixed kern/38684 (and other many panics).
2008-05-23 13:07:44 +00:00
isaki
e33e7d58fd Increase ramdisk size. 2008-05-11 09:35:53 +00:00
martin
b46765907d Minor typo in license 2008-05-10 11:49:37 +00:00
isaki
007dbd3e78 Make it retire, because no one refers.
arch/x68k/dev/spc.c includes <dev/ic/mb89352reg.h> instead of
this, since 1999.
2008-05-10 10:37:38 +00:00
tsutsui
dba35d8b76 CFATTACH_DECL() -> CFATTACH_DECL_NEW(), botched in rev 1.14. 2008-05-09 10:09:27 +00:00
martin
673523f500 Move to standard TNF 2 clause license 2008-05-04 00:35:37 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
isaki
b17ff44212 Make it compile without zstty. 2008-04-27 05:10:33 +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
76e1faa427 Split device_t/softc, as following its parents zsc(4). Spotted by isaki@. 2008-04-20 02:28:05 +00:00
tsutsui
73f476d471 Split softc/device_t for spc(4) and misc related cleanup. 2008-03-31 15:20:47 +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
21497ab14b Sync with MI NE2000 changes:
> Split device_t and softc for the NE2000 Ethernet chip and all its variants
> and attachments.  Use device_t accessors, correct types, and ANSIfy when
> appropriate.
2008-03-12 15:07:48 +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
xtraeme
f402cadf9a Remove CTL_MACHDEP_NAMES, it's not used anywhere.
Ok by martin@.
2008-02-27 18:26:15 +00:00
isaki
c74b21d863 G/C unused variables and macros. 2008-02-24 05:32:09 +00:00
isaki
ea32b7cc13 options<space><tab> 2008-02-24 03:13:47 +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
3e26d48f15 Use device_find_by_xname and device_find_by_driver_unit. 2008-02-12 18:29:22 +00:00
joerg
3b139e1f2b Add a bunch of missing assym.h dependencies. 2008-02-12 18:26:48 +00:00
tsutsui
664eeccc0e Fix for v_specinfo removal. 2008-01-30 14:10:25 +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
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
ad
9f6b8c4d04 Remove COMPAT_HPUX. 2007-12-31 13:38:47 +00:00
perry
970ad9314d Remove __attribute__((__noreturn__)) from things already marked __dead
Found by the department of redundancy department.
2007-12-24 15:46:45 +00:00
perry
9b2b412c19 __FUNCTION__ -> __func__ 2007-12-15 00:39:14 +00:00