Commit Graph

118727 Commits

Author SHA1 Message Date
dyoung
ef743c64b6 Switch wi(4) to the new 802.11 layer. 2003-10-13 08:07:21 +00:00
dyoung
690ab87058 Use new 802.11 header files. 2003-10-13 08:02:02 +00:00
agc
ed6ed8e698 Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
dyoung
e4e42ad093 Add new 802.11 layer to the file lists. 2003-10-13 07:29:28 +00:00
lukem
d048430db6 Various fixes for when ngen is 0. 2003-10-13 07:28:52 +00:00
dsl
ca9f17c96d Add bsd.obj.mk so these directories get their own obj directory (for the
library objects shared by their subdirectories).
Needed when the obj directory isn't a parent of the subdirectories obj directory
2003-10-13 06:56:47 +00:00
dyoung
c2ca61c2e6 Build net80211/. 2003-10-13 06:49:14 +00:00
dyoung
2459b02669 Switch an(4) to using the header files in the new 802.11 layer. 2003-10-13 06:45:32 +00:00
dyoung
5dbbaac41d Switch to the new 802.11 layer. 2003-10-13 06:43:22 +00:00
dyoung
18cc6db280 For PCI attachment, ath(4) needs both the HAL binary and the files
listed in dev/pci/files.ath.
2003-10-13 06:40:14 +00:00
dyoung
de23d63e0e Add athioctl.h. 2003-10-13 06:33:52 +00:00
lukem
e076c47767 Instead of defining TERSE_ERROR by default (due to space constraints),
define NO_LBA_CHECK.  bootxx_msdos still needs TERSE_ERROR because its
BPB is larger than the default.
2003-10-13 06:15:00 +00:00
itojun
912235966a makeargv overrun. from openbsd 2003-10-13 06:14:04 +00:00
lukem
af93a5c749 The reserved space for the BIOS Parameter Block (BPB) only needs to be for
FAT16 (11+51) except when booting from FAT{12,16,32}, which needs FAT32 (11+79).
We still reserve the BPB for non-bootxx_msdos PBR bootblocks because
they may be installed as a floppy boot record (and those need a BPB).

Remove some redundant wording in an error messsage, saving 6 bytes.
2003-10-13 06:08:28 +00:00
dyoung
8a58dbfd9a Add atw at cardbus (ADMtek ADM8211 802.11). 2003-10-13 05:46:26 +00:00
dyoung
f39f5e0652 Add atw (ADMtek ADM8211 802.11). 2003-10-13 05:45:59 +00:00
dyoung
2f8d4622dd Add atw at cardbus (ADMtek ADM8211). 2003-10-13 05:43:14 +00:00
dyoung
a71225fe22 NetBSD/FreeBSD compatibility changes NetBSD, especially
locking, mbuf
2003-10-13 05:34:30 +00:00
dyoung
ae577fc6ea Miscellaneous changes for NetBSD compatibility. 2003-10-13 05:23:07 +00:00
dyoung
075c766e9b Add atw(4), ADMtek ADM8211 802.11, at PCI bus and Cardbus. 2003-10-13 05:20:52 +00:00
dyoung
b491c05ae7 Add the 82801EB LPC, which provides the PCI Interrupt Router on
the Dell PowerEdge 400SC.
2003-10-13 05:19:19 +00:00
dyoung
b495f27bbd A compatibility layer to smooth differences between NetBSD and
FreeBSD for ath(4).

XXX    Nobody with FreeBSD has signed off on this, so it may change
XXX    or go away entirely.
2003-10-13 05:16:20 +00:00
dyoung
839bd8fd2a Files belonging to the ath(4) PCI front-end.
We can only attach an ath(4) on architectures where we have a HAL
(which is only x86, for now) so I list the files belonging to the
PCI front-end separately from the other PCI files.
2003-10-13 05:10:00 +00:00
dyoung
dd813020b9 Add constants and strings for 802.11 radios with OFDM PHY (802.11a,
802.11g).

Add constants and strings for multi-mode devices (a/b/g).

From FreeBSD/Sam Leffler.
2003-10-13 05:06:44 +00:00
dyoung
1dae5adffe Pull the latest HAL from sourceforge.net/madwifi/ since it fixes
a bug in beacon-generation for AR5211 chips.
2003-10-13 04:53:04 +00:00
dyoung
152acf7a5d Add NetBSD RCSID.
Set the right path to NetBSD's athhal_opt.h

Provide NetBSD implementations of millisecond delays, system uptime,
and bcopy.
2003-10-13 04:51:15 +00:00
dyoung
3d70202422 Add NetBSD RCSID. 2003-10-13 04:48:34 +00:00
dyoung
99c40b175a Add NetBSD RCSID.
For future use, add HAL status code -> status string mapping.

