dragonfly.git
15 years agotypo
Joerg Sonnenberger [Tue, 14 Jun 2005 20:41:24 +0000 (20:41 +0000)]
typo

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 19:47:30 +0000 (19:47 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections. Stop updating interrupt masks.
Joerg Sonnenberger [Tue, 14 Jun 2005 19:42:08 +0000 (19:42 +0000)]
Convert to critical sections. Stop updating interrupt masks.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 19:34:26 +0000 (19:34 +0000)]
Convert to critical sections.

15 years agoForgotten from the ALTQ conversion.
Joerg Sonnenberger [Tue, 14 Jun 2005 18:37:26 +0000 (18:37 +0000)]
Forgotten from the ALTQ conversion.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 18:30:55 +0000 (18:30 +0000)]
Convert to critical sections.

15 years agoUse if_printf.
Joerg Sonnenberger [Tue, 14 Jun 2005 18:15:37 +0000 (18:15 +0000)]
Use if_printf.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 18:09:47 +0000 (18:09 +0000)]
Convert to critical sections.

15 years agoUse if_printf for TUNDEBUG.
Joerg Sonnenberger [Tue, 14 Jun 2005 17:43:01 +0000 (17:43 +0000)]
Use if_printf for TUNDEBUG.

15 years agosimplify.
Joerg Sonnenberger [Tue, 14 Jun 2005 17:38:36 +0000 (17:38 +0000)]
simplify.

15 years agoConvert to critical sections. Be a bit more conservative for now.
Joerg Sonnenberger [Tue, 14 Jun 2005 17:34:29 +0000 (17:34 +0000)]
Convert to critical sections. Be a bit more conservative for now.

15 years agoAdd additional sanity checks, remove unused arguments to vm_page_startup().
Matthew Dillon [Tue, 14 Jun 2005 17:16:00 +0000 (17:16 +0000)]
Add additional sanity checks, remove unused arguments to vm_page_startup().

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 17:05:58 +0000 (17:05 +0000)]
Convert to critical sections.

15 years ago- convert to critical sections
Joerg Sonnenberger [Tue, 14 Jun 2005 17:01:17 +0000 (17:01 +0000)]
- convert to critical sections
- hook up bus_setup_intr last

15 years agoRemove pcic(4) manpage. This was updated by mistake.
Sascha Wildner [Tue, 14 Jun 2005 16:50:43 +0000 (16:50 +0000)]
Remove pcic(4) manpage. This was updated by mistake.

15 years ago- convert to critical sections
Joerg Sonnenberger [Tue, 14 Jun 2005 16:47:38 +0000 (16:47 +0000)]
- convert to critical sections
- hook up interrupt last in gx_attach
- use gx_detach as common error path

15 years agoAdd missing breaks.
Joerg Sonnenberger [Tue, 14 Jun 2005 16:35:42 +0000 (16:35 +0000)]
Add missing breaks.

15 years agoCorrect item lists.
Sascha Wildner [Tue, 14 Jun 2005 16:29:03 +0000 (16:29 +0000)]
Correct item lists.

15 years agoFix controller names.
Sascha Wildner [Tue, 14 Jun 2005 16:24:34 +0000 (16:24 +0000)]
Fix controller names.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 15:30:58 +0000 (15:30 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 15:23:18 +0000 (15:23 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 15:19:28 +0000 (15:19 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 15:11:23 +0000 (15:11 +0000)]
Convert to critical sections.

15 years agoUse PCI accessor functions and nuke the port / memory enabling.
Joerg Sonnenberger [Tue, 14 Jun 2005 15:08:16 +0000 (15:08 +0000)]
Use PCI accessor functions and nuke the port / memory enabling.

15 years ago- convert to critical sections
Joerg Sonnenberger [Tue, 14 Jun 2005 15:01:58 +0000 (15:01 +0000)]
- convert to critical sections
- hook up interrupt last, use M_WAITOK for contigmalloc
- use lge_detach as common error path

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 14:44:42 +0000 (14:44 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 14:35:05 +0000 (14:35 +0000)]
Convert to critical sections.

15 years agoResource allocate now turns on port / memory bit in the PCI command reg,
Joerg Sonnenberger [Tue, 14 Jun 2005 14:19:22 +0000 (14:19 +0000)]
Resource allocate now turns on port / memory bit in the PCI command reg,
so stop doing it by hand.

15 years agoUse local storage instead of ac_enaddr in ti_attach.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:53:25 +0000 (13:53 +0000)]
Use local storage instead of ac_enaddr in ti_attach.

15 years agoNo interrupts, no M_NOWAIT.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:42:14 +0000 (13:42 +0000)]
No interrupts, no M_NOWAIT.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoHook up interrupt last. Use ti_detach as common error path.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:41:15 +0000 (13:41 +0000)]
Hook up interrupt last. Use ti_detach as common error path.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoFix an uninitialised variable I introduced earlier.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:36:42 +0000 (13:36 +0000)]
Fix an uninitialised variable I introduced earlier.

