Commit Graph

45774 Commits

Author SHA1 Message Date
kleink
48c15739e9 Slight readability improvement to rev. 1.39. 2001-04-13 17:05:27 +00:00
bjh21
d3c7885319 Make sure that every time we touch the referenced/modified bits, we do a
pmap_update_page() to get all the mappings of that page up-to-date.
2001-04-13 16:37:28 +00:00
matt
362ba8300c Include USB and 1394 support (sun models now have them). 2001-04-13 16:26:41 +00:00
bjh21
991d163aa2 Remove code from pmap_fault() that ws trying to do referenced/modified
emulation on kernel pages (and getting it wrong).
2001-04-13 15:09:35 +00:00
pooka
0fc6449078 Describe possible section types with a few words. 2001-04-13 15:01:29 +00:00
bjh21
7b00aef2da Rev 1.3 accidentally undid rev 1.2. Re-do it. 2001-04-13 14:50:47 +00:00
augustss
b5c707b2b6 Make it link with debug flag. 2001-04-13 12:51:43 +00:00
augustss
939159f6d0 Make it compile with debug. 2001-04-13 12:42:40 +00:00
bjh21
ac01781de7 Make UBC_WINSHIFT a constant. 2001-04-13 12:40:16 +00:00
augustss
bcdfccea3c Split the umass driver into the part that handles the X-over-USB protocol
(umass.c) and the part that handles scsibus/atapibus (umassbus.c).
This way the must port specific stuff can be removed from umass.c.
2001-04-13 12:24:10 +00:00
augustss
38c02444d9 Finally get rid of the UGLY and EVIL hack for avoiding tsleep(). 2001-04-13 11:19:58 +00:00
augustss
cbcea5e84c Do mii frobbing in process context.
Now we can finally get rid of the evil USBD_NO_TSLEEP hack in the aue driver.
2001-04-13 11:17:11 +00:00
augustss
b728f196e9 Comment out some flag stuff that isn't used. Someone should take a look
at this.  There is something fishy with the mii code, the last argument to
mii_attach() is not being used in any meaningful way.
2001-04-13 11:14:55 +00:00
augustss
205b10ed17 Add a flag to mii_flags which will cause autonegotiation to use tsleep()
instead of callout.  This way adapters which need a process context for
PHY register access (e.g. USB adapters) have a chance.
2001-04-13 11:12:36 +00:00
itojun
fbc07662f5 $NetBSD$ tag cleanup 2001-04-13 08:11:44 +00:00
itojun
eb0cfc6af5 s/$Id$/$NetBSD$/ 2001-04-13 08:09:07 +00:00
kanaoka
c5a768d097 Add support for ADMtek AN985. 2001-04-13 00:18:11 +00:00
augustss
ed7afd2ad6 Regen. 2001-04-12 23:56:13 +00:00
augustss
23b1e2c46e Some new device (from FreeBSD). 2001-04-12 23:55:58 +00:00
augustss
9071f4edbb Make sure all tasks are remove on detach. 2001-04-12 23:54:56 +00:00
kleink
9133b51cd8 Replace the 'unsigned __COMPILER_INT64__' construct with a new name,
__COMPILER_UINT64__, to be supplied - if such a case is made, it shouldn't
be assumed that the unsigned type-specifier may be applied to it.
2001-04-12 22:01:18 +00:00
reinoud
fdeb609887 Place a remark ... the old vidcconsole code can't handle the comconsole
not yet for it is called early in the init_arm() ... this needs to be
patched one day so it can be called very early; but is this possible ?
2001-04-12 21:54:06 +00:00
mjacob
f13ec50e47 Clean up bus dma code for request/response queues. 2001-04-12 21:40:56 +00:00
thorpej
c5a6653add Use IPL_NET for now -- the only use of 1394 right now is for network
interfaces (IPv{4,6}-over-1394), and this allows us to get rid of
some evil interrupt mixing issues in the 1394 network code right now.
2001-04-12 21:39:31 +00:00
thorpej
9e0af4a217 Add a __predict_true() to an extremely common case. 2001-04-12 21:11:47 +00:00
thorpej
eed75ba69e In uvm_km_kmemalloc(), use the correct size for the uvm_unmap()
call if the allocation fails.