Set the right #include path for NetBSD's athhal_osdep.h.
2003-10-13 04:47:45 +00:00
dyoung
3d267c04a5 Add NetBSD RCSID. 2003-10-13 04:38:20 +00:00
dyoung
dd46f240f9 ath(4) PCI front-end for NetBSD, heavily modified from FreeBSD's.
Substantially influenced by the patch from Bruce J.A. Nourish.
2003-10-13 04:36:29 +00:00
dyoung
762441ba29 Install header files for the new 802.11 layer. 2003-10-13 04:29:31 +00:00
dyoung
8a3890c655 More changes to the new 802.11 layer:
* Add Kevin Lahey's power-saving support from the old 802.11 layer

* Support for frequency-hopping PHYs

    * Add support frequency-hopping PHY mode, IFM_IEEE80211_FH
    * Add channel flags for frequency-hopping
    * Add mode<->media mappings in for FH PHY in ieee80211_media2rate
      and ieee80211_rate2media

* Stop using IFM_MAKEMODE macro since the mode constants
  (e.g., IFM_IEEE80211_11A) are pre-shifted in sys/net/if_media.h

* Add some PLCP constants.
2003-10-13 04:28:35 +00:00
dyoung
60dad7c3fe * Add support for frequency-hopping PHY mode.
* Do not enable debugging by default w/ IEEE80211_DEBUG.

* Add Kevin Lahey's power-saving support from the old 802.11 layer
2003-10-13 04:27:40 +00:00
dyoung
b8e804e8d2 Add Kevin Lahey's power-saving support from the old 802.11 layer
Spelling fix: s/unmatch/mismatch/g
2003-10-13 04:25:26 +00:00
dyoung
91ca08d44e Add Kevin Lahey's power-saving support from the old 802.11 layer 2003-10-13 04:23:56 +00:00
dyoung
031c73f68c Even more changes to the new 802.11 layer:
* Add Kevin Lahey's power-saving support from the old 802.11 layer
* Add a FHPARMS or DSPARMS info element to probe responses and beacons
  as appropriate.
2003-10-13 04:22:55 +00:00
dyoung
730331d557 More changes to the new 802.11 layer:
* Add Kevin Lahey's power-saving support from the old 802.11 layer

* Add my stop-gap rate-selection routine, ieee80211_get_rate,
  from the old 802.11 layer

* Also from the old 802.11 layer: factor ieee80211_match_bss out
  of ieee80211_end_scan, since atw(4) uses it for IBSS merges.
2003-10-13 04:20:23 +00:00
dyoung
56126d8a7e Revive constant IEEE80211_CHAN_ANY for ioctls. 2003-10-13 04:16:59 +00:00
dyoung
f9d6bac599 dev/scsipi/atapi_disk.h is no more, and umass_scsipi.c compiles
fine w/o it.
2003-10-13 01:47:55 +00:00
enami
3dbf40b29d KNF the previous commit. 2003-10-13 00:05:36 +00:00
enami
b3931d341e Rest of PR23128, so that ehci.c compiles again. 2003-10-13 00:05:10 +00:00
pk
db855cea5a ksiginfo_get/exit hook: protect queue operations with splsoftclock() (noted
by Christos).
2003-10-12 20:09:50 +00:00
pk
4370fdf30f Define SI_NOINFO to indicate that no signal specific code is available.
It is a large positive value (same as in Solaris) to distinguish a trap
for which the standard qualifiers do not fit, from a user- or other
"software"-generated signal.
2003-10-12 20:00:39 +00:00
pk
46166f9be5 Simplify fpu_cleanup() by having it return a code to indicate that a SIGFPE
is to be posted; let trap() deal with constructing the siginfo structure.
2003-10-12 19:48:52 +00:00
bouyer
c298ea9fc9 Remove block that has been pasted twice. Pointed out by Alexander Yurchenko. 2003-10-12 19:28:50 +00:00
thorpej
03a2e6174e Remove comment about non-existent MNT_MLOCK. 2003-10-12 19:08:49 +00:00
pk
22813649af Prepare for move to SIGINFO framework. 2003-10-12 19:08:17 +00:00
chs
5f8a58e4d6 cache_flush_virt() is buggy, just use blast_dcache() instead.
this should fix PR 23093.
2003-10-12 19:06:29 +00:00
he
fe6ca02de9 Since the boot loader is a stand-alone program, stub out LIBCRT0,
LIBCRTBEGIN, LIBCRTEND, and LIBC -- these are being added to the
PROG target list by bsd.prog.mk.
2003-10-12 18:56:44 +00:00
mycroft
ba41e2e19b Fix problems with ehci on controllers that support 64-bit addressing. From
Cliff Wright, PR 23128.  Thanks!
2003-10-12 18:04:28 +00:00