15 years agoUse PCI accessor functions.
Joerg Sonnenberger [Tue, 14 Jun 2005 13:36:00 +0000 (13:36 +0000)]
Use PCI accessor functions.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agodevice_printf / if_printf
Joerg Sonnenberger [Tue, 14 Jun 2005 13:34:52 +0000 (13:34 +0000)]
device_printf / if_printf

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agostatic != extern
Joerg Sonnenberger [Tue, 14 Jun 2005 13:25:40 +0000 (13:25 +0000)]
static != extern

15 years agoUse local storage instead of ac_enaddr.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:46:31 +0000 (12:46 +0000)]
Use local storage instead of ac_enaddr.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoUse local storage instead of ac_enaddr in tl_attach.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:42:00 +0000 (12:42 +0000)]
Use local storage instead of ac_enaddr in tl_attach.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoUse PCI accessor functions.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:38:37 +0000 (12:38 +0000)]
Use PCI accessor functions.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agodevice_printf / if_printf
Joerg Sonnenberger [Tue, 14 Jun 2005 12:38:04 +0000 (12:38 +0000)]
device_printf / if_printf

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoNuke compat code.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:33:44 +0000 (12:33 +0000)]
Nuke compat code.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoUse ether_crc32_be.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:30:19 +0000 (12:30 +0000)]
Use ether_crc32_be.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Obtained-from: FreeBSD

15 years agoUse PCI accessor functions.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:26:31 +0000 (12:26 +0000)]
Use PCI accessor functions.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agodevice_printf / if_printf.
Joerg Sonnenberger [Tue, 14 Jun 2005 12:25:32 +0000 (12:25 +0000)]
device_printf / if_printf.

15 years agoEnable port and memory-mapped IO in the PCI layer when the associated
Joerg Sonnenberger [Tue, 14 Jun 2005 12:24:04 +0000 (12:24 +0000)]
Enable port and memory-mapped IO in the PCI layer when the associated
resources are allocated.

Obtained-from: FreeBSD

15 years agoNuke code dealing with empty address list or trying to set the link-layer
Joerg Sonnenberger [Tue, 14 Jun 2005 11:41:37 +0000 (11:41 +0000)]
Nuke code dealing with empty address list or trying to set the link-layer
address by hand.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 11:27:28 +0000 (11:27 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Tue, 14 Jun 2005 11:08:40 +0000 (11:08 +0000)]
Convert to critical sections.

15 years agoRemove old attempt at locking, it was incomplete and partially incorrect.
Joerg Sonnenberger [Tue, 14 Jun 2005 11:05:47 +0000 (11:05 +0000)]
Remove old attempt at locking, it was incomplete and partially incorrect.
Remove global variable to share state between probe and attach.
Convert to critical sections.
Use my_detach as common error path for my_attach.
Hook up interrupt last.
Remove conditionalized code which doesn't apply (anymore).

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 23:03:15 +0000 (23:03 +0000)]
Convert to critical sections.

15 years ago- convert to critical sections
Joerg Sonnenberger [Mon, 13 Jun 2005 22:55:15 +0000 (22:55 +0000)]
- convert to critical sections
- rewrite error handling in attach
- hook up interrupt last

15 years agoMerge from vendor branch CVS:
Simon Schubert [Mon, 13 Jun 2005 22:35:54 +0000 (22:35 +0000)]
Merge from vendor branch CVS:
update cvs to 1.12.12

15 years agoupdate cvs to 1.12.12
Simon Schubert [Mon, 13 Jun 2005 22:35:54 +0000 (22:35 +0000)]
update cvs to 1.12.12

15 years agoupdate cvs to 1.12.12
Simon Schubert [Mon, 13 Jun 2005 22:35:54 +0000 (22:35 +0000)]
update cvs to 1.12.12

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 22:27:52 +0000 (22:27 +0000)]
Convert to critical sections.

