Commit Graph

58669 Commits

Author SHA1 Message Date
thorpej b987253ef1 Fix thinko in CFATTACH_DECL(). 2002-09-30 20:42:29 +00:00
thorpej 387fc6dc87 Use CFATTACH_DECL(). 2002-09-30 20:37:04 +00:00
thorpej 8c44b67b6c Add macros to declare cfdriver and cfattach structures. This will allow
us to shield things that declare these structures from changes to the
structure (to a certain extent, anyway).
2002-09-30 18:46:44 +00:00
thorpej 1a6b241b1d Add a config_init() function to initialize the config data structures.
Normally this is called by configure(), but some ports (amiga, atari,
x68k) need to do this early because of how they find the console.
2002-09-30 17:36:31 +00:00
augustss fc12d83285 Put some ifdefs around USB_USE_SOFTINTR stuff. From FreeBSD. 2002-09-30 16:36:19 +00:00
onoe 9fadcea372 old lucent adhoc-demo mode (adhoc,flag0 or wiconfig -p 3) wasn't handled
correctly.  To avoid massive extra code in each driver, now if_iee80211subr.c
also handles non-standard old lucent adhoc-demo mode.
This also fixes PR 14227.
2002-09-30 15:48:41 +00:00
abs ae80876d99 #include "kbd.h" for NKBD and only override cn_isconsole to check cn_hw if set.
Fixes compilation without kbd.
2002-09-30 09:43:13 +00:00
onoe efe919010c Jumbo commit for wi driver.
- Eliminate wi_hostap.c since most of the code are duplicated with
  net/if_ieee80211subr.c
- Station for Infrastructure network and IBSS also use service functions
  as much as possible to be consistent with other wireless drivers.
Now WEP works for station/ibss/hostap.
2002-09-30 06:50:35 +00:00
onoe 45667e55b9 re-enable IBSS creation. 2002-09-30 06:38:10 +00:00
onoe 2f8340c369 Nuke unneeded member sc_ifp and use #define sc_if instead,
to prepare jumbo commit for wi.c
2002-09-30 06:29:29 +00:00
onoe ed3b52f295 Obtain some functionality from wi_hostap;
use hash for device node list.
	Avoid use weak IV value, increment IV for each packet.
2002-09-30 05:35:28 +00:00
wiz b1c7ac0e6d "definitions" has lots of 'i's, but that's not reason to leave one out. 2002-09-29 23:23:56 +00:00
augustss 9c8c3183df Regen. 2002-09-29 21:20:39 +00:00
augustss 434abd832d Add #ifdef USB_USE_SOFTINTR for some softintr code. From FreeBSD. 2002-09-29 21:13:01 +00:00
gmcgarry 395d77f3dc Back out __HAVE_CHOOSEPROC stuff. 2002-09-29 21:11:36 +00:00
augustss 9dd94a1878 Remove extra call to ohci_rem_ed(). From kern/18448, Takeshi Nakayama. 2002-09-29 20:59:30 +00:00
augustss 25ff7d8c33 Add some spl calls to protect critical regions. From kern/18440,
Takeshi Nakayama.
2002-09-29 20:58:25 +00:00
martin f0d8fa7f7d Fix typo: set _asi depending on requested endianess, not _sasi (the streaming
accessors take care of this themselfs). Fixes 32-bit kernels on PCI machines.

Problem found by Takeshi Nakayama in PR port-sparc64/18459, fix from
Mathew Green.
2002-09-29 20:56:40 +00:00
augustss 2505336106 Add a Netgear adapter. From OpenBSD. 2002-09-29 19:55:52 +00:00
martti 5aaa8070be Remove unused ipl_usec. 2002-09-29 17:55:14 +00:00
tsutsui c90eeb8f06 Call mb86960_attach() with MB86960_TYPE_86965 since
all FMV-18x have MB86964 or MB86965A, not MB86960,
2002-09-29 17:15:59 +00:00
tsutsui f84a0fccc0 Fix chip identification bit definitions in DLC7 register,
from Christian Groessler on port-dreamcast.
2002-09-29 17:10:37 +00:00
thorpej 50d060cc52 Record stack growth, done inline to avoid another function call on
every user page fault.

