summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
1997-03-21Instead of explicit extern, include the include file which should do itNiklas Hallqvist
1997-03-21Make ddb variables long (for 64bit archs). from netbsdNiklas Hallqvist
1997-03-21NetBSD sync to sth like 970218Niklas Hallqvist
1997-03-21Add the bus_space_{read,write}_raw_multi_[248] extensionsNiklas Hallqvist
1997-03-2164-bit clean. if_ed.c now works on alpha.Niklas Hallqvist
1997-03-20update for adaptec supportchuck
1997-03-20MAJOR CHANGES: [contributed by Chuck Cranor <chuck@ccrc.wustl.edu> andchuck
Anne Hutton <hutton@isi.edu>]: - add support for Adaptec 155 PCI ATM cards (e.g. ANA-5940) - add sc->is_adaptec to handle differences between cards. - break out MID_MK_TXQ/MID_MK_RXQ seperate macros to handle the new Adaptec format TXQ/RXQ. - adjust en_dqneed to return 1 on ADP (since the Adaptec can DMA anything in one DRQ/DTQ!) - add hook for a bus specific reset function (adaptec has a seperate reset register that needs to be hit when resettting the midway). - adjust DMA test to not worry about burst sizes on the adaptec (since it handles it all for us!) and to handle the new DTQ/DRQ format. - add Adaptec DMA support to en_txlaunch() and en_service() BUG FIXES: - fixed receiver panic under heavy load ("lost mbuf in slot 0!"). when the reassembly buffer overflows, the T-bit is set in the RDB and the data field is empty. en_service() sets up a 4-byte (RDB size) dummy DMA without IF_ENQUEUE. but the recv intr handling in en_intr() always does IF_DEQUEUE. as a result, a successive recv intr loses its mbuf and leads to a panic. the solution is to only IF_DEQUEUE if the interrupt has non-zero length (indicating that there is an mbuf to get). in order for this to work, EN_DQ_MK must always be non-zero. we do this by or'ing in an unused bit (0x80000). reported by: Kenjiro Cho <kjc@csl.sony.co.jp> - fix setting of transmit channel when txspeed[] is non-zero (e.g. traffic shaping). the old scheme didn't work properly (it allowed the same VCI to use multiple tx channels thus defeating the txspeed[] parameter). the new scheme statically assigns a VC to a channel when txspeed[] is set. [note that the code to set txspeed[] isn't in the driver right now since a MI interface to do this hasn't been made yet] we add sc->txvc2slot[] and sc->txslot[n].nref for this. reported by: Kenjiro Cho <kjc@csl.sony.co.jp>, Milind M Buddihikot <milind@ccrc.wustl.edu>, Dong Lin <dong@eecs.harvard.edu> - if aal5 frame has a CRC error then the length field in the aal5 trailer may not be valid, so we can not use it [and we must dump the frame] contributed by: Yuhang Sun <sunyh@dworkin.wustl.edu> & chuck - when doing SRAM copies, be sure to round up the length to the next largest word (otherwise the driver will try to do a byte clean up DMA and then get an ID error interrupt). MINOR CLEANUPS: - add some extra support for a few more versions of FreeBSD contributed by: Kenjiro Cho <kjc@csl.sony.co.jp> - clean up loops in DMA test contributed by: Kenjiro Cho <kjc@csl.sony.co.jp> - restructure and cleanup of en_read/en_write macros/inlines - clean up some byte ordering stuff so that we are consistant throughout the driver
1997-03-20regenchuck
1997-03-20 - add Adaptec ATM ID's (0x5900, 0x5905). still trying to find out how theychuck
correspond to the ANA numbers... certainly includes ANA-5940. - add Efficient Nets product 0x0000. according to linux pci.h the 0x0000 is an FPGA version of the midway card and the 0x0002 is the ASIC version.
1997-03-18Bad idea to reset mac68k_vidphys/videorowbytes here.briggs
1997-03-18Handle DAFB better. Only configure if we think a monitor is attached andbriggs
disable interrupts from the bloody card in any case. Also snag video address and rowbytes from the controller, too, just for fun.
1997-03-18Add bus handle and bus tag to grfbus_softc.briggs
1997-03-18From Scott Reynolds <scottr@netbsd.org> (, but compilable ;-)briggs
Some cards we identify as InterLAN cards do not seem to have the MAC address in the configuration ROM. For these, fall back to the old method if we can't find the expected sResource record.
1997-03-17Removed static specifiers. Align bpf headers on sizeof(long) boundariesNiklas Hallqvist
as it begins with a timeval struct. This fixes the alpha bpf panics. Removed double prototypes. Reordered includes. The last change came from NetBSD. Updated $NetBSD$ tags. Slight KNF too.
1997-03-17Flip around Takeshi Yanagisawa's name. Add back a physaccess() call that I ↵briggs
was a bit hasty in removing.
1997-03-17*Blush* It's Denton, not Dennis, Gentry.briggs
1997-03-17Serial console trouble again...Per Fogelstrom
1997-03-17Fix typo.briggs
1997-03-17A couple of cleanup items suggested by is@netbsd.org.briggs
1997-03-17A couple of cleanup items suggested by is@netbsd.org.briggs
1997-03-17Integrate a couple of changes suggested by Scott Reynolds and Takeshi ↵briggs
Yanagisawa.
1997-03-16Slight rearrangement, addition of ROMP values.Jason Downs
1997-03-16allow settimeofday() at securelevel < 2, rather than < 1.flipk
the consensus was that it was too annoying to not be able to change the clock at securelevel == 1.
1997-03-15remove space from tsleep() messagekstailey
1997-03-15AV macs don't have SONIC, they have MACE, and 040 PBs do have SONIC.briggs
1997-03-14add an empty frame.h so that there is one (just like on the arc)Thomas Graichen
1997-03-14Possible fix for SE/30 internal video problems. Thanks to Denny Gentry forbriggs
figuring out what was going wrong there.
1997-03-14Use macro to truncate page.briggs
1997-03-14Updates from Yanagisawa and Denny. This seems to work.briggs
1997-03-13Copy the scanner_type from the quirkdata to the sio for userland to see.kstailey
1997-03-13Add scanner_type and compute_sizes() to quirks.kstailey
Adjust attach() messages for scanners with quirk table entries.
1997-03-13UMAX SuperVista S-12 also needs a NOLUNS quirk.briggs
1997-03-12Fix a conflict.briggs
1997-03-12The stupid "use console before configured" scheeme strikes again :-)Per Fogelstrom
1997-03-12Need this for arc/pci...Per Fogelstrom
1997-03-12Mips ARC systems (hmmm..) can also have PCI buses...Per Fogelstrom
1997-03-12Add a define for another compatible chip.Per Fogelstrom
1997-03-12Addition of support for a PCI based Vr4300 board from Algorithmics, the P-4032.Per Fogelstrom
Changes to io macros were done to handle sparse bus addressing dynamically. This is a first cut (rough).
1997-03-12Add options LKM.briggs
1997-03-12Remove some more warnings left over from NetBSD's new config.briggs
1997-03-12Remove reference to obsolete SONICSPACE.briggs
1997-03-12Move AF_SIP and put AF_INET6 in the same location as BSD/OS.Jason Downs
I couldn't find any use of AF_SIP in the kernel, didn't check user land.
1997-03-12Move prototype for physaccess.briggs
1997-03-12Fix for bizarre internal framebuffers that don't start on page boundaries.briggs
Dave Huang found this one...
1997-03-12New sn arrangements.briggs
1997-03-12Bring in some fresh SONIC code from Dennis Gentry and Yanagisawa Takeshi.briggs
Much hacked by me to merge and partially busify. Add code that I lost a while back for digging the proper mac address for internal ethernet. Still needs work, but checkpointed--works at least as well as the last version.
1997-03-12cleanup.briggs
1997-03-11Second parameter of *match functions should be void (thank you ISA bus) andgene
*stop functions return int's under OpenBSD. This cleans up a bunch of compile-time warnings for the mac68k.
1997-03-11more about disconnectkstailey
1997-03-11adjust commentskstailey