proc_fs 512b read limit on sparc?

From: Ralston, Steve (sralston@lsil.com)
Date: Mon Jun 19 2000 - 21:23:34 EST


Is there some 512 byte limitation when I `cat /proc/{somesuch}`
on sparc64? I thought there was PAGE_SIZE limit (4 Kb?), but...

I'm working on a driver that creates: /proc/mpi/info
When I `cat /proc/mpi/info` on i386 machine I get what I expect,
but output appears to be chopped off at 512 bytes on sparc64 system
(at location of extra # character in output below)

Whatever the apparent limit, what's the proper way to code
around it and get what you need?

Thanks,
-SteveR

--- `cat /proc/mpi/info`
Attached MPI I/O Controllers:
ioc0:
  ProductID = 0x0621
  PortNumber = 1 (of 1)
  LanAddr = 0x(00:a0:b8:04:03:10)
  FWVersion = 0xe609 (Exp 0609)
  MsgVersion = 0x0100
  WhoInit = 0x00
  EventState = 0x00
  CurrentHostMfaHighAddr = 0x00000000
  CurrentSenseBufferHighAddr = 0x00000000
  MaxChainDepth = 0x20 frames
  MinBlockSize = 0x20 bytes
  RequestFrames @ 0xc6c00000 (Dma @ 0x06c00000)
    {CurReqSz=128} x {CurReqDepth=1023} = 130944 bytes ^= 0x20000
    {MaxReqSz=128} {MaxReqDepth=1023}
  Rep#lyFrames @ 0xc6c20000 (Dma @ 0x06c20000)
    {CurRepSz=128} x {CurRepDepth=128} = 16384 bytes ^= 0x4080
    {MaxRepSz=128} {MaxRepDepth=1023}

---

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:18 EST