XXX Should make uvm_grow() an inline.
2002-09-29 16:49:45 +00:00
wiz 683554e2fd Fix strangeness introduced in v1.4:
-       panic("panic(\"Mem error interrupt\");");
+       panic("Mem error interrupt");
2002-09-29 15:11:14 +00:00
bsh 5880df1648 avoid warning when NAPM==0 2002-09-29 13:16:22 +00:00
martin a531f18275 Plug memory leak. From OpenBSD via PR kern/18457. 2002-09-29 10:19:21 +00:00
onoe 4c66b63b21 Fix SIOCG80211BSSID to return current BSSID if associated. 2002-09-29 10:17:00 +00:00
martin 7c1bc900ef Indentation nit. 2002-09-29 09:07:45 +00:00
sjg 2f6498ae9a Replace COPTS?= with COPTS+= so that a setting of COPTS in mk.conf
(common on sparc systems) does not cause the -O2 in DEFCOPTS to
be lost - which results in an unloadable kernel on sparc.

Reviewed by: christos
2002-09-29 07:22:58 +00:00
isaki 2a8a7954f2 const-ify ia_name. It makes intio.c compilable. 2002-09-29 05:17:04 +00:00
chs 50403f5ce2 remove some vestigial FPU and cache code that's not need on ultrasparcs.
misc tidiness.
2002-09-29 04:12:02 +00:00
chs 70d1ddac15 avoid reading %pil in splx() if !SPLDEBUG.
misc tidiness.
2002-09-29 04:06:20 +00:00
chs bbbc558e52 enable DHCP netbooting support. 2002-09-29 04:03:37 +00:00
martin f525cb862b Fix broken timeval comparison.
Reported by Takeshi Nakayama in PR sparc64/18453, but fixed a bit
differently.
2002-09-28 20:56:05 +00:00
martin 7965adf3bb Set the PCI latency timer for bus master devices.
Slightly different to the patch suggested by Takeshi Nakayama in PR 18451
(idea from FreeBSD).

Additional input from Jason Thorpe: do not hard code the bus frequency,
instead get it from OpenFirmware.
2002-09-28 20:23:53 +00:00
dbj 3aef72ec67 add options APPLE_UFS
This enables Apple UFS support added by PR #17345
2002-09-28 20:22:33 +00:00
dbj 82e9fcf2f3 add options APPLE_UFS, from PR #17345
add uninorth pci controller, from PR #18427
2002-09-28 20:22:32 +00:00
dbj 6bf135b907 add options APPLE_UFS
This enables Apple UFS support added by PR #17345
2002-09-28 20:22:32 +00:00
dbj 43395bd5a8 Add support for the Apple UFS variation on ffs
This is the bulk of PR #17345

The general approach is to use a run time deteriminable value
for DIRBLKSIZ.  Additional allowances are included for using
MAXSYMLINKLEN with FS_42INODEFMT and a shift in the cylinder group
cluster summary count array.  Support is added for managing
the Apple UFS volume label.
2002-09-28 20:11:05 +00:00
martin cf4564afb0 Add entries for various USB character devices.
From Takeshi Nakayama in PR 18450.
2002-09-28 19:46:46 +00:00
thorpej 0720e04052 Remove a debugging printf. 2002-09-28 19:07:43 +00:00
tsutsui a5638d54a0 Remove unused code in #if NetBSD <= 199712 part. 2002-09-28 18:55:19 +00:00
tsutsui a05eb615fe Rename if_fereg.h -> if_fmvreg.h since now it has only
FMV-18x specific definitions.
2002-09-28 18:43:08 +00:00
scw 7a61cafd1e After the kernel is built, run it through objcopy to change the LMA
of the loadable sections to correspond to the physical address of
RAM in the Cayman. This is so sh5gdb uploads the image to the correct
place. (Should've done this ages ago instead of manually running a
script...)

This can be removed when I get a native bootloader written.
2002-09-28 18:35:38 +00:00
tsutsui 065fc336c2 Move AT1700/RE2000 EEPROM definitions from isa/if_fereg.h to ic/ate_subr.h.
XXX Maybe all stuff in ate_subr.* should be merged into ic/mb86960*.[ch].
2002-09-28 18:19:08 +00:00
tsutsui 4dc734d128 Remove unused FE_VERSION. 2002-09-28 18:02:21 +00:00
tsutsui 073f0d7f8f Remove unused FE_MB86960_H_VERSION. 2002-09-28 17:52:59 +00:00
tsutsui d73bf82699 Remove unused FE_VERSION and FE_REG_VERSION. 2002-09-28 17:22:49 +00:00
tsutsui 43367243b6 Remove unused code in #if NetBSD <= 199712 part. 2002-09-28 17:18:28 +00:00
tsutsui a531ef1f17 Remove MBH10302 register definitions, which is also defined
in dev/ic/mb86960reg.h.
2002-09-28 17:09:20 +00:00