ragge
c6471e4d9a
Remove an unneccessary reference to cf_unit.
2000-02-12 15:48:34 +00:00
augustss
523d157a05
Regen.
2000-02-12 15:02:56 +00:00
augustss
a79d73d045
Add Corega FEther adapter. From PR 9394.
2000-02-12 15:02:21 +00:00
shin
e9c7fb4c36
change ramdisk size.
2000-02-12 13:48:46 +00:00
pk
19533212a5
Correct comments on KGDB_* entries.
2000-02-12 12:59:36 +00:00
pk
b518dc6dfc
Eliminate much of the goo in setting up zs device addressing.
2000-02-12 12:51:03 +00:00
tsutsui
980ac3a9eb
Fix typo.
2000-02-12 08:52:11 +00:00
enami
01868857df
Add activate routine and check device active flag also in one second
...
tick handler.
2000-02-12 04:05:49 +00:00
enami
fbc47bda30
Cosmetic changes.
2000-02-12 03:55:49 +00:00
thorpej
5903e181fa
Nuke NKMEMCLUSTERS.
2000-02-12 03:29:18 +00:00
shin
49ac0acd83
delete NKMEMCLUSTERS from configuration files.
2000-02-12 03:21:06 +00:00
mjacob
1b188ee2ff
A lot of cleanup and shrinkage. Some items moved to isp_tpublic.h.
2000-02-12 02:33:34 +00:00
mjacob
55a78c1ee4
Add in 12160 (Ultra3) support. Turn back on fast posting for the new
...
generateion parallel SCSI cards (1240/1080/1280/12160). Split up nvram
reading routines to be more readable. Fix topology reporting- 2200 has
connected topology in mailbox 6 when you're done getting your loop id
(supported: Private Loop (NL Port), N-Port, F-Port, FL-Port). The 2100
doens't report this, but we can synthesize it to be either NL-Port or
FL-Port. Add in some connection mode async events.
2000-02-12 02:32:21 +00:00
mjacob
56e16448ad
add in 12160 (Ultra3) related definitions
2000-02-12 02:29:00 +00:00
mjacob
9f63fdeefb
add in 12160 (Ultra3) NVRAM definitions
2000-02-12 02:28:32 +00:00
mjacob
87355d841f
add some Qlogic 2200 point-to-point and extended ICBOPT definitions
2000-02-12 02:26:26 +00:00
mjacob
50f2620822
add 80 MHz case
2000-02-12 02:25:28 +00:00
mjacob
3f96822c3b
some minor cleanups
2000-02-12 02:24:20 +00:00
mjacob
63c56a9de6
add a more public shared i/f to target mode
2000-02-12 02:23:13 +00:00
mjacob
6eba47aa8f
add (untested in NetBSD yet) Qlogic 12160 (Ultra3) suppot
2000-02-12 02:22:37 +00:00
mjacob
29f08cd82d
add 12160 (Ultra3) microcode
2000-02-12 02:07:49 +00:00
kleink
3a09830119
printf format mismatch in DEBUG code (related to already fixed PR hp300/9388).
2000-02-11 23:00:47 +00:00
leo
d10190a70c
Move the ite_default_* variables to ite.c. They are generic ite.
2000-02-11 21:42:52 +00:00
leo
39a8093c78
Remove redundant test.
2000-02-11 21:36:38 +00:00
leo
107405406d
Oops! Both grfcc and grfet need the generic grfabs layer.
2000-02-11 21:35:42 +00:00
thorpej
dded044fc2
Update for the NKMEMPAGES changes.
2000-02-11 19:25:12 +00:00
thorpej
eb9cbbe294
Add some very simple code to auto-size the kmem_map. We take the
...
amount of physical memory, divide it by 4, and then allow machine
dependent code to place upper and lower bounds on the size. Export
the computed value to userspace via the new "vm.nkmempages" sysctl.
NKMEMCLUSTERS is now deprecated and will generate an error if you
attempt to use it. The new option, should you choose to use it,
is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and
NKMEMPAGES_MAX allow the user to configure the bounds in the kernel
config file.
2000-02-11 19:22:52 +00:00
is
9bf09631c6
Only output message on really special DEBUG kernels.
2000-02-11 19:09:56 +00:00
tsubai
d696094217
Change ICU_LEN to 64.
2000-02-11 13:15:43 +00:00
itojun
82b005364c
don't increase both "no port on broadcast packet" and "no port" stat.
...
increasing both of them will result in negative number on udp
"delivered" stat on netstat(8), since netstat computes number of delivered
packet by subtracting them from number of inbound packets.
2000-02-11 10:43:36 +00:00
thorpej
dc80cc068b
Move KERNBASE to 0xc0000000, giving the kernel a more-or-less full 1G
...
of virtual address space, leaving userland with 3G, and update comments
to match the new reality.
We knew we were going to have to bite this bullet eventually, and there
are a couple of outstanding PRs related to this issue (9389 and 9313).
Complete solution to those PRs is going to involve some sort of run-time
decision on how large kmem_map should be, as well as changing some data
structure allocation strategies in UVM. However, this change will at
least allow the PR submitter to simply throw resources at the problem.
2000-02-11 07:00:11 +00:00
itojun
5d257be455
make assumption in rt_msg1 (len <= MHLEN + MLEN) explicit.
...
panic if not satisfied.
2000-02-11 06:11:03 +00:00
itojun
46dfa55555
fix in-kernel packet forwarding loop (till TTL becomes 0) when:
...
- a packet is delivered to an address X,
- and the address X is configured on my !IFF_UP interface
- and ipforwarding=1
NetBSD PR: 9387
From: nrt@iij.ad.jp
2000-02-11 05:57:58 +00:00
takemura
160bf15b09
Add com0's power control ID.
2000-02-11 03:20:17 +00:00
simonb
2db5581a4c
Declare the mcclock_pad32_busfns variable as extern.
2000-02-11 02:36:16 +00:00
oster
255608f126
Add support for a "RAID" partition type.
2000-02-11 02:04:42 +00:00
thorpej
29ae6dbe05
We're given a K1SEG address already.
2000-02-11 01:32:42 +00:00
thorpej
5f9e257c5a
Fix a couple of printf format botches. port-hp300/9388, Steve Peurifoy.
2000-02-10 23:02:16 +00:00
aymeric
dc0ce1249b
fix interrupt handling
...
I still get lost interrupts on the A1200, but the problem is certainly
elsewhere (not in wdc_amiga).
2000-02-10 15:51:59 +00:00
itojun
ff0fe5df65
fix ip4 protosw.
...
gif interface and gre interface should be able to coexist.
2000-02-10 14:44:28 +00:00
tsubai
1dc2d9d399
Don't display "NetBSD disklabel". This message appears too many times
...
if more than two or three disks exist.
2000-02-10 12:33:45 +00:00
chopps
d8595b9af3
map common memory 8 bit for cis scan when following longlinks.
2000-02-10 09:01:52 +00:00
chopps
44b423d73b
always map attr memory 8 bit, since its defined that way.
2000-02-10 09:00:19 +00:00
sato
18452e3667
- add GPIO related comments.
...
- add IBM WorkPad z50 buttons.
2000-02-10 08:45:44 +00:00
sato
709f6f50a2
show edge/level infomation in attach message.
2000-02-10 08:37:07 +00:00
sato
e19b30ff0a
delete \n in cpu_model.
2000-02-10 08:34:08 +00:00
mjacob
9621e6be50
Reset maxstray count if we get a good interrupt for a level.
2000-02-10 07:45:43 +00:00
mjacob
13e13336b2
Allow (re)setting of maxstrays after establishment of a shared interrupt.
...
This allows sporadic stray interrupt counts to be reset by an acknowledgement
of the same interrupt.
2000-02-10 07:45:02 +00:00
mjacob
4821b5ae2f
Guard against trying to disable an interrupt where we'd dereference a
...
bad pointer.
2000-02-10 04:31:36 +00:00
sato
1dd1e143a9
add machine model name to cpu_model.
2000-02-10 02:15:01 +00:00
sato
549e292ae4
update MINYEAR.
2000-02-10 02:06:16 +00:00
sommerfeld
d129ec5214
Fix typo in error message
2000-02-09 23:25:15 +00:00
aymeric
a10113c83a
fix a couple of things to (hopefully) make this work on the A1200
2000-02-09 22:27:20 +00:00
joda
d40e2b51ee
add detach code
2000-02-09 22:15:57 +00:00
sommerfeld
39db0e9c7e
Three MULTIPROCESSOR + LOCKDEBUG fixes:
...
1) fix typo preventing compilation (missing comma).
2) in SLOCK_WHERE, display cpu number in the MP case.
3) the folowing race condition was observed in _simple_lock:
cpu 1 releases lock,
cpu 0 grabs lock
cpu 1 sees it's already locked.
cpu 1 sees that lock_holder== "cpu 1"
cpu 1 assumes that it already holds it and barfs.
cpu 0 sets lock_holder == "cpu 0"
Fix: set lock_holder to LK_NOCPU in _simple_unlock().
2000-02-09 16:46:09 +00:00
enami
e00270524e
ASIX AX88190 support (Planex FNW-3700-T and Melco LPC3-TX) from FreeBSD/PAO3.
2000-02-09 15:40:23 +00:00
enami
67bc20747a
Support Xircom CompactCard Ethernet CFE-10.
2000-02-09 14:54:53 +00:00
enami
99f529f0b3
- Since all resources are mandatory, no need to manage individually.
...
- KNF some code.
- Factor out some code into function.
- Disestablish an interrupt handler when failed to enable card power.
2000-02-09 14:42:33 +00:00
takemura
968822bd48
The pwctl writes ZERO as on if active=0.
2000-02-09 14:39:06 +00:00
enami
dc87f2899f
- No need to keep track enable/disable state here. The smc91cxx.c also
...
manages it.
- Disestablish an interrupt when failed to enable card.
- Don't say I'm enabled if failed to enable card.
2000-02-09 13:40:42 +00:00
enami
94a6dd9169
Regen.
2000-02-09 13:33:22 +00:00
enami
947c0fee74
Add an entry for Planex FNW-3700-T.
2000-02-09 13:32:23 +00:00
enami
e729d284ad
Add an entry for Melco LPC3-TX.
2000-02-09 13:20:55 +00:00
tsubai
502ad73200
Add wsfont options.
2000-02-09 13:10:15 +00:00
tsubai
dcb9f03bd3
Use dev/rasops instead of dev/rcons.
2000-02-09 13:08:35 +00:00
enami
e92b285eaf
Add an entry for Xircom CompactCard Ethernet CFE-10.
2000-02-09 13:07:45 +00:00
takemura
0694de05ed
Fix Work Pad z50's entry.
2000-02-09 13:03:31 +00:00
tsubai
0867c09dad
Change va_arg definition when __lint__ is defined.
2000-02-09 12:54:47 +00:00
itojun
19e9558eaf
sync with extended scoped address syntax change.
2000-02-09 12:27:03 +00:00
sato
ad591b78f4
CLOCK_RATE: 256-> 128.
...
reduce timer interrupts because hpcmips machines are lower cpu power.
2000-02-09 10:41:18 +00:00
nisimura
9fb475bc29
Missing commit to reflect ioasicreg.h merge.
2000-02-09 08:37:43 +00:00
nisimura
43917001c7
- Add missing "opt_ddb.h" to dc.c and dtop.c (oh, boy)
...
- Nuke irrelevant "dcvar.h" and "tc.h" inclusion from dc.c
- Put '#if NRASTERCONSOLE > 0' around scc_lk201_cnattach().
2000-02-09 08:29:40 +00:00
itohy
0a1d6b1357
Make it compile with options DEBUG.
...
Reported by Kawamoto Yosihisa (PR #9379 ).
2000-02-09 07:57:52 +00:00
shin
7f5a7c00ac
fix include file.
...
<netinet6/ip6.h> -> <netinet/ip6.h>
2000-02-09 05:48:26 +00:00
itojun
53e333c935
honor ifa reference counting.
2000-02-09 03:34:01 +00:00
itojun
541b446bfa
for more strict rfc2367 conformance, move netkey/keyv2.h into net/pfkeyv2.h
...
(net/pfkeyv2.h used to just include netkey/keyv2.h).
netkey/keyv2.h includes #error only for several days, to inform
of file path change. after that I plan to nuke the file.
2000-02-09 03:27:29 +00:00
thorpej
f9e531f1e4
Don't force BWX on Pyxis by default; it's just not reliable enough.
2000-02-09 01:39:20 +00:00
itojun
59d74f3d21
to improve RFC2553/2292 compliance, and promote use of
...
RFC2553/2292-compliant header file path, now the following headers are
forbidden:
netinet6/ip6.h
netinet6/icmp6.h
netinet6/in6.h
if you want netinet6/{ip6,icmp6}.h, use netinet/{ip6,icmp6}.h.
if you want netinet6/in6.h, you just need to include netinet/in.h.
it pulls it in.
(we may need to integrate them into netinet/in.h, but for cross-BSD code
sharing i'd like to keep it like this for now)
2000-02-09 00:54:55 +00:00
itojun
4f53db2499
optimize mbuf allocation for ip/tcp/tcpopt part.
2000-02-09 00:50:40 +00:00
thorpej
ec02ebc8a0
Adjust for IOASIC register changes.
2000-02-09 00:33:03 +00:00
tsubai
a62753d0b7
Make OF-2.x can also find root device.
2000-02-08 20:02:13 +00:00
augustss
76c14cd322
Don't stall the control pipe on error.
2000-02-08 18:46:03 +00:00
augustss
e922214fb2
Use NULL instead of 0.
2000-02-08 18:45:27 +00:00
thorpej
3bc7ce8d31
Cast bus_size_t to u_long for printing.
2000-02-08 18:40:51 +00:00
tron
73286f8d56
Fix printf() format string.
2000-02-08 18:31:02 +00:00
mycroft
2a2d421881
Forgotten part of chopps\'s i82365_isasubr.c commit.
2000-02-08 17:56:58 +00:00
mycroft
ac0db48a13
In light of the previous change, whack the clearing of CSC_INTR
...
again.
2000-02-08 17:53:48 +00:00
mycroft
eb071839ea
The final read of the CSC register does not appear to be needed any
...
more.
2000-02-08 17:48:39 +00:00
chopps
d12c4012f1
deal with loops that we get stuck in due to unhandled interrupts.
2000-02-08 17:14:29 +00:00
mycroft
5abb516b1e
Be more careful with the CSC_INTR register while probing.
...
Make some output more specific.
2000-02-08 16:59:52 +00:00
bouyer
f522d6f1ee
Supports "USR 3CP5609 PCI 16550 Modem", from Kent Polk.
2000-02-08 16:26:23 +00:00
bouyer
b3cffb232f
regen
2000-02-08 16:24:00 +00:00
bouyer
b614c6a569
Add US Robotics vendor ID, and USR 3CP5609 PCI 16550 Modem product ID.
...
From Kent Polk.
2000-02-08 16:22:37 +00:00
jdolecek
e20ce57cd6
Store also attribute identifier in the filehandle structure, so that
...
proper file attribute (a.k.a. "resource fork") is picked up when
the filehandle is mapped back to filesystem object.
This should make attributes working on NFS-exported NTFS filesystems
or other layered filesystems using filehandles.
2000-02-08 16:17:58 +00:00
tsutsui
6968a454bd
Add news1200 support.
...
Based on a patch from Koichi NISHIWAKI <k-nis@ba2.so-net.ne.jp>
2000-02-08 16:17:28 +00:00
tsubai
b933f19ea2
Flush cache before rebooting to preserve msgbuf.
2000-02-08 12:57:11 +00:00
enami
34d63b5623
Since we now only allocate this one, no longer necessary to check and free().
2000-02-08 12:56:00 +00:00
enami
1658944ebe
- Don't rely on implicit declaration.
...
- Sinc wi/ existing coding style.
2000-02-08 12:51:30 +00:00
enami
c7573d517e
- Bail out from attach stage if failed to enable card, number of iospace
...
or memspace is unexpected, failed to map iospace or failed to configure
the controller properly.
- Disestablish an interrupt handler if failed to enable card.
2000-02-08 12:49:12 +00:00
tsubai
d97ae29629
Enter power saving mode in idle loop on 603, 750, and 7400.
...
603 uses doze mode, 750 and 7400 use nap mode.
2000-02-08 12:49:06 +00:00
tsubai
9cba8a13d1
Use -Os -mmultiple to reduce size.
...
Add cbb and pcmcia/cardbus devices.
Nuke BUFPAGES=800 kludge.
2000-02-08 12:13:50 +00:00
tsubai
c7d216c2da
Add missing locators.
...
Add tlp at cardbus.
2000-02-08 12:10:56 +00:00
augustss
e0c519464a
Add methods for ucom to call back on open/close.
2000-02-08 09:18:01 +00:00
tsubai
45fe0e4077
Fix typo.
2000-02-08 08:08:43 +00:00
erh
8613a0edaa
Regen.
2000-02-08 06:36:46 +00:00
erh
a87f862d24
Add Allied Telesyn AT-1500, lance ethernet.
2000-02-08 06:36:29 +00:00
nisimura
42e4e9fd0c
Add the missing piece of previous mod.
2000-02-08 04:35:03 +00:00
fair
554df2b994
remove kern_logsigexit being "on" for DIAGNOSTIC
2000-02-08 04:13:51 +00:00
mycroft
bc1ca7aa3f
Add a bunch of debugging code, #ifdef FPU_DEBUG, which attempts to
...
trap FPU usage in the kernel.
2000-02-08 03:16:00 +00:00
mycroft
a3b8d596d5
Sync with GENERIC.
2000-02-08 03:10:21 +00:00
thorpej
bfdc6759fb
Don't rely on the receive descriptor's BCAST/MCAST status bits. Test the
...
Ethernet destination address to see if it's multicast.
2000-02-08 00:22:13 +00:00
thorpej
52a2804a5c
Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
...
the maximum transfer size for the specified DMA channel. Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
pk
1d46ce41ea
Enable the hme ethernet driver.
2000-02-07 21:24:48 +00:00
tsubai
b9ff560bcc
Don't print "... not configured" message for non real devices
...
like escc-legacy.
2000-02-07 20:30:05 +00:00
thorpej
5c83cd7b9c
Bump version to 1.4S -- b_rawblkno.
2000-02-07 20:19:13 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
jonathan
b19c0fbb0a
Make kernel SOMAXCONN patchable. Will add sysctl once we
...
decide on namespace.
2000-02-07 18:43:26 +00:00
thorpej
cb18849e48
Make APM use a kernel thread rather than a callout, and provide a
...
mutex between the thread and a user process attempting to do APM
operations.
2000-02-07 17:36:59 +00:00
tsubai
cf532aa7eb
Move CFLAGS and CPPFLAGS to {bootxx,ofwboot}/Makefile to compile installboot
...
without -D_STANDALONE.
2000-02-07 16:26:59 +00:00
leo
6328fac75d
Add bootm_init() prototype.
2000-02-07 14:36:42 +00:00
veego
aa4732525f
Fix from Darren Reed for the test failure of f11.
2000-02-07 13:58:00 +00:00
pk
de608f33e1
Don't use PROM the virtual address (if any) for the device registers;
...
they are not reliably mapped. Also, unmap registers if the device
cannot be configured properly.
2000-02-07 11:44:15 +00:00
augustss
a534cd4254
Correct John Markus Bjørndalen's horribly mangled name in a comment.
2000-02-07 09:40:37 +00:00
augustss
a8365d0e29
Use pcmcia_devinfo().
2000-02-07 09:36:27 +00:00
augustss
e2ab50484b
Add a pcmcia_devinfo() function (akin to pci_devinfo). It generates a
...
string suitable for printing in the attach message.
2000-02-07 09:35:29 +00:00
itojun
2687887f38
s/DIAGNOSTIC/DEBUG/
2000-02-07 06:15:16 +00:00
itojun
85cdd5f08e
remove IPv6 router renumbering prefix information in the kernel
...
when all the interface addresses are gone.
this should remove dangling structure when:
# ifconfig lo0 inet6 3ffe::1 prefixlen 64 alias
# ifconfig lo0 inet6 3ffe::1 -alias
is performed.
2000-02-07 05:48:11 +00:00
itojun
1148e4715f
correct SIOCAIFADDR_IN6 failure recovery in point-to-point case.
2000-02-07 05:42:59 +00:00
itojun
49bed394bd
add more sanity check against mbuf length.
...
use log() for DAD related kernel message.
2000-02-07 05:42:28 +00:00
itojun
45b89333e4
close comment.
...
From: Kazuto Ushioda <x-y-z@3si.co.jp>
2000-02-07 03:51:59 +00:00
jonathan
e9a4467c58
Fix thinko in previous revision: it wouldn't catch deassert.
...
Revert the code inside the new test to the previous-but-one revision.
2000-02-07 02:17:18 +00:00
jonathan
2da22cf2c5
Check for DCD status change interrupts which signal PPS events, even
...
if the line discipline is ignoring carrier (e.g., via comparam()'s
setting of sc->sc_msr_mask). Move PPS timestamp outside the normal
status-change processing, and ignore sc_msr_mask when testing
for PPS events.
2000-02-06 23:23:37 +00:00
mhitch
93be165768
Remove an "#if 0" I seemed to have missed, to include wd* devices in the
...
search for root filesystems.
2000-02-06 21:45:03 +00:00
msaitoh
96250cd570
fix the calculation bug for the LMA of bss.
2000-02-06 16:53:57 +00:00
eeh
8636e8eef7
Update for compat_netbsd32.
2000-02-06 16:49:51 +00:00
eeh
70694ad4bb
Add new P_32 flag for processes running 32-bit emulation.
2000-02-06 16:47:57 +00:00
eeh
cde9dba8ab
Add support for -current's ELF32 exec format.
2000-02-06 16:45:56 +00:00
thorpej
72ecabeb4d
In if_detach(), call PRU_PURGEIF for *every* protocol within a domain
...
that has a usrreq entry point. Each protocol may have its own PCB
tables that need to be purged of references to the interface.
2000-02-06 16:43:33 +00:00
takemura
06aa6ffcb9
Delete dupicated 'z50'.
2000-02-06 14:02:42 +00:00
msaitoh
986d236119
remove COMPAT_NOMID stuff
2000-02-06 13:13:20 +00:00
itojun
90736ab608
fix include pathname for better rfc2292 compliance.
2000-02-06 12:49:37 +00:00
frueauf
23774a37c9
remove unused variable *dp.
2000-02-06 11:14:56 +00:00
itojun
51219dabc9
to be more rfc2292 complient, move ip6.h and icmp6.h into netinet.
...
(netinet6/{ip6,icmp6}.h is non-standard path - these files should go away)
it was not possible to use cvsmove in this case.
when you try to look at history, chase it toward netinet6/{ip6,icmp6}.h.
2000-02-06 11:11:29 +00:00
takemura
1a8f3a2b75
Add platid_name() which retrieves the platform name.
2000-02-06 08:47:03 +00:00
cgd
dbeafc9dbe
clean up some printfs
2000-02-06 08:14:13 +00:00
itojun
76064f5770
don't chase mbuf pointer when it is NULL.
2000-02-06 08:06:43 +00:00
fair
c75556a12f
Add kernel logging of processes which exit on signals which can
...
cause a core to drop, and whether the core dropped, or, if it did
not, why not (i.e. error number). Logs process ID, name, signal that
hit it, and whether the core dump was successful.
logging only happens if kern_logsigexit is non-zero, and it can be
changed by the new sysctl(3) value KERN_LOGSIGEXIT. The name of this
sysctl and its function are taken from FreeBSD, at the suggestion
of Greg Woods in PR 6224. Default behavior is zero for a normal
kernel, and one for a kernel compiled with DIAGNOSTIC.
2000-02-06 07:29:56 +00:00
dbj
a4746f91c3
choose first keymap that matches.
...
Otherwise, the NEC MobilePro 770 chooses the wrong one.
This is consistent with keymap searching order from before revision 1.12,
although I haven't investigated why choosing the last match instead of the first
causes the MobilePro 770 to lose
2000-02-06 06:29:22 +00:00
thorpej
17c346b9e1
Changed cacheable -> prefetchable. [sync w/ swiz]
2000-02-06 04:07:18 +00:00
elric
28bdaf37d9
Changed cacheable -> prefetchable.
2000-02-06 03:52:27 +00:00
thorpej
113a379cba
Implement pffinddomain(), and use it as appropriate.
2000-02-06 02:54:15 +00:00
thorpej
97eba73a40
If we have a Pyxis with the DMA page crossing bug, don't allow coalescing
...
of adjacent DMA segments.
XXX This is still not perfect... but making it perfect will probably
require additions to the bus_dma interface and the ISA autoconfiguration
interface.
2000-02-06 01:26:50 +00:00
thorpej
0c4f8a876b
Implement an internal DMA map flag which prevents coalescing of
...
adjacent DMA segments.
2000-02-06 01:23:30 +00:00
veego
5b4e17169b
Bring in the support to boot from ide drives. This is from dec_eb164.c.
...
This is needed for newer firmware and to boot from slave drives.
2000-02-05 22:22:41 +00:00
veego
541c31000e
Sync the ide support with dec_eb164.c rev 1.32:
...
Add the support to boot an ide slave drive and to boot from the secondary
ide channel.
Michael Hitch gave me the final hint how to do that and Havard Eidnes
tested it with his slave drive.
This should fix pr#8808 on the DS10.
Also remove one ideboot check which wasn't removed when I removed it from
dec_eb164.c.
2000-02-05 22:19:19 +00:00
veego
b92d490f3e
Add the support to boot an ide slave drive and to boot from the secondary
...
ide channel.
Michael Hitch gave me the final hint how to do that and Havard Eidnes
tested it with his slave drive.
This will also fix pr#8808 on the DS10 when I commit the changes to
dec_6600.c.
2000-02-05 22:14:42 +00:00
jdc
be5d89da1a
Add definition for default swap partition (libahdi uses this).
2000-02-05 21:14:55 +00:00
nathanw
958e687d69
LP64 printf fixes.
2000-02-05 20:02:42 +00:00
mhitch
d9b42dd1fc
At long last, the MI wdc glue for the Amiga. Tested on my A4000, but not
...
on an A1200 yet. Configuration of wdc/atapi in GENERIC is currently
commented out to prevent the suprise of an IDE drive changing from sd0
to wd0 (and the first real SCSI drive changing from sd1/sd1 to sd0).
2000-02-05 18:46:28 +00:00
mhitch
db4859bcd8
Regen (with commented MI wdc stuff)
2000-02-05 18:42:49 +00:00
chopps
6d8c9583a7
indent this file
2000-02-05 18:42:37 +00:00
mhitch
915731c9ea
Add commented out configuration for MI wdc.
...
Note: enabling these will cause disk device renumbering if any IDE were
present (i.e. if sd0 was IDE drive 0, that drive will become wd0 and sd0
will be the first real SCSI drive.
2000-02-05 18:41:58 +00:00
chopps
101848d272
run this through indent with some comment cleanup -- more knfing needed.
2000-02-05 18:20:08 +00:00
augustss
494c9affea
Support detach.
2000-02-05 18:11:55 +00:00
itojun
9e9f3e15e4
need PRC_IF{UP,CHANGE}.
2000-02-05 18:11:41 +00:00
itojun
7604e315fb
sync with reality.
...
- getipnodeby{name,addr} is now non-issue as RFC2553bis will be dropping it
- if_detach is mostly done
- add some items
2000-02-05 18:05:33 +00:00
minoura
8759daabe7
Sync.
2000-02-05 14:35:41 +00:00
kleink
36e6bc645e
Improve namespace test macros a bit.
2000-02-05 14:04:36 +00:00
pk
b527153dd7
Ensure uniqueness of EEPROM device without reference to cf_unit.
2000-02-05 12:32:57 +00:00
itojun
1f8497dc18
fix route cleanup on interface removal. (not sure why -Wall did not catch it)
2000-02-05 07:58:54 +00:00
itohy
b4f060a0bc
Mark LFS partitions as "BSD lfs ".
...
Now, swap partition should be "BSD swap" unless COMPAT_14.
2000-02-05 07:38:10 +00:00
enami
645c869160
Add detach support for ethernet portion.
2000-02-05 04:44:00 +00:00
enami
9267b8f018
Remove unnecessary includes.
2000-02-05 04:41:49 +00:00
enami
abac10f360
Yet anothor workaround for hpcmips. I guess real problem is somewhere else...
...
With rev.1.37, my MobileGearII for DoCoMo finds both ne0 and wd0
even if pcic_delay_sleep is 1.
With rev 1.40, it fails to find wd0.
2000-02-05 04:34:36 +00:00
cgd
be8a1b19f0
more CR/NL -> NL conversion (some crept in)
2000-02-05 03:25:26 +00:00
cgd
7d16ac338c
add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
...
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
cgd
253b179629
clean up (group, sort) __HAVE_* defines
2000-02-05 00:07:30 +00:00
tsubai
c343256107
Make the new findroot code work on PowerMac 9600 (OF-1.0.5).
2000-02-04 18:29:15 +00:00
dante
2a46aa5d9a
Fix "unused variable" warning when FAILSAFE option is defined
2000-02-04 16:23:14 +00:00
dante
b4edda97d5
Fix a compilation bug due to a missing parenthesys
2000-02-04 15:43:46 +00:00
itojun
f91ee608a9
avoid calling in6_control(SIOCDIFADDR_IN6) from interrupt context.
...
it is not supposed to work.
logging fix: add "\n" to some of log() in in6_prefix.c.
improve in6_ifdetach(). now almost all structure depend on ifnet
will be cleared up.
possible loose ends:
- cached route_in6 in static varaiables needs to be cleared as well
- there are ifaddr manipulation without reference counting,
which should be fixed
we still see panics after card removal, though... not sure what is left.
(sync with kame)
2000-02-04 14:34:22 +00:00
minoura
a7ec5e9634
Add Cyrix MediaGX(m) identification.
...
Thanks to INOUE Yoshinari <pf5y-inue@asahi-net.or.jp>.
2000-02-04 14:21:33 +00:00
augustss
e037c568cb
Update for cardbus unmap changes.
2000-02-04 13:48:23 +00:00
augustss
1facb42e6e
Make the driver work even if DIAGNOSTIC is not set.
2000-02-04 13:43:56 +00:00
dante
29be498635
Add a list of all the currently supported boards
2000-02-04 13:16:22 +00:00
enami
9c688fd57c
s/SYSTEM/SYSMEM/; so that this file compiles again.
2000-02-04 11:04:46 +00:00
joda
8006211b18
fix previous broken commit of the 8-bit memory handling (spotted
...
by Christian Hopps); this will enable 16-bit memory accesses for devices
that can handle it
2000-02-04 10:18:28 +00:00
itojun
0f09f8dd2b
cope with card insertion/removal during suspend-resume session.
...
(removal/ insertion after suspend and before resume)
How should we deal with card swaps?
2000-02-04 09:45:34 +00:00
enami
730f15bb19
Free resources on attach failure.
2000-02-04 09:31:07 +00:00
enami
82235a8673
Actually, no need to keep track of sc_ih.
2000-02-04 09:30:28 +00:00
itojun
10509171fb
avoid some of typecasting from in6_ifaddr to ifaddr.
2000-02-04 08:54:04 +00:00
chopps
2a1352a5b3
enable the card before establishing the interrupt to avoid being called
...
with stray interrupts before we are ready.
clear the card interrupt after enabling the card
2000-02-04 08:45:41 +00:00
chopps
70e711cd60
only enable interrupts from the controller if the socket is enabled
2000-02-04 08:42:47 +00:00
chopps
d344dd94ab
keep track of the enabled state of a socket
2000-02-04 08:42:07 +00:00
haya
ded26ac3e4
Now cardbus_mapreg_unmap() has been implemented in
...
sys/dev/cardbus/cardbus_map.c. The detech function in
sys/dev/cardbus/if_tlp_cardbus.c uses cardbus_mapreg_unmap().
2000-02-04 07:59:20 +00:00
explorer
59db45db2a
bring over WEP mode from FreeBSD/OpenBSD
2000-02-04 07:48:29 +00:00
tsubai
6bfa70b9c6
Remove an unused variable.
2000-02-04 07:48:11 +00:00
explorer
4a5667f967
undo part of the previous commit. I'll just steal the code from freebsd,
...
to minimize differences between the drivers.
2000-02-04 06:22:52 +00:00
chopps
9ff702157c
doh, remove debugging leftover (forcing irq 15 to always be avail).
2000-02-04 05:30:55 +00:00
enami
af9710cf6e
Disestablish an interrupt if failed to enable the card.
2000-02-04 04:54:51 +00:00
enami
ed0f41807d
- Call if_deactivate instead of smc91cxx_disable when deactivating.
...
- Fix typo in comment.
2000-02-04 04:05:50 +00:00
tsubai
a09eb087b6
Treat "chaos" like a bandit.
2000-02-04 03:40:42 +00:00
enami
6f28840935
Remove no longer necessary old code.
2000-02-04 03:40:00 +00:00
enami
3ff6804bdd
Release the resource on attach failure.
2000-02-04 03:38:06 +00:00
explorer
de4f36ae63
Add encryption structure definitions -- it's interesting tht the gold card
...
has 128 bit encryption, but the key space is 14 * 8 bits, or 112 bits...
I wonder where the other 16 bits comes from?
2000-02-04 02:03:02 +00:00
cgd
942a54e0c1
replace the *_lookup table entry match/lookup functions in all of
...
these drivers with a single common function (which supports tables
of variable-sized structures). Things are mostly as they were before:
tables are terminated by entry with NULL name, etc. There's also
the ability to call a driver-specific match function which can be used
to augment the table lookup.
2000-02-04 01:27:12 +00:00
cgd
dd84ecc7ac
Implement ratecheck(), a function which can help programmers implement
...
rate-limited actions. See ratecheck(9) for details of its use.
2000-02-03 23:04:45 +00:00
enami
0bff6e573a
Cosmetic change; use IRQUNK instead of -1 always.
2000-02-03 23:03:11 +00:00
cgd
dff236064f
collect all of the forward struct definitions in one place, and then
...
sort -u them. (there were duplicates, some even duplicating those at the
top of the file!)
2000-02-03 22:44:11 +00:00
chopps
71d64756c2
wrap optimized copy routines in an ifdef
2000-02-03 21:27:35 +00:00
dante
834e04377c
Remove ADW_*_DISABLE options. Now they are described in the adw.4 man page
2000-02-03 20:31:42 +00:00
dante
cbacaf54d7
Add AdvanSys U2W (LVD) boards support
2000-02-03 20:28:26 +00:00
itojun
ccba141601
add notice on site-locals. typo fix. (sync with kame)
2000-02-03 19:57:13 +00:00
drochner
f458367b3f
cosmetics: remove double semicolon, whitespace
2000-02-03 19:53:03 +00:00
cgd
11ee920b54
rename printf.c to winprintf.c, nuke inclusion of libsa's printf.c
...
in winprintf.c, and directly include libsa's printf.c in the project.
2000-02-03 19:46:21 +00:00
cgd
dd74df567d
no more need for one-liners to include libsa .c files. just name them
...
directly in the project file.
2000-02-03 19:32:37 +00:00
itojun
af14db5a91
- if_detach
...
- xx_control calls from interrupt thread should be removed
- LP64
2000-02-03 19:29:20 +00:00
cgd
ed17755cec
clean up lists: get rid of bogus extra spaces, backslash -> slash
...
(vc doesn't care, in paths of source files), sort, etc.
2000-02-03 19:27:56 +00:00
tsubai
e29a886cd6
* Split bandit and grackle.
...
* Add UniNorth support.
Now pcibus is attached like:
bandit0 at mainbus0
pci0 at bandit0 bus 0
...
2000-02-03 19:27:43 +00:00
cgd
ff6ae74e98
tolerate newlines in the list variables, and clean up the config files
...
to match. no more ridiculously long lines, now!
2000-02-03 19:16:47 +00:00
itojun
b89812ff7f
- Don't reuse ip6 header portion as reassembly pointer, to be friendly
...
with LP64 arch. (not tested on LP64, sorry)
- add comment on reass rule
- some other cleanups
NetBSD PR: 9340
From: iwamoto@sat.t.u-tokyo.ac.jp
(in sync with kame)
2000-02-03 18:13:01 +00:00
dante
fd2fd888ef
Add AdvanSys U2W host adapters
2000-02-03 16:56:23 +00:00
dante
787999d9e4
Add AdvanSys U2W boards
2000-02-03 16:51:42 +00:00
itojun
579e538de0
fix promisc mode for smc91cxx again.
2000-02-03 16:20:49 +00:00
kleink
82464e46d6
Add a C99-style va_copy macro.
2000-02-03 16:16:06 +00:00
joda
5b67628108
regen
2000-02-03 13:58:55 +00:00
joda
1533d39d9e
2 Micro -> O2 Micro
2000-02-03 13:58:28 +00:00
itojun
03993c84d3
use u_int16_t, not u_short, for port #.
2000-02-03 13:17:39 +00:00
itojun
54cb3be873
remove #if 0'ed code
2000-02-03 12:50:05 +00:00
itojun
8fdf90f0ff
remove old #if 0'ed portion
2000-02-03 12:49:15 +00:00
itojun
323f8904e5
s/splnet/splsoftnet/
2000-02-03 12:13:50 +00:00
abs
052fdc75bc
regen
2000-02-03 10:22:34 +00:00
abs
89c5ba9f00
Add Linux fsuid system calls - from Witold J. Wnuk in PR kern/9335
2000-02-03 10:02:59 +00:00
enami
7e89ba1946
Remove duplicated PF_INET6 definition.
2000-02-03 09:23:03 +00:00
enami
1102c5ed1d
Remove temporary workaround for hpcmips. Now it works without it.
2000-02-03 09:00:39 +00:00
enami
d6554f3e25
Cosmetic changes; remove unnecessary semi-colon.
2000-02-03 08:59:20 +00:00
enami
d6df5ce334
Make the product lookup table driven.
2000-02-03 08:52:21 +00:00
enami
f1ce315cc0
Regen.
2000-02-03 08:26:33 +00:00
enami
fc92de5f92
Add an entry for Icom WAVEMASTER SL-200.
2000-02-03 08:25:55 +00:00
nisimura
c6641d91a8
Merge IOASIC register definitions.
2000-02-03 08:13:44 +00:00
thorpej
44a20a6c96
If we read a bad header signature, report what we read.
2000-02-03 06:47:31 +00:00
thorpej
5802ccb9c9
In ahc_intr(), if initialization failed, don't try to service the
...
interrupt.
2000-02-03 06:25:09 +00:00
thorpej
a084fd2f81
Some PHYs go off into left field for a few seconds if you attempt to kick
...
autonegotiation while it's already enabled.
2000-02-03 06:11:13 +00:00
chopps
68a7084f0c
attempt to make this more like the std indicates
2000-02-03 06:07:06 +00:00
enami
20522c36ed
Detach MII if there is.
2000-02-03 06:03:39 +00:00
thorpej
9ff57fe506
Oops, missing return;
2000-02-03 05:38:57 +00:00
nisimura
f3837e8a9d
Not to use (cfdata->cf_unit > 0) conditional in device match() routine.
2000-02-03 05:22:47 +00:00
nisimura
8e27abd255
Use bus_space_{write,read} for IOASIC register access.
2000-02-03 05:16:30 +00:00
nisimura
d60c22d5f7
Nuke mistakenly introduced #include "rasterconsole.h".
2000-02-03 04:23:36 +00:00
nisimura
72b67dec3e
Massive change of console initialization to make WSCONS transition easier.
2000-02-03 04:19:59 +00:00
nisimura
3aaeaf7331
- Massive change of console initialization. Have each model its own
...
consinit().
- Fix fbconnect() and relatives; 'struct fbinfo' is initialized only once,
making sure no extraneous console resolution message is emitted.
2000-02-03 04:09:01 +00:00
cgd
8d0ed726af
nuke inclusion of compat.h
2000-02-03 03:21:52 +00:00
cgd
00e405865e
nuke inclusion of compat.h, fix typo in comment about #ifdef
2000-02-03 03:21:23 +00:00
cgd
239dc2e799
add __STDC__ to CPP define list
2000-02-03 03:20:33 +00:00
cgd
c84d83a616
nuke inclusion of compat.h
2000-02-03 03:20:03 +00:00
cgd
19c2a289e7
add bzero.c to file list, add __STDC__ to CPP define list
2000-02-03 03:19:11 +00:00
cgd
ce844666c1
stub to pull in libsa bzero.c
2000-02-03 03:18:28 +00:00
cgd
3772a52ffc
just use __int64 and unsigned __int64 rather than *INT64TYPE
2000-02-03 03:17:23 +00:00
cgd
63a0836e51
instead of just going on as normal if __RENAME() is used in kernel
...
(_KERNEL) or standalone (_STANDALONE) files, replace it with some
text that'll cause an error. __RENAME() should never be used in
the kernel (there's no need, at least, with the current way of doing
things), and is downright annoying in standalone code. (In a standalone
build environment, there may be no sane way to do symbol renaming,
which means that even just faking it and defining it to emptyness
would cause problems if it were actually needed.)
2000-02-03 02:20:13 +00:00
cgd
fefea44b6f
tread _STANDALONE like _KERNEL: don't rename bswapNN functions
2000-02-03 02:03:12 +00:00
cgd
e7b7c3eb15
don't provide these prototypes for standalone programs (as noted by
...
_STANDALONE):
* most of them are absolutely irrelevant, and not provided in a standalone
environment!
* those which are relevant and provided (stat() and fstat()) shouldn't be
__RENAME()d in the standalone environment.
2000-02-03 02:01:53 +00:00
cgd
fbf9177d1b
provide stat() and fstat() here for standalone programs' use
2000-02-03 02:00:31 +00:00
thorpej
22fe15d7b4
Let mii_phy_setmedia() handle the IFM_AUTO case, too.
2000-02-02 23:34:56 +00:00
thorpej
c1185c1020
PRU_PURGEADDR -> PRU_PURGEIF, per a discussion w/ itojun. In the IPv4
...
and IPv6 code, also use this to traverse PCB tables, looking for cached
routes referencing the dying ifnet, forcing them to be refreshed.
2000-02-02 23:28:08 +00:00
augustss
eff80a379b
Due to popular demand (hi Bernd), comment out the CardBus entries.
...
Appearently it doesn't work for some chipsets. I think the right way
to fix this would be to only let cbb attach to the working chipsets...
2000-02-02 20:39:35 +00:00
augustss
9e8d441535
Add CardBus support. If it breaks anything, I'm sure we'll know soon. :)
2000-02-02 20:17:13 +00:00
augustss
de5a3532be
Fiddle with some PHY bits on the D-Link adapter as well. From FreeBSD.
2000-02-02 20:06:55 +00:00
augustss
4369c3338a
Change the size of the PCMCIA controller memory window to 64K. Several
...
of the radio LAN cards need it.
2000-02-02 19:48:18 +00:00
chopps
a5dc628e12
manipulate packet counters, support detach, and add commented out code to
...
DTRT on suspend
2000-02-02 18:39:44 +00:00
thorpej
99f19b7139
Wrap a debugging printf in IFAREF_DEBUG.
2000-02-02 18:02:08 +00:00
itojun
8a6ced5516
make sure to nuke kludge entries, regardless from refcnt.
2000-02-02 17:54:07 +00:00
thorpej
8923ca0b00
Make PHY drivers provide a pointer to their status routine, and add
...
a generic mii_phy_status() that calls back into the PHY. It doesn't
do anything interesting yet, but it will soon.
2000-02-02 17:50:43 +00:00
thorpej
94b1e4084a
Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
...
flags down from the parent to child vi mii_attach().
2000-02-02 17:46:42 +00:00
thorpej
eed75dbc26
Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
...
flags down from the parent to child vi mii_attach().
2000-02-02 17:09:38 +00:00
itojun
f5fba17f1b
implement in6_purgemkludge(). in6_ifdetach() calls it to avoid dangling
...
kludge entries. the situation would occur if you take the following steps:
- join multicast groups (default ones like linklocal all-node is fine)
- remove all IPv6 addresses manually
- remove pcmcia card
to thorpej: pls call in6_ifdetach() when PRU_PURGEIF is raised (just before
removing ifnet). it should do the right thing (unable to perform real test
though)
2000-02-02 16:58:10 +00:00
danw
9cf3b29a57
Make the device_register code work on machines with multiple PCI bridges
...
with the same bus number (like the new G4s). Also, don't hardcode the
size of the pci_bridges array.
2000-02-02 16:41:56 +00:00
itojun
b2cac6e684
if_detach for sm/pcmcia.
...
with addition of resource allocation flags in softc (to DTRT on detach).
2000-02-02 16:04:40 +00:00
minoura
93d494f9a5
Take care of National Geode (Cyrix MediaGX) built-in clock module bug.
...
Patch supplied by INOUE Yoshinari <pf5y-inue@asahi-net.or.jp>, kern/8654.
2000-02-02 15:26:27 +00:00
enami
586595e6d4
Make irq probing controled by patchable variable and disable on hpcmips
...
by default. It doesn't work on hpcmips.
2000-02-02 14:44:09 +00:00
enami
f7096eef97
Fix typo; not PCIC_DEBUG but PCICDEBUG.
2000-02-02 14:23:48 +00:00
itojun
6f13dac00f
remove route to link-local allnodes multicast address (ff02 ❌ :/32),
...
when the last IPv6 address on an interface is get removed.
in6_ifattach() configures it and in6_ifdetach() removes it.
XXX last part of in6_purgeaddr looks very ugly, but there's no event for
"interface detach" (events are for "address detach").
2000-02-02 13:44:05 +00:00
augustss
cee0dfa2d5
Add rnd_source.
2000-02-02 13:22:07 +00:00
augustss
c9d8358135
Generate usb events on attach and detach.
...
Clean up detach a little.
2000-02-02 13:21:25 +00:00
augustss
3a1229e779
Generate usb events on attach and detach.
2000-02-02 13:20:59 +00:00
augustss
aae9ac7e11
Generate usb events on attach and detach.
...
Handle rnd stuff correctly.
2000-02-02 13:19:44 +00:00
augustss
4b93911b25
Generate usb events on attach and detach.
2000-02-02 13:18:45 +00:00
itojun
7a7a3bcfdf
handle attach failure in ne/pcmcia more carefully. (otherwise we'll
...
have trouble on detach)
2000-02-02 13:06:15 +00:00
itojun
7aa608e563
handle attach failure in more detail. make sure to
...
pcmcia_function_disable() on failure.
2000-02-02 13:02:56 +00:00
itojun
4e1b4b724b
implement cnw_detach.
...
XXX it looks that whenever there's error-return in xx_attach,
we need to have some check in xx_detach(). otherwise, routines such as
ether_ifdetach() will be called without call to ether_ifattach().
2000-02-02 12:25:13 +00:00
augustss
b10d6a6fc0
Support detach.
2000-02-02 11:42:29 +00:00
itojun
f4e8883ccd
use a bit more standard (sys/device.h) prototype for {dp8390,ne2000}_detach().
2000-02-02 11:41:56 +00:00
itojun
2b4766a6b2
enami's fix to dp8390 did the trick, it does not hang up any more.
...
enable detach routine by default.
2000-02-02 11:17:32 +00:00
augustss
a5f7a2c791
Detach rnd source in ep_detach(). Check for DVF_ACTIVE in epintr();
2000-02-02 11:00:48 +00:00
enami
60e57afedd
- Check also DVF_ACTIVE bit in dp8390_intr.
...
- Delete ifmedia instances on detach.
2000-02-02 10:50:56 +00:00
enami
a54d060a1c
Unhook the entropy source on detach.
2000-02-02 10:45:12 +00:00
enami
500a12d2e5
- No need to wait in pcic_chip_socket_disable. It was intended to keep
...
some period between disable and enable in spec, but is done in
pcic_chip_socket_disable. And we also disable socket in pcic_deactivate_card,
we should do it in another way if it is really necessary.
- Shorten the wait message so that ps(1) and ps in ddb be happy.
- Replace newly added long delay with sleep.
2000-02-02 10:31:45 +00:00
enami
e16a469c8f
Cosmetic changes.
2000-02-02 10:19:51 +00:00
itojun
17f5887294
implement if_detach code for ne/pcmcia.
...
XXX still incomplete, ne_pcmcia_detach() commented out for safery - please test
2000-02-02 10:00:06 +00:00
enami
a909d816d2
Add detach support.
2000-02-02 09:34:51 +00:00
enami
9cb8699ba1
Revoke bpf device on detach.
2000-02-02 09:03:41 +00:00
augustss
e4c766e299
Make sure to untimeout() things on detach.
2000-02-02 08:57:51 +00:00
augustss
82559ba682
Move detach operations around a little to simplify (and perhaps get it
...
right?). Prompted by Jason, itojun and myself.
2000-02-02 08:41:00 +00:00
enami
983b6de129
Since we are allowed to wait, no need to check the return value.
2000-02-02 08:36:02 +00:00
thorpej
2af8db77c9
Grumble, forward decl for struct ifaddr.
2000-02-02 08:14:20 +00:00
itojun
f781f298a6
remove ns_purgeaddr() prototype - it's in netns/ns_var.h (added by thorpej)
2000-02-02 08:09:57 +00:00
augustss
4a6ae7bdfc
Get rid of shutdown hook and attached media on detach.
2000-02-02 08:08:50 +00:00
thorpej
b2408b62bf
Add missing prototype for ns_purgeaddr().
2000-02-02 08:06:49 +00:00
thorpej
84dc99fdea
Bring some order to the chaos which was the MII code function naming
...
"conventions".
2000-02-02 08:05:26 +00:00
augustss
ea45df4d30
Make sure to get rid of shutdown hook and ttach media on detach.
2000-02-02 08:00:21 +00:00
itojun
af1d56129f
wrap bpfdetach() with NBPFILTER > 0.
2000-02-02 07:47:33 +00:00
enami
19bff8f913
Remove duplicated forward declarations.
2000-02-02 07:45:13 +00:00
augustss
481e8339dc
Change the USB event mechanism to include more information about devices
...
and drivers. Partly from FreeBSD.
2000-02-02 07:33:59 +00:00
augustss
0151072444
Make ep driver detachable.
2000-02-02 07:23:28 +00:00
augustss
2c371af454
Make ray driver detachable.
2000-02-02 07:22:06 +00:00
itojun
2111a79d6a
add missing prototype for if_detach.
2000-02-02 05:07:57 +00:00
chopps
ea37d51548
do something more like pccbbs chip_enable. don't enable interrupts
...
until we have everything else setup..
2000-02-02 04:45:21 +00:00
thorpej
0738a5d4ac
Driver for the Davicom DM9101 10/100 Ethernet PHY. This PHY is found
...
on several inexpensive 10/100 Ethernet boards (e.g. D-Link DFE-530TX,
Winbond 10/100 boards), and is also the built-in PHY on the DM9102
10/100 Ethernet chip.
2000-02-02 04:29:49 +00:00
thorpej
e1aef0ac87
If there is no BIOS32 present, don't try to call into it.
2000-02-02 04:09:37 +00:00
shin
62bc319e2c
add '#ifdef VR41X1' for TX3900.
2000-02-02 03:14:31 +00:00
thorpej
dcc6a1beb0
Bump version to 1.4R -- PRU_PURGEADDR, and slightly more stringent semantics
...
on ifaddr reference counting.
2000-02-01 23:00:41 +00:00
chopps
4483fc0f5f
restore irq 10 to pcic_isa_intr_alloc_mask
2000-02-01 22:56:17 +00:00
thorpej
001748dc57
First cut at detach support; doens't fully work yet.
2000-02-01 22:54:47 +00:00
thorpej
db8dc44033
Add support for detaching the interface.
2000-02-01 22:53:14 +00:00
thorpej
d844a3ac41
First-draft if_detach() implementation, originally from Bill Studnemund,
...
although this version has been changed somewhat:
- reference counting on ifaddrs isn't as complete as Bill's original
work was. This is hard to get right, and we should attack one
protocol at a time.
- This doesn't do reference counting or dynamic allocation of ifnets yet.
- This version introduces a new PRU -- PRU_PURGEADDR, which is used to
purge an ifaddr from a protocol. The old method Bill used didn't work
on all protocols, and it only worked on some because it was Very Lucky.
This mostly works ... i.e. works for my USB Ethernet, except for a dangling
ifaddr reference left by the IPv6 code; have not yet tracked this down.
2000-02-01 22:52:04 +00:00
chopps
d8e72e215d
implement probing for available irqs on non-cirrus pcmcia controllers
...
including cardbus controllers running in pcic mode
2000-02-01 22:39:51 +00:00
veego
064dbd29ad
Only print one 'IP Filter:' line when it gets enabled or disabled.
2000-02-01 21:41:36 +00:00
jdolecek
88a4a819b8
When renaming a file, make sure apporpriate vnode cache entry is
...
purged if a file system entry is removed. Fixes part of kern/8037.
Reviewed by: Wolfgang Solfrank
Tested by: jdolecek
2000-02-01 21:33:57 +00:00
veego
b3bffdf856
Resolve conflicts.
2000-02-01 21:29:15 +00:00
thorpej
9069b40366
Add a sanity check to ensure that a region being free()'d is actually
...
within the KVA range malloc() would return.
2000-02-01 19:37:58 +00:00
thorpej
0cf304bb45
Always use BWX for bus access on Pyxis chips.
2000-02-01 19:29:28 +00:00
thorpej
474894e5f6
Fix a bug in cpu_switch() introduced with the MIPSX_CPU_IDLE changes; we
...
have a 1 instruction delay after a load before the register contents are
valid on the R2000/R3000.
2000-02-01 18:49:03 +00:00
thorpej
1247bea5c2
No need for mips_locore_jumpvec to be initialized data.
2000-02-01 18:38:50 +00:00
soren
f43a171804
Match PNP0510 as well.
2000-02-01 18:33:22 +00:00
augustss
e7f114ba6d
Make sure to use delay() in usb_delay_ms() while cold booting.
2000-02-01 17:46:17 +00:00
jdolecek
c4d3702f61
msdosfs_lookup(): reformat some debug printf slighly to make them more readable
2000-02-01 13:59:34 +00:00
jdolecek
d69188d4e8
msdosfs_inactive(): correct debug printf to only claim MNT_RDONLY is set
...
if it's so
2000-02-01 13:55:23 +00:00
jdolecek
0e45514ac9
make compilable with MSDOSFS_DEBUG (adapt to usecount & writecount size change)
2000-02-01 10:33:18 +00:00
enami
11264e95ef
Regen.
2000-02-01 10:21:00 +00:00
enami
ad68157d83
Add an entry for Melco WLI PCM (but driver isn't available yet).
2000-02-01 10:19:51 +00:00
enami
25b484e01a
Pass an appropriate value as alignment (0 is not such a value).
2000-02-01 10:12:04 +00:00
enami
d549d0992b
Rearrenge code a bit for the sake of another device.
2000-02-01 10:00:41 +00:00
enami
db644f36ea
Cosmetic changes.
2000-02-01 08:58:25 +00:00
enami
98ba9b6a65
Sync awi_pcmcia_get_enaddr with mbe_pcmcia_get_enaddr.
2000-02-01 08:52:05 +00:00
enami
f06ba20199
RCS Id police.
2000-02-01 08:43:25 +00:00
enami
82cf6568cf
Sync wi/ if_wavelan_ieee.h version 1.4 of FreeBSD.
2000-02-01 08:23:37 +00:00
enami
19aa9f2cbb
The workaround for Hagiwara SYS-COM Compact Flash card is no longer necessary.
2000-02-01 06:48:15 +00:00
enami
a945b488ae
Regen.
2000-02-01 05:51:31 +00:00
enami
032ef78e07
Print more detailed name for Corega ethernet cards.
2000-02-01 05:50:18 +00:00
augustss
6393288539
Put some #ifdefs around power and shutdown hooks.
2000-02-01 05:42:52 +00:00
enami
3669884c32
Factor out a common functionality into a subroutine.
2000-02-01 05:28:01 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
mhitch
a50bf9a39a
Include word access methods with stride 4.
...
Add a byte-swapping access_method array for use with MI wdc driver.
XXX Currently only read_multi_2 and write_multi_2 are used by MI wdc code;
XXX The other byte-swapping routines still need to be added.
2000-02-01 05:21:24 +00:00
mjacob
d166ec2056
Do not forget to init intr_private
2000-02-01 04:14:18 +00:00
danw
33051e5117
Use device_register to find the boot device more reliably. Should now work
...
on anything it's possible to boot from that we have a driver for.
2000-02-01 04:04:17 +00:00
danw
aedaba9bc9
add strtoul
2000-02-01 04:02:59 +00:00
danw
f77befbc84
#define __HAVE_DEVICE_REGISTER on ports that have it, and check for
...
that, rather than a list of architecture defines, in config_attach
2000-02-01 04:01:19 +00:00
nisimura
be6d4a9d34
Fix chrtoblktbl[] array to reflect reality.
2000-02-01 02:59:30 +00:00
nisimura
5b465690f2
Have .set mips3 directive to make it consistent with other *.S files.
2000-02-01 02:30:20 +00:00
assar
a49e53d3df
(sys_open, sys_fhopen): remove declaration of vnops, now in
...
<sys/file.h>
2000-02-01 01:24:38 +00:00
assar
e4b59906e1
(exec_script_makecmds): remove declaration of vnops, now in
...
<sys/file.h>
2000-02-01 01:23:29 +00:00
assar
5b428483d9
add declaration for `vnops'
2000-02-01 01:22:45 +00:00
thorpej
33e8c5b1df
Improve the readability of one small piece of code.
2000-02-01 00:18:29 +00:00
itojun
ae788a8a43
sync with current code. now IMPLEMENTATION doc is almost identical
...
to the latest KAME one.
2000-02-01 00:15:22 +00:00
thorpej
3b5706e2e5
Fix a couple of whitespace glitches.
2000-02-01 00:07:50 +00:00
thorpej
637a2eee6e
Use ifatoia() and sintosa() consistently, rather than using home-grown
...
casting macros intermixed.
2000-02-01 00:07:09 +00:00
thorpej
1cb24101b9
Small amount of cosmetic cleanup.
2000-02-01 00:05:07 +00:00
thorpej
3bf4c0f68b
Small cleanup.
2000-02-01 00:02:01 +00:00
thorpej
af62350e32
Un-obfuscate a small bit of code.
2000-02-01 00:00:22 +00:00
thorpej
891a2a9719
Implement bpfdetach().
2000-01-31 23:06:12 +00:00
mhitch
1d24598795
Add check for wdc [MI wdc support].
...
Move 'cd' device back to end of the genericconf table - we want to check
the 'wd' device before the 'cd' device.
2000-01-31 22:51:53 +00:00
mhitch
f12b50fc81
Add the wd devices for MI wdc IDE drive support.
2000-01-31 22:49:12 +00:00
eeh
64f779675a
Fix a couple more references to STRIPPROG.
2000-01-31 22:47:11 +00:00
mhitch
97107f760d
Add the config information for the MI wdc support.
2000-01-31 22:47:07 +00:00
mhitch
554647f636
Semicolons in the 32-bit macros aren't nice.
...
Add a stride-4 with swapping bus_space_method for use by MI wdc.
2000-01-31 22:43:36 +00:00
augustss
daa36b1b58
Rename TAILMASK to HEADMASK, since it really masks the head pointer.
...
From FreeBSD.
2000-01-31 22:35:13 +00:00
augustss
cc46ffeb91
Change where the has table for physical-to-virtual address translation
...
is handled. Partly from FreeBSD.
2000-01-31 22:09:13 +00:00
augustss
964e21e33a
Use ${RM}
2000-01-31 21:08:11 +00:00
augustss
ae4bbc4485
Fiddle with over-current protect when turning on port power to make
...
things work for some OHCI controllers.
2000-01-31 20:17:25 +00:00
augustss
c9aa323521
Change the way the HC done method is invoked a little.
2000-01-31 20:13:07 +00:00
kleink
09dd6fc81d
Make these build again after buf.h/disksort changes.
2000-01-31 19:04:52 +00:00
thorpej
547bd53f89
Add support for the SiS 7016.
2000-01-31 18:36:12 +00:00
thorpej
f457f7c969
Regen.
2000-01-31 18:34:51 +00:00
thorpej
a2efc77ee1
Add SiS 7016 10/100 Ethernet.
2000-01-31 18:34:19 +00:00
christos
3cb8a24438
Regen
2000-01-31 16:41:20 +00:00
christos
7ccc44e6f7
__semctl13 -> ____semctl13
2000-01-31 15:59:58 +00:00
christos
72ff1dee2f
Regen
2000-01-31 15:53:46 +00:00
christos
44b3655e9d
__semctl13 -> ___semctl13
2000-01-31 15:53:01 +00:00
soda
e44d6b7781
ELF*_MACHDEP_ENDIANNESS was undefined.
2000-01-31 15:51:35 +00:00
soda
f227455441
make "make build" work
2000-01-31 15:50:13 +00:00
christos
3d9c5d0450
Regen
2000-01-31 15:13:24 +00:00
christos
3cbe025990
__semctl13 -> ____semctl13 because this now is not called directly.
...
The fourth argument to it is a pointer to union semun not union semun,
because passing structs and unions to syscalls cannot be handled portably.
2000-01-31 15:12:30 +00:00
pk
00ba4de9e2
Add `si' and `sw' controllers to device_register() tables.
2000-01-31 15:08:25 +00:00
itojun
1a2a1e2b1f
bring in latest KAME ipsec tree.
...
- interop issues in ipcomp is fixed
- padding type (after ESP) is configurable
- key database memory management (need more fixes)
- policy specification is revisited
XXX m->m_pkthdr.rcvif is still overloaded - hope to fix it soon
2000-01-31 14:18:52 +00:00
takemura
dbbc9025d2
Add 'Reverse Video' check box.
...
Now 'Black-on-White screen is default.
2000-01-31 12:45:29 +00:00
shin
fdd3f14b2a
add BTN_COVER for MC-R700, MC/R730.
2000-01-31 11:44:01 +00:00
bouyer
425e99ac00
Check that we can handle the inode size before mounting the fs, and correct
...
a return value.
2000-01-31 11:34:55 +00:00
itojun
63fd2c0262
destination port == 0 is illegal based on RFC768.
...
(NetBSD PR: 9137 - I thought I committed this already but I wasn't)
2000-01-31 10:39:26 +00:00
itojun
9b7c3e737a
be proactive about malicious packet on the wire. we fear that v4 mapped
...
address to be used as a tool to hose security filters (like bypassing
"local host only" filter by using ::ffff:127.0.0.1).
2000-01-31 10:33:22 +00:00
haya
2e9b49c888
Force power off when a CardBus card is detached.
...
Use tsleep when kernel thread works.
2000-01-31 08:49:07 +00:00
thorpej
a72f993570
When possible, use ring mode for descriptors. Not only is this slightly
...
more efficient on genuine DEC chips, but some clones apparently Lose Badly
if you use chain mode. To further complicate things, some clones *only*
do chain mode, so make this whole mess conditional.
2000-01-28 23:23:49 +00:00