15 years agoFix mismatched crit_*() pair.
Matthew Dillon [Mon, 13 Jun 2005 22:21:39 +0000 (22:21 +0000)]
Fix mismatched crit_*() pair.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 22:18:44 +0000 (22:18 +0000)]
Convert to critical sections.

15 years agoUse critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 22:14:17 +0000 (22:14 +0000)]
Use critical sections.

15 years ago- convert to critical sections
Joerg Sonnenberger [Mon, 13 Jun 2005 22:10:56 +0000 (22:10 +0000)]
- convert to critical sections
- hook up interrupt last
- use M_WAITOK for contigmalloc
- use dc_detach as common error path

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 21:53:24 +0000 (21:53 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 21:44:40 +0000 (21:44 +0000)]
Convert to critical sections.

15 years agoFix build.
Joerg Sonnenberger [Mon, 13 Jun 2005 21:39:14 +0000 (21:39 +0000)]
Fix build.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 21:38:12 +0000 (21:38 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections. Use bge_detach as common error path
Joerg Sonnenberger [Mon, 13 Jun 2005 21:24:03 +0000 (21:24 +0000)]
Convert to critical sections. Use bge_detach as common error path
in bge_attach and fix some bugs on the way. Use M_WAITOK now
that interrupts are no longer an issue there. Allow this by hooking
up the interrupt last.

15 years agoConvert to critical sections. Add a missing ether_ifdetach when
Joerg Sonnenberger [Mon, 13 Jun 2005 21:07:55 +0000 (21:07 +0000)]
Convert to critical sections. Add a missing ether_ifdetach when
bus_setup_intr failed.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:51:17 +0000 (20:51 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:36:45 +0000 (20:36 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:30:45 +0000 (20:30 +0000)]
Convert to critical sections.

15 years agoRemove compatiblity code.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:25:56 +0000 (20:25 +0000)]
Remove compatiblity code.

15 years agoNo interrupts, no M_NOWAIT. Use M_WAITOK instead.
Joerg Sonnenberger [Mon, 13 Jun 2005 20:09:24 +0000 (20:09 +0000)]
No interrupts, no M_NOWAIT. Use M_WAITOK instead.

15 years ago- convert to critical sections
Joerg Sonnenberger [Mon, 13 Jun 2005 20:07:38 +0000 (20:07 +0000)]
- convert to critical sections
- setup interrupt last, avoid having to deal with ISRs
- use nge_detach as common error handling path

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 19:21:19 +0000 (19:21 +0000)]
Convert to critical sections.

15 years agoMissed one splnet.
Joerg Sonnenberger [Mon, 13 Jun 2005 19:19:19 +0000 (19:19 +0000)]
Missed one splnet.

15 years agoUpdate pcic(4) and add more NEWCARD manpages.
Sascha Wildner [Mon, 13 Jun 2005 19:17:29 +0000 (19:17 +0000)]
Update pcic(4) and add more NEWCARD manpages.

15 years agoConvert to critical sections. Remove compat junk. Hook up interrupt
Joerg Sonnenberger [Mon, 13 Jun 2005 19:05:19 +0000 (19:05 +0000)]
Convert to critical sections. Remove compat junk. Hook up interrupt
last. This fixes a missing interrupt teardown under error conditions.

15 years ago- convert to critical sections
Joerg Sonnenberger [Mon, 13 Jun 2005 18:43:58 +0000 (18:43 +0000)]
- convert to critical sections
- setup interrupt last in pcn_attach
- use pcn_detach for common error handling

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 18:13:20 +0000 (18:13 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections. Fix an early return without restoring
Joerg Sonnenberger [Mon, 13 Jun 2005 18:11:52 +0000 (18:11 +0000)]
Convert to critical sections. Fix an early return without restoring
interrupt protection in the progress of the conversion.

15 years agoConvert from splhigh to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 14:00:29 +0000 (14:00 +0000)]
Convert from splhigh to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 13:51:24 +0000 (13:51 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 13:47:50 +0000 (13:47 +0000)]
Convert to critical sections.

15 years agoConvert to critical sections.
Joerg Sonnenberger [Mon, 13 Jun 2005 13:31:04 +0000 (13:31 +0000)]
Convert to critical sections.

15 years agoOnly delete the miibus if it was attached first.
Joerg Sonnenberger [Mon, 13 Jun 2005 10:20:49 +0000 (10:20 +0000)]
Only delete the miibus if it was attached first.

Noticed-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoRemove PC98 support.
Sascha Wildner [Sun, 12 Jun 2005 20:55:14 +0000 (20:55 +0000)]
Remove PC98 support.

