Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-27 | previous commit ppc machines. has miod been reading tech-kern too much, | Theo de Raadt | |
and is he trying to emulate them? | |||
2007-02-26 | exclude control data from the number of bytes returned by FIONREAD ioctl() | Kurt Miller | |
by adding a sb_datacc count to sockbuf that counts data excluding MT_CONTROL and MT_SONAME mbuf types. w/help from deraadt@. okay deraadt@ claudio@ | |||
2007-02-26 | because sparc has variable pagesize, ctob() varies between machines, and we | Theo de Raadt | |
need uvm/uvm_extern.h to get at uvmexp. oops. | |||
2007-02-26 | An ethernet driver works much better if you program the Tx descriptor ring | Mark Kettenis | |
size in the right bits of the appropriate register. | |||
2007-02-26 | Zero rval[1] in setregs. | Miod Vallat | |
2007-02-26 | Fix Rx FIFO constants. From brad@ | Mark Kettenis | |
2007-02-26 | m_dup1() copies the packet header and allocates the mbuf cluster in the | Claudio Jeker | |
wrong order. M_DUP_PKTHDR needs to be called with an empty mbuf. Allocating an mbuf cluster beforehand is not allowed as the resulting mbuf is no longer considered empty (part of the header is initialized). The correct order is to allocate an mbuf via MGETHDR(), copy the packet header and as last step allocate the cluster. Issue found by JINMEI Tatuya. OK canacar@ deraadt@ mglocker@ additional input itojun@ | |||
2007-02-26 | FPU disabled bit on SH4 is not a ``must be zero'' bit, but userland shall not | Miod Vallat | |
be allowed to fiddle with it anyway. | |||
2007-02-26 | Fix spurious right brace in some decoders, and always print the hex value for | Miod Vallat | |
unrecognized opcodes. | |||
2007-02-26 | Fix typo, allowing this to compile again. Committed over cdcef0 | Chris Kuethe | |
ok millert | |||
2007-02-26 | Finish bcw_radio_default_radio_attenuation(). | Marcus Glocker | |
2007-02-26 | Make the buffer size more reasonable, drop packets that dont fit in buffer. | Dale Rahn | |
2007-02-26 | As we have the PCI softc data now, replace the fake if's with real ones. | Marcus Glocker | |
Add some more debug info. | |||
2007-02-26 | Some KNF. | Marcus Glocker | |
2007-02-26 | Remove PCI powerhooks, bcw_pci_enable() and bcw_pci_disable(). | Marcus Glocker | |
2007-02-26 | We need to save some PCI infos in our softc struct for further decisions | Marcus Glocker | |
in the driver code. | |||
2007-02-26 | Don't enforce RLIMIT_FSIZE on vnd(4) I/O operations, okay deraadt@ | Pedro Martelletto | |
2007-02-26 | This fixes the function names printed in the panic strings so that | Todd T. Fries | |
the correct function names are being used, this is msk(4), not sk(4). from brad@ | |||
2007-02-26 | Revert a portion of rev 1.21, via-cuda behaves exactly opposite of via-pmu, | Gordon Willem Klok | |
if we attempt to clear the wake on ac loss bit just before shutting down it yo-yo's found by claudio@, tested by drahn@ on early imac, and myself on a 9600. ok drahn@ | |||
2007-02-25 | Add cas(4). Ad a few missing comments while there. | Mark Kettenis | |
stolen from deraadt@ | |||
2007-02-25 | Make receiving packets work. Driver works well enough to do the commit over. | Mark Kettenis | |
2007-02-25 | Make integer wrap checks the same for mmap, munmap, msync, etc | Todd C. Miller | |
by factoring most of the checks into a macro. OK otto@ | |||
2007-02-25 | Disable acceleration by default; set device flags to a nonzero value to | Miod Vallat | |
enable. | |||
2007-02-25 | Power on/off cardbus socket at attach/detach time. Makes firmware upload | Marcus Glocker | |
work on my BCM4318 cardbus device now. | |||
2007-02-25 | No need to fillup chip_rev here. | Marcus Glocker | |
2007-02-25 | Calculate number of cores correctly. This is done based on the common | Marcus Glocker | |
core revision. Now my BCM4318 and BCM4306 both get the right number of cores. | |||
2007-02-25 | Adjust var name so cardbus attaches again. | Marcus Glocker | |
2007-02-25 | dmesg should look like devN at busN locators: device info | Theo de Raadt | |
the locators are printed by the bus drivers, rest by the device's driver. | |||
2007-02-25 | Change how we determin if were running on a new world versus old world | Gordon Willem Klok | |
machine for the purposes of printing model information durring boot and the hw.vendor/product sysctls. Turns out the apple didnt use the same format in the early imacs as they did in the latter new world machines resulting in NULL strings as found by drahn@. In this case and all future cases where we dont understand the format the default is to print whats found in the name property without interpertation. ok drahn@ | |||
2007-02-25 | add missing USBD_FORCE_SHORT_XFER checks, put back some code I had for a | Dale Rahn | |
while but removed incorrectly, some minor cleanup. | |||
2007-02-25 | Defines to make isr status more useable. Bit patterns for debug prints. | Dale Rahn | |
2007-02-24 | Get correct chip revision and also get chip package. | Marcus Glocker | |
2007-02-24 | move debug print into debug block. | Dale Rahn | |
2007-02-24 | Add my copyright, since I took the skeleton driver and made it complete. | Dale Rahn | |
More polishing, appears to be working fine without back-to-back transmits. | |||
2007-02-24 | Add myself to copyright since I took the skeleton driver and made it complete. | Dale Rahn | |
Work around a transmit hang problem by setting a delay on transmitting back-to-back packets. Count dropped packets as input errors. Abort pipe if a watchdog occurs to clean up state better. | |||
2007-02-24 | Glue for cas(4). | Mark Kettenis | |
2007-02-24 | Start of a driver for Sun Cassini gigabit ethernet interfaces. Driver can | Mark Kettenis | |
send packets but not receive any yet. | |||
2007-02-24 | Remove unused B_DIRTY, B_PAGET, B_PGIN, B_TAPE and B_UAREA b_flags values. | Miod Vallat | |
2007-02-24 | Fix value typos, sync radio vars with phy vars, add radio default | Marcus Glocker | |
attenuation routine, add temporary debug printfs. | |||
2007-02-23 | Belkin USB to LAN -> Belkin F5D5050 | Jonathan Gray | |
2007-02-23 | regen | Jonathan Gray | |
2007-02-23 | Belkin USB to LAN -> Belkin F5D5050 | Jonathan Gray | |
2007-02-23 | add missing copyright; Constantine | Theo de Raadt | |
2007-02-23 | Add bcw_phy_lo_g_state(). | Marcus Glocker | |
2007-02-23 | Another two missing htoleX() for big endian support. Still more missing | Claudio Jeker | |
but now I'm able to receive packets on macppc. OK mglocker@ | |||
2007-02-23 | Print safari error log register if we get a safari interrupt. | Mark Kettenis | |
2007-02-23 | Establish pci error interrupt after we're done fiddling with schizo's registers | Mark Kettenis | |
instead of when we're halfway through. | |||
2007-02-23 | hide all the things userland should not see, so that this file can be | Theo de Raadt | |
pulled into get at pcireg_t. otherwise it would hit nasty _KERNEL stuff; discussed with miod and dlg | |||
2007-02-23 | if machine has more than 100MB of physmem, default the max table entries | Theo de Raadt | |
to 200,000 instead of the conservative 100,000; ok dhartmei beck tested by ckuethe | |||
2007-02-23 | Add bcw_radio_freq_r3a_value() and complement bcw_phy_initg(). | Marcus Glocker | |