Problem pointed out by Alfred Perlstein <bright@wintelcom.net>,
who found a similar bug in FreeBSD.
2001-04-12 21:08:25 +00:00
thorpej
67e357f0a9 splimp -> splvm.
This, like all other uses of spl*() in VAX code, needs to be
scrutinized.
2001-04-12 20:38:25 +00:00
reinoud
242cca702b Part one of the COMCONSOLE repair ... it works now but the video console
is effectively dead instead... this needs work. Also the boottime switching
to the vidcconsole would be good.
2001-04-12 20:15:06 +00:00
thorpej
5da5b5ae5b Upon inspection of a 4000/600 dmesg, change the splbios to splubas.
XXX THIS CODE IS SERIOUSLY BROKEN!  MSCP DEVICES ARE BLOCK I/O DEVICES,
AND THUS SPLBIO SHOULD BLOCK THEIR INTERRUPTS.  The VAX port really
needs to get virtualized spl*() levels.
2001-04-12 20:13:26 +00:00
thorpej
376be9fdf3 splimp -> spluba. 2001-04-12 20:08:09 +00:00
thorpej
63edf2e11d Protect the call to uba_done() with spluba(). 2001-04-12 20:07:40 +00:00
thorpej
ae66f2ea53 splimp -> splbio. 2001-04-12 20:05:12 +00:00
thorpej
3d6b1bec1e splimp -> splnet 2001-04-12 20:04:24 +00:00
thorpej
06b19d90b8 splimp -> splbio 2001-04-12 20:03:35 +00:00
thorpej
669641cb9d splimp -> splvm (it's questionable whether or not this is really
the right level at all -- maybe splhigh?  Anyway, XXX comment added
as well).
2001-04-12 19:45:25 +00:00
thorpej
0d8e6faeb2 splimp -> splvm 2001-04-12 19:43:46 +00:00
thorpej
b978c269f5 Delete SPL_IMP(). It is not used in IP Filter, and it aids me
on my quest to eliminate the foul beast known as splimp.
2001-04-12 19:41:53 +00:00
manu
bc237413cb Fixed an error in a comment 2001-04-12 19:32:35 +00:00
thorpej
316dcc474b splvec.splimp -> splvec.splvm 2001-04-12 19:21:20 +00:00
thorpej
023e07a194 splimp -> spluba 2001-04-12 19:16:56 +00:00
thorpej
c031c366f6 Add spluba(). 2001-04-12 19:16:06 +00:00
thorpej
9b2337e9d8 splimp -> splbio. 2001-04-12 18:34:56 +00:00
thorpej
89fb12c497 splimp -> splhigh when frobbing netisr. 2001-04-12 18:28:40 +00:00
thorpej
0f05a2b35c splimp -> splhigh for frobbing the netisr. 2001-04-12 18:26:26 +00:00
thorpej
f5940ea000 splimp -> splvm (XXX Time critical sections, but don't want to block
the clock).
2001-04-12 18:22:55 +00:00
thorpej
909f3d7efb splimp -> splvm (use IPL_IMP needs to be revisited). 2001-04-12 18:18:31 +00:00
thorpej
d7333fb163 splimp -> splnet 2001-04-12 17:53:48 +00:00
leo
ba0a86fa22 There are no level1 or level7 interrupts possible on the Milan... 2001-04-12 09:09:56 +00:00
itojun
477b193d09 support T1 card (LMC1200) properly. PR 12331 (patch from openbsd).
change DLT type to cisco HDLC, as lmc driver is hardwired to cisco HDLC
on driver attach.  XXX we may need to revisit this, as if_spppsubr may want
to alter this later.
2001-04-12 07:50:54 +00:00
itojun
321e957c86 regen. 2001-04-12 07:47:16 +00:00