15 years agoRemove obsolete comments.
Sascha Wildner [Sun, 12 Jun 2005 19:24:10 +0000 (19:24 +0000)]
Remove obsolete comments.

15 years ago- setup interrupt last
Joerg Sonnenberger [Sun, 12 Jun 2005 17:44:29 +0000 (17:44 +0000)]
- setup interrupt last
- convert to critical sections
- use common error path in sbsh_attach by calling sbsh_detach

15 years ago- convert to critical sections
Joerg Sonnenberger [Sun, 12 Jun 2005 17:29:49 +0000 (17:29 +0000)]
- convert to critical sections
- setup interrupt last, no need to protect attach against races
- use M_WAITOK for contigmalloc
- use sf_detach for common error handling

15 years agoSwitch to critical sections, fix some possible minor nits with ISR
Joerg Sonnenberger [Sun, 12 Jun 2005 17:19:07 +0000 (17:19 +0000)]
Switch to critical sections, fix some possible minor nits with ISR
protection.

15 years agoStop abusing splbio simply because others do the same. Use critical
Joerg Sonnenberger [Sun, 12 Jun 2005 17:03:47 +0000 (17:03 +0000)]
Stop abusing splbio simply because others do the same. Use critical
sections.

15 years agoConvert splimp to critical sections.
Joerg Sonnenberger [Sun, 12 Jun 2005 16:50:20 +0000 (16:50 +0000)]
Convert splimp to critical sections.

15 years agoRemove compat junk.
Joerg Sonnenberger [Sun, 12 Jun 2005 16:32:52 +0000 (16:32 +0000)]
Remove compat junk.

15 years agoConvert from spl* to critical sections.
Joerg Sonnenberger [Sun, 12 Jun 2005 16:31:50 +0000 (16:31 +0000)]
Convert from spl* to critical sections.

15 years agoTypo.
Joerg Sonnenberger [Sun, 12 Jun 2005 15:55:59 +0000 (15:55 +0000)]
Typo.

Noticed-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoDeprecate MCLGET() in favor of m_getcl() or m_getl() in order to
Jeffrey Hsu [Sun, 12 Jun 2005 15:39:33 +0000 (15:39 +0000)]
Deprecate MCLGET() in favor of m_getcl() or m_getl() in order to
take advantage of cluster caching.

15 years agoUse m_gethdr() instead of m_get() to get a mbuf header.
Jeffrey Hsu [Sun, 12 Jun 2005 15:37:19 +0000 (15:37 +0000)]
Use m_gethdr() instead of m_get() to get a mbuf header.

15 years agoRemove NO_PKGTOOLS wrapper, it existed in top-level Makefile already.
Jeroen Ruigrok/asmodai [Sat, 11 Jun 2005 22:37:34 +0000 (22:37 +0000)]
Remove NO_PKGTOOLS wrapper, it existed in top-level Makefile already.

Reminded by: joerg

15 years agoAdd NO_PKGTOOLS to disable building of the pkg_* tools during world.
Jeroen Ruigrok/asmodai [Sat, 11 Jun 2005 21:09:51 +0000 (21:09 +0000)]
Add NO_PKGTOOLS to disable building of the pkg_* tools during world.
This is useful for people using pkgsrc.

15 years agoThe BLIST API is just as usable in userland as it is in the kernel; and
Hiten Pandya [Sat, 11 Jun 2005 16:24:36 +0000 (16:24 +0000)]
The BLIST API is just as usable in userland as it is in the kernel; and
the code already contains a userland test program.

Remove conditionals preventing BLISTs from being used in the userland.

15 years agoDispose of support for IBM's Micro Channel architecture (MCA).
Sascha Wildner [Sat, 11 Jun 2005 09:03:49 +0000 (09:03 +0000)]
Dispose of support for IBM's Micro Channel architecture (MCA).

15 years agoReally use M_WAITOK.
Joerg Sonnenberger [Sat, 11 Jun 2005 08:58:48 +0000 (08:58 +0000)]
Really use M_WAITOK.

15 years agoDon't bzero softc. Setup interrupt last to get tl_attach ISR race free.
Joerg Sonnenberger [Sat, 11 Jun 2005 08:57:26 +0000 (08:57 +0000)]
Don't bzero softc. Setup interrupt last to get tl_attach ISR race free.
Use M_WAITOK for contigmalloc. Use tl_detach for the cleanup path.