Commit Graph

127760 Commits

Author SHA1 Message Date
dyoung 7b92b29893 Improve argument checking. Convert from seconds to some number of
inactivity countdown intervals (currently these are 5 seconds).
2004-06-06 05:43:17 +00:00
dyoung 43dcf72c5f Finally, refactor wi_media_change and ieee80211_media_change.
ieee80211_media_change handles a lot more conditions than
wi_media_change did.

This helps with the second bug mentioned in kern/25604, which causes
"SIOCSIFMEDIA: Invalid argument."
2004-06-06 05:32:17 +00:00
dyoung e071e08cc6 Fix for kern/25604: ifconfig wi0 media DS11 panics system.
In ieee80211_chan2mode, do not dereference the marker for "any
channel," IEEE80211_CHAN_ANYC.
2004-06-06 05:28:58 +00:00
christos 9211fa02e8 - deal with ansi string concatenation.
- don't overflow the string copy buffer.
- increase the input line buffer.
2004-06-06 04:53:14 +00:00
dyoung 8c3cb8f859 Resolve kern/25721 by detaching ethernet(-like) devices from a
bridge in ether_ifdetach.
2004-06-06 04:44:05 +00:00
dyoung 86fed42ae8 In ad hoc mode, ignore the MAC's link up/down indication, since it
does not appear to be reliable.
2004-06-06 04:38:33 +00:00
dyoung eaa20d476a Use bpf_mtap2 in tun(4). 2004-06-06 04:36:29 +00:00
dyoung e80559eec4 Per Matt Thomas' and Darren Reed's suggestions:
Add bpf_deliver prototype.

Rename bpf_measure to m_length and move it to sys/sys/mbuf.h.  I
make m_length an inline function in the header file to preserve
its performance characteristics, for better or for worse.

Optimize m_length: use the length in m_pkthdr.len, if M_PKTHDR.

In bpf_deliver, zero the on-stack mbuf before we do anything else
with it.
2004-06-06 04:35:53 +00:00
dyoung 50c193fc53 Define IEEE80211_RADIOTAP_HDRLEN, the length of a radiotap header. 2004-06-06 04:13:28 +00:00
dyoung bcc2926388 Name some constants. Perhaps this deserves the cardbus_setpowerstate
treatment?
2004-06-06 04:10:49 +00:00
wiz 0c391626db Bump date for previous. 2004-06-06 04:05:49 +00:00
wiz 2b4f927dff Add article. 2004-06-06 04:04:36 +00:00
christos 999ef51181 remove copyright and comment sections. Saves ~40K on the crunched
ramdisk binary.
2004-06-06 01:46:53 +00:00
christos e53725b6b7 clear_session_logs is not needed when we are small. 2004-06-06 01:42:20 +00:00
christos 4c77cb2cb2 Save approximately 8K by not including http authentication, extended status
messages and help strings when the appropriate options are set.
2004-06-06 01:37:41 +00:00
christos 6671f6dc9e make copyright comments go to the ".copyright" section so that they
don't end up in the data segment and eat space.
2004-06-06 01:36:25 +00:00
dsl 3a2118e931 A load of usability fixes mainly to network installs.
I've made the error retry loops go back as far as the input menus.
Split all the pathname inputs into 2 pieces (base directory and set directory).
Reduced the size of some fixed strings.
Stopped the install aborting if ftp can't find a set (eg the X ones).
The French and Polish transations don't differenciate between Base_dir and
Set_dir - but that can be fixed later.
2004-06-05 21:18:59 +00:00
dsl 52ebceff84 Improve editing of input fields:
<- and -> move within the field
-> will pull default string into empty buffer
^H (etc) will delete default string from buffer (first press)
Put default string into display buffer if long and input in box.
Scroll input text if longer than space on line.
2004-06-05 19:05:36 +00:00
skrll 998c088730 Increase miniroot size to 16m. 2004-06-05 19:05:29 +00:00
mrg 9e9fa78434 explicitly lseek() to offset 10 to read the original name. fixes a
latent bug awoken by rev 1.37 (prior versions always left the fd at
this offset purely by chance.)  fixes PR#25824.
2004-06-05 15:47:10 +00:00
martin 1d0c7770c6 Make message net_media short enough (it needs space for [autoselect]
after it and should stay within 80 columns)
2004-06-05 15:35:51 +00:00
rumble fb87883ff1 Mention "Xterasys XN2511B" under supported hardware. 2004-06-05 15:30:42 +00:00
rumble 913fa30477 Fix typos. 2004-06-05 15:24:04 +00:00
rumble 9f060af51f typo: "The value NULL is be used" -> "The value NULL is used" 2004-06-05 15:05:02 +00:00
jdolecek 2abf86d47c add history section noting nawk is default since 2.0, and bump date 2004-06-05 12:10:08 +00:00
jdolecek fbac8027bb fix off-by-one use of gensub() index parameter, and treat negative
number to mean 'replace first match'; the index use is now fully
aligned with GNU awk

fixes PR bin/25543 by Richard Rauch
2004-06-05 12:01:28 +00:00
jdolecek 388cab5e29 sort the Sitecom entry properly 2004-06-05 11:44:55 +00:00
jdolecek fe0b738ada sort the product list by alphabet, and add some recently added items
bump date
2004-06-05 11:42:52 +00:00
lha a9970d44c9 Return directly when pty_alloc_master failes in ptmioctl,
bug-report on current users from Denis Lagno  dlagno at smtp dot ru.
Make debug message in pty_alloc_master to match the code.
2004-06-05 11:23:15 +00:00
jdolecek 849c8f1904 attach to Sitecom USB to serial cable
patch submitted in PR kern/25510
2004-06-05 08:41:43 +00:00
jdolecek 3173ee1a05 regen:
add Sitecom USB to serial cable
info submitted in PR kern/25510
2004-06-05 08:40:10 +00:00
jdolecek 80ce2a5588 add Sitecom USB to serial cable
info submitted in PR kern/25510
2004-06-05 08:39:31 +00:00
jdolecek aaba5c2cd4 unify the statvfs-reporting related code to single smbfs_smb_statvfs routine
for easier maintenance; the decision to use either
SMB_TRANS2_QUERY_FS_INFORMATION or SMB_COM_QUERY_INFORMATION_DISK
is done inside it, the code for populating struct statvfs with values
is shared
2004-06-05 07:36:25 +00:00
yamt cc5720dc40 unexport following x86 bus_dma internal functions.
_bus_dma_alloc_bouncebuf
        _bus_dma_free_bouncebuf
        _bus_dmamap_load_buffer
2004-06-05 07:31:31 +00:00
yamt 1b31a2b6a0 - introduce a function, i82489_icr_wait, which waits for
LAPIC_DLSTAT_BUSY cleared, and use it where appropriate.
- panic if lapic's busy too long and DIAGNOSTIC.
2004-06-05 07:15:57 +00:00
yamt 26239e60ec a comment about SBLASTRECORDCHK and SBLASTMBUFCHK. 2004-06-05 07:14:05 +00:00
dyoung 9494e60fdb No need to detect and exit on short 802.11 packets, since
ieee80211_input will do that (and tap the packet).
2004-06-05 07:12:45 +00:00
jdolecek 88edd838ec set 'frag' size to the same value as the file system block size, so
that userland would pick up correct size of unit (it uses lower of
these values as the size of one 'block' for f_blocks et.al.)
fixes PR bin/25319 by Juan RP
2004-06-05 06:28:11 +00:00
itojun 62f70e2fb5 suppress -Wunused 2004-06-05 05:07:02 +00:00
tsutsui 3e4f143147 Add two late entries:
- hp300 MI com(4)
- wm(4) hwcksum fix on big endian machines
2004-06-05 04:11:31 +00:00
rumble 319bc5e984 Added myself to list of developers. 2004-06-05 03:38:42 +00:00
thorpej ee3cac8241 Tweak the grammar so that conditional makeoptions work in files.* files
as intended.

Problem noted by itojun on tech-kern.
2004-06-05 03:21:53 +00:00
mycroft 4713b8ea6e Remove a couple of items that are done now. XXX Is the first one also done? 2004-06-05 03:14:45 +00:00
thorpej ea6a34247c vmunix -> netbsd 2004-06-04 23:44:35 +00:00
thorpej 7729811d27 One final place for strtolower() treatment. 2004-06-04 23:41:14 +00:00
thorpej 05c577b03f Use strtolower() in a couple more places. 2004-06-04 23:36:50 +00:00
bouyer 851ca6fa98 Don't try to bus_space_subregion() registers that didn't get mapped.
Problem reported and fix tested by Kurt Schreiner on port-alpha.
2004-06-04 21:15:00 +00:00
thorpej 85c0b77956 twe_ccb_map(): Remove the DEBUG panic case of "unknown" S/G list offset.
In all likelihood, this is a command passed from userspace management
tools where no S/G list is needed because no data is being passed.
2004-06-04 20:11:17 +00:00
ginsbach 9fcbc1ee6b Change remaining K&R style function definition to ANSI; Reviewd by <christos>. 2004-06-04 20:05:25 +00:00
uch c58b450e06 fix hd64461video_get_clut. 2004-06-04 13:23:34 +00:00