Commit Graph

45719 Commits

Author SHA1 Message Date
thorpej
b614ba3c5c splimp -> splhigh 2001-04-12 06:08:44 +00:00
thorpej
ff7a879497 splimp -> splvm 2001-04-12 06:07:42 +00:00
chs
49a0cbf7f6 in adosfs_read(), only do the UBC thang for "FFS" files (ie. those that
don't mix data and metadata in the same sector).  in adosfs_bmap(), set
the "run" return value to 0 to indicate the result is only good for 1 block.
these fix the rest of PR 12270.
2001-04-12 04:12:04 +00:00
thorpej
a3fd502107 Nuke some unneeded splimp. 2001-04-12 03:16:56 +00:00
thorpej
d94ce2f426 splimp -> splnet 2001-04-12 03:10:35 +00:00
thorpej
4cb159296b Remove an splimp() that really has no purpose in life. 2001-04-12 03:08:42 +00:00
thorpej
5274818efc Switch to USB_USE_SOFTINTR. The callout hack does indeed work
fine for systems without generic soft interrupts, even if it is
a little sub-optimal.  Consider it a penalty for ports not
implementing a kernel API.

Addresses kern/11957.  The PR has been open for 4 months, and
I have work blocked on the continued existence of splimp() in
the networking code.
2001-04-12 01:39:04 +00:00
thorpej
f305e19aeb Only if __HAVE_GENERIC_SOFT_INTERRUPTS is then splusb == splsoftnet
(because we register the interrupt with IPL_SOFTNET).  However, if
we're using a callout, then splusb == splsoftclock (because the
callouts happen from the softclock interrupt).

Note that splsoftnet blocks softclock interrupts, but this is
meant to better describe what's going on.
2001-04-12 01:18:24 +00:00
reinoud
11c012efcc Just switch the RI_CENTER off for now ... just to avoid troubles with
the hardware scrolling code...
2001-04-12 00:42:50 +00:00
msaitoh
9767692eee fix invalid reference to $fromconsole via DDB 2001-04-11 23:02:12 +00:00
uch
62ec61f5e9 fix comment. 2001-04-11 20:13:52 +00:00
manu
bb1594b20b Integrated security review for signal delivery by Wolfgang Solfrank 2001-04-11 19:41:02 +00:00
jdolecek
745ab257dc Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
leo
3f7694f804 Adapt these for use on the Milan. 2001-04-11 14:45:07 +00:00
itojun
e366844be7 need to declare NULL for inline function. 2001-04-11 14:44:55 +00:00
wiz
b7f59127c9 re-add bt8xx.h (needed for fxtv, without which bktr is pretty much useless) 2001-04-11 09:07:21 +00:00
sato
5dd91b669c add VR4101 specific BCU registers.
add VR4122 specific BCU registers.
add cpu specific comments.
2001-04-11 08:52:59 +00:00
augustss
76c2f6d190 Regen. 2001-04-11 08:44:06 +00:00
augustss
c2b7bb4ddb Add device id from PR 12611. 2001-04-11 08:43:47 +00:00
sato
68d21310de opt_vr41x1.h -> opt_vr41xx.h.
add 'options VR41XX' and kill 'options VR41X1'.

add 'options VR4101' (not yet supported)
add 'options VR4102'
add 'options VR4111'
add 'options VR4121'
add 'options VR4122' (not yet supported)
add 'options VR4181' (not yet supported)
these are for config level size optimization.
currenty, no optimization codes are exist.
NOTE: there are some incompatibility in VR4181 & VR4101 &
VR4102,4111,4121 group & VR4122.

GENERIC (for VR41XX series) has options VR4102, VR4111, VR4121.
2001-04-11 08:23:26 +00:00
jdolecek
372e5956ef Only install headers which are actually used by our userland. This
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.

I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
2001-04-11 07:42:31 +00:00
itojun
f4e4c674a7 disallow userland programs from specifying addresses with IPV6_PKTINFO
setsockopt, if:
- the address is not verified by DAD (= not ready)
- the address is an anycast address (= not permitted as source)
sync with kame
2001-04-11 04:57:53 +00:00
thorpej
8dc1d7cbac Add bridge netisr glue (only used if no __HAVE_GENERIC_SOFT_INTERRUPTS). 2001-04-11 03:55:16 +00:00
thorpej
f62e94272e Add hooks for bridging. 2001-04-11 03:47:24 +00:00
thorpej
e0b3faf07e Add configuration glue for forthcoming bridge code. 2001-04-11 03:43:23 +00:00
briggs
4290b6b288 Make sure that this will compile on a big-endian system. 2001-04-11 01:47:18 +00:00
enami
fe247cae7a fix possible typo in comment. 2001-04-10 22:58:55 +00:00
mjacob
dfb8f5f43f Include isp_ioctl.h. 2001-04-10 21:52:15 +00:00
mjacob
78a44662f5 Add initial implementation of ISP_SDBLEV, ISP_RESETHBA, ISP_FC_RESCAN,
ISP_FC_LIP and ISP_FC_GETDINFO ioctls.
2001-04-10 21:52:00 +00:00
mjacob
7bcf01a29a Note one other place that bogus interrupts can be measured. 2001-04-10 21:51:21 +00:00
mjacob
81a6d0ec41 Add isp_ioctl.h. 2001-04-10 21:50:53 +00:00
mjacob
5f8aa905e6 Add some HBA ioctl functions (LIP resets, rescan, setting debugging level). 2001-04-10 21:50:40 +00:00
thorpej
4702254396 Process pfil hooks for Ethernet input and output. 2001-04-10 21:47:36 +00:00
thorpej
4cbf0044c4 Add a PFIL_HOOKS filtering point to every network interface. 2001-04-10 21:45:39 +00:00
bjh21
d039e70428 Remove the "asc" driver. It's never worked, and we should have an MI version
sometime.
2001-04-10 21:33:00 +00:00
leo
247d880fc9 The Milan uses the U0 pin to switch the pci-bridge between little & big
endian mode. That's why I moved the 'wired' flag to U1.
2001-04-10 19:51:00 +00:00
leo
dcc1c6a9fb Take NFDISA into account. 2001-04-10 19:36:20 +00:00
thorpej
f41aa15500 Add 802.1D (Spanning Tree) LSAP code. 2001-04-10 19:30:41 +00:00
bjh21
4c8caed00d Apply a bandage to delay() so that it takes a more suitable time on
StrongARM Risc PCs.  It really should be replaced entirely, but I've got more
important bugs to fix.
2001-04-10 19:08:42 +00:00
bjh21
edde8b993b Add a DIAGNOSTIC check to see if delay() waits long enough (it doesn't on
my machine).
2001-04-10 18:58:56 +00:00
eeh
511e0204b1 Update to conform to new interface. 2001-04-10 18:57:49 +00:00
leo
dc0e725f9d full[tc]flush from GLOBAL -> ASLOCAL. 2001-04-10 13:59:10 +00:00
fvdl
7d1452855c Fix bus_space_write_multi_* in the memory case; the asm constraints
were wrong.
2001-04-10 12:59:32 +00:00
fredette
b27eda4ead Added. 2001-04-10 12:46:26 +00:00
fredette
1dfde059ab Use fb_setsize_eeprom to do some intialization of the
fb structure.
2001-04-10 12:44:12 +00:00
fredette
bb09d2bc78 Fixed a bug where we were trying to map the board RAM
using the physical address of the board registers.
2001-04-10 12:42:51 +00:00
fredette
ca414a50ad In prom_init, when making our local copy of the bootparams,
be sure to calculate the shift in terms of chars, not struct
bootparams, and don't shift undefined arguments.
2001-04-10 12:40:53 +00:00
fredette
8efc1dcff9 Fixed has_context to return true on the kernel pmap,
which always has context zero.  This was causing panics
under DIAGNOSTIC.
2001-04-10 12:39:56 +00:00
fredette
857e8fbc6b The mainbus doesn't define a device name in the attach args
after attaching the special busses, so just match when it
isn't, instead of calling strcmp with it.
2001-04-10 12:37:49 +00:00
fredette
c6871b7720 Make softintr_handler return one, not zero, to properly
claim the interrupt.  Added special bus_space_probe
handling to sun2_bus_map.
2001-04-10 12:33:09 +00:00