Commit Graph

127972 Commits

Author SHA1 Message Date
christos 5acfe8430e Explain why this cannot be easily fixed. 2004-06-06 07:09:02 +00:00
christos ff64927ee9 Don't include the rnd device; it makes us too big. 2004-06-06 07:04:27 +00:00
christos 0f6740656b Include a fake syslog that does only printf; saves 4K. 2004-06-06 07:03:53 +00:00
christos 95a737969b don't include the printf builtin if we are SMALL; saves 10K. 2004-06-06 07:03:11 +00:00
mrg 5fb3053fed add $NetBSD$ 2004-06-06 06:58:50 +00:00
christos 2ba7f07368 Add hook for SMALL 2004-06-06 06:39:43 +00:00
christos 509e2f5c56 save another 4K, by not having a large text message and a segv handler
for SMALL.
2004-06-06 06:39:27 +00:00
christos 6f0701b22e Explain what xstr can and cannot do, and why it is not useful these days. 2004-06-06 06:15:45 +00:00
christos 2fe9365746 Get rid of the EXTERN/INIT mess; fix so that we can process this with xstr(1).
Not worth processing though, since on the i386 we only save ~3K.
2004-06-06 06:06:59 +00:00
dyoung b0ce431f32 Add sysctl(9) descriptions for net.link and net.link.ieee80211. 2004-06-06 05:45:29 +00:00
christos 543c223a3a Avoid EXTERN use. 2004-06-06 05:45:04 +00:00
dyoung 390d3859bf Fix a typo in some #ifdef notdef code. 2004-06-06 05:44:25 +